aix add
Adds skills, MCP servers, rules, or prompts to ai.json (or ai.local.json).
Commands
Section titled “Commands”aix add skill
Section titled “aix add skill”aix add skill <source> [flags]Flags:
--name <name>/-n: Override skill name.--ref <ref>/-r: Git branch/tag/commit.--no-install: Skipaix installafter adding.--local/-l: Add toai.local.json.
Sources:
react(npm packageaix-skill-react)@scope/pkggithub:user/repo./local/path
aix add mcp
Section titled “aix add mcp”aix add mcp <name> [flags]If no command/url is provided, it searches the registry.
Flags:
--command <cmd>: Command to run (stdio).--args <args>: Command arguments.--url <url>: HTTP/SSE URL.--env <vars>: Environment variables (KEY=val,KEY2=val).--no-install: Skipaix installafter adding.--local/-l: Add toai.local.json.
aix add rule
Section titled “aix add rule”aix add rule <source> [flags]Flags:
--name <name>/-n: Rule name.--activation <mode>/-a:always,auto,glob, ormanual.--globs <patterns>/-g: Glob patterns (comma separated).--description <desc>/-d: Description for auto-activation.--ref <ref>/-r: Git branch/tag/commit.--no-install: Skipaix installafter adding.--local/-l: Add toai.local.json.
aix add prompt
Section titled “aix add prompt”aix add prompt <source> [flags]Flags:
--name <name>/-n: Prompt name.--description <desc>/-d: Command description.--argument-hint <hint>: Hint for user arguments.--ref <ref>/-r: Git branch/tag/commit.--no-install: Skipaix installafter adding.--local/-l: Add toai.local.json.