add-agent

add-agent is a skill for Claude Code, Codex from chacosoldier/compabob. It costs 35 tokens per session (454 once invoked), scanned A, original, MIT.

A guided setup process for creating a specialized assistant agent for a particular kind of work. It defines the agent’s purpose, triggers, tools, model, instructions, and routing entry.

In plain words
What is it for?
Use it when you want an agent for a specific job, such as recruiting or product research. It also checks for overlap with existing agents and tests how requests are routed.
Why use it?
It helps add a new focused assistant without manually creating and registering all of its configuration files.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/chacosoldier/compabob/add-agent
Any agent
npx skills add chacosoldier/compabob --skill add-agent
Clone the repo
git clone --depth 1 https://github.com/chacosoldier/compabob

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for add-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/chacosoldier/compabob/add-agent.svg)](https://agentmods.dev/skills/chacosoldier/compabob/add-agent)
Your own site
<a href="https://agentmods.dev/skills/chacosoldier/compabob/add-agent"><img src="https://agentmods.dev/badge/skills/chacosoldier/compabob/add-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 454 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00454
Opus 5 $0.00017 $0.00227
Sonnet 5 $0.00007 $0.00091
Haiku 4.5 $0.00003 $0.00045

Measured 5d ago against content hash cd07b4752655, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

add-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/add-agent/SKILL.md · 27 lines

What it actually says

Add Agent

Create a new agent so the assistant grows with the user's work. This is the main way to customize the kit.

Steps

  1. Ask four things (one short round of questions, not an interrogation):
    • Name — kebab-case, e.g. recruiting or product-research.
    • Purpose and triggers — what it owns, and the phrases or domains that should route to it. This becomes the description, which is what actually drives routing.
    • Tools — the minimum it needs (4 to 6). Advice-only agents get read tools only: Read, Glob, Grep, WebFetch, WebSearch.
    • Modelsonnet is the default; opus for genuinely hard reasoning.
  2. Check for overlap. Read the existing agents in .claude/agents/. If the new agent overlaps an existing one, say so and suggest either editing the existing agent or sharpening both descriptions so routing stays clean.
  3. Scaffold. Copy .claude/agents/_agent-template.md to .claude/agents/<name>.md and fill it in: frontmatter, Purpose, When to use / when not to, Output format, Safety.
  4. Register it. Add a one-line row for the new agent to .claude/agents/_orchestrator-reference.md and to the routing section of CONSTITUTION.md.
  5. Test routing. Suggest two or three prompts that should land on the new agent, and one that should not (to confirm it does not over-trigger).

Principles

  • The description is the routing signal. Write it as "Use for X, Y, Z", and name what it is not for.
  • Keep the tool list minimal. An agent with every tool routes badly.
  • One agent, one job. If it needs a paragraph to describe, it is two agents.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 27 lines · 35 tokens per session scan A cd07b4752655

Subscribe to this mod's changes

add-agent is a skill published in the GitHub repository chacosoldier/compabob (32 stars, last pushed 2mo ago), licensed MIT. It adds 35 tokens to every session and 454 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.