Intelligence add agent
Skill ainova-systems/intelligence-sync/intelligence/sync/skills/intelligence-add-agent
Single source of truth for AI coding rules across Claude Code, Cursor, Copilot, Codex, and more. Write once, sync everywhere.
npx -y skills add ainova-systems/intelligence-sync --skill intelligence-add-agentAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Create new specialized agent
SKILL.md
4.1 KB, as published. Nobody here has run it
Add Agent
Steps
-
Determine domain prefix (the scope is required):
- Reuse the existing domain when one fits: list
intelligence/agents/andintelligence/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. - When no existing domain fits, derive from repo structure:
- Single / root project → use the project codename from
intelligence/config.yaml→project.name - Backend service / API component →
backend- - Frontend / web / UI component →
frontend- - Infrastructure, IaC, CI/CD, deployment →
devops- - Shared library / common / cross-cutting code →
core- - Test suites (e2e, integration) →
tests- - Tool-internal (intelligence-sync itself) →
intelligence-
- Single / root project → use the project codename from
- If the repo is a monorepo with named components (e.g.,
apps/billing,services/auth), prefer the component name as the domain (billing-,auth-). - Every agent needs a domain prefix. If the scope is unclear, ask the user before proceeding.
- Reuse the existing domain when one fits: list
-
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:
- Developer agents:
tier: heavy,access: full - Reviewer/validator agents:
tier: standard,access: readonly - Simple lookup agents:
tier: light,access: readonly - Caveat:
readonly's closed tools list also removes MCP and tool-search access. A reviewer that needs MCP reads takesaccess: fullwith a read-only boundary stated in its body.
- Developer agents:
-
Analyze codebase: Read source files in the domain's directory to determine:
- Technology stack and frameworks
- Architecture patterns
- Build and test commands
- Key conventions and forbidden patterns
-
Create agent: Write
intelligence/agents/<domain>-<role>.mdwith 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
- An agent is thin: who it is, where it stops, how it verifies. Everything else already reaches it.
- Do not tell the agent to read the rules. Rules load on their own: Claude Code loads
.claude/rules/into every custom subagent's startup context alongsideCLAUDE.md(Subagents → What loads at startup), and Cursor / Copilot / Codex / Pi / opencode receive always-on rules inlined inAGENTS.md. ARead intelligence/rules/<domain>.md before startingline duplicates content the agent already has — double the tokens, and a second copy that drifts from the rule it copied. - Point at a rule, never restate it. If you want to copy a rule into the agent, the rule is in the wrong place — move it, do not clone it.
- Do carry what is genuinely the agent's own: its boundaries ("if the app is not running, stop — do not hand-write the output"), its verification commands, its definition of done.
- All content must come from actual codebase analysis.
-
Link existing skills: Find skills in
intelligence/skills/matching this domain prefix and add them to the agent'sskills:frontmatter. -
Run
/intelligence-syncto distribute to all enabled IDE targets.