with one click
intelligence-add-agent
Create new specialized agent
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Create new specialized agent
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Audit the intelligence layer for duplication, drift, size, hardcoded paths and framing
Disable IDE adapter and clean up output
Enable IDE adapter for intelligence-sync
Capture session lessons and apply to intelligence/ after approval
Create new skill
Update or migrate intelligence-sync: discover engine, read changelog, run migration chain, verify
| name | intelligence-add-agent |
| description | Create new specialized agent |
| argument-hint | <domain> [description] |
Determine domain prefix (the scope is required):
intelligence/agents/ and intelligence/skills/. If a domain prefix is already established for the target area (backend-, frontend-, devops-), use it. Introduce a new domain only when the scope is materially different from all existing ones.intelligence/config.yaml → project.namebackend-frontend-devops-core-tests-intelligence-apps/billing, services/auth), prefer the component name as the domain (billing-, auth-).Check existing agents: Read intelligence/agents/ to avoid duplicates. If an agent for this domain exists, ask user whether to update it instead.
Determine tier and access:
tier: heavy, access: fulltier: standard, access: readonlytier: light, access: readonlyAnalyze codebase: Read source files in the domain's directory to determine:
Create agent: Write intelligence/agents/<domain>-<role>.md with frontmatter:
---
name: <domain>-<role>
description: "<when to use this agent - IDEs use this to suggest the agent>"
tier: heavy|standard|light
access: full|readonly
skills:
- <existing-skills-for-this-domain>
---
YAML safety (required): always wrap description (and any other free-text string field) in double quotes, regardless of content. Codex CLI uses strict YAML — an unquoted colon, leading hyphen, or word that parses as boolean (yes, no, true) silently breaks the agent. Quoting unconditionally prevents the entire class of bug. If the value itself contains a double quote, escape it as \" or wrap it in single quotes so an inner quote does not terminate the scalar early.
Write body with sections: Expertise -> Boundaries -> Build & Verify
.claude/rules/ into every custom subagent's startup context alongside CLAUDE.md (Subagents → What loads at startup), and Cursor / Copilot / Codex / Pi / opencode receive always-on rules inlined in AGENTS.md. A Read intelligence/rules/<domain>.md before starting line duplicates content the agent already has — double the tokens, and a second copy that drifts from the rule it copied.Link existing skills: Find skills in intelligence/skills/ matching this domain prefix and add them to the agent's skills: frontmatter.
Run /intelligence-sync to distribute to all enabled IDE targets.