Recently Written · git

ai-config-render

Render one canonical AI-agent config (rules, skills, MCP servers) into Claude Code, Codex, Copilot CLI, Gemini and more

git clone https://github.com/equwal/ai-config-render

Log | Files | Refs


examples/basic/aicr.toml (948 bytes)

1 # Canonical config for aicr. Run: aicr diff --source examples/basic
2 # ${var} comes from [vars] here or from the per-machine file (~/.config/aicr/machine.toml).
3 # Built-in vars: home, home_posix, os (windows|macos|linux), machine.
4 
5 # Enable built-in targets (aicr list-targets shows them). Override any field here.
6 [targets.claude]
7 [targets.codex]
8 [targets.copilot]
9 [targets.gemini]
10 
11 # A new target is just data:
12 # [targets.myagent]
13 # instructions = "${home}/.myagent/RULES.md"
14 # skills = ["${home}/.myagent/skills"]
15 # mcp = { format = "json", path = "${home}/.myagent/mcp.json", key = "servers" }
16 
17 # Rules: rules/<name>.md, or rules/<name>.<target>.md for one target.
18 # Filters on any rule, server, skill or file: targets = [...], machines = [...].
19 [rules.style]
20 [rules.testing]
21 
22 [mcp.filesystem]
23 command = "npx"
24 args = ["-y", "@modelcontextprotocol/server-filesystem", "${projects}"]
25 
26 [skills.commit-message]
27 
28 [vars]
29 projects = "${home}/projects"