You can set default values for commonly used options in a configuration file. This is especially useful in team environments or when you have consistent preferences across projects.
Create ai-rules/ai-rules-config.yaml in the ai-rules directory:
agents: [claude, cursor, cline] # Generate rules only for these agents
command_agents: [claude, amp] # Generate commands for these agents (defaults to agents list if not specified)
nested_depth: 2 # Search 2 levels deep for ai-rules/ folders
gitignore: true # Ignore the generated rules in gitOptions are resolved in the following order (highest to lowest priority):
- CLI options -
--agents,--nested-depth,--no-gitignore - Config file -
ai-rules/ai-rules-config.yaml(at current working directory) - Default values - All agents, depth 0, generated files are NOT git ignored
use_claude_skills: true # Default: falseExperimental toggle to test Claude Code's skills feature. When enabled, rules with alwaysApply: false are generated as separate skills in .claude/skills/ instead of being included in CLAUDE.md. This allows Claude Code to selectively apply optional rules based on context.
See Commands and Skills for more details on skills.