Quick Start
1. Initialize ai.json
Section titled “1. Initialize ai.json”Run aix init in your project root:
aix initThis creates a minimal ai.json:
{ "skills": {}, "mcp": {}, "rules": {}, "prompts": {}}2. Add some configuration
Section titled “2. Add some configuration”Add a rule, a prompt, and an MCP server:
# Add a rule (inline text)aix add rule "Always use TypeScript strict mode" --name typescript-strict
# Add a prompt from a fileaix add prompt ./prompts/review.md --name review
# Add an MCP server from the registryaix add mcp githubYour ai.json now looks something like:
{ "skills": {}, "mcp": { "github": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-github"], "env": { "GITHUB_TOKEN": "${GITHUB_TOKEN}" } } }, "rules": { "typescript-strict": { "content": "Always use TypeScript strict mode" } }, "prompts": { "review": "./prompts/review.md" }}3. Install to your editors
Section titled “3. Install to your editors”aix installaix detects which AI editors you have installed and syncs the config to each one. You’ll see output like:
✓ Cursor — 1 rule, 1 prompt, 1 MCP server✓ VS Code — 1 rule, 1 prompt, 1 MCP server✓ Claude Code — 1 rule, 1 prompt, 1 MCP serverRun aix install again whenever you change ai.json.
4. Preview before applying
Section titled “4. Preview before applying”Use --dry-run to see what aix would write without making any changes:
aix install --dry-runWhat’s next
Section titled “What’s next”- Learn about skills, rules, prompts, and MCP servers
- See the full ai.json reference
- Browse the CLI reference
- Already have editor config? Import it