setup-agents

setup-agents is a skill for Claude Code from ShipWithAI/shipwithai-plugins. It costs 48 tokens per session (939 once invoked), scanned A, original, MIT.

A setup process for adding specialized sub-agents to a project’s .claude/agents folder. It detects project context, suggests suitable agents, and asks for confirmation before writing their configuration.

In plain words
What is it for?
Use it to discover, select, and configure project sub-agents, either from suggestions or by naming a specific agent.
Why use it?
It helps a project use focused assistants for different kinds of work while considering the project’s files, team size, and plan level. It avoids adding configurations without confirmation.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Part of the shipwithai-starter plugin — 13 skills, 4 commands, 1 agent shipped together

Good fit Use it to discover, select, and configure project sub-agents, either from suggestions or by naming a specific agent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shipwithai/shipwithai-plugins/setup-agents
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.

Any agent
npx skills add ShipWithAI/shipwithai-plugins --skill setup-agents
Clone the repo
git clone --depth 1 https://github.com/ShipWithAI/shipwithai-plugins

Made for: Claude Code.

Or install shipwithai-starter, the plugin that ships this one along with the rest of its 13 skills, 4 commands, 1 agent.

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 setup-agents

README.md
[![agentmods](https://agentmods.dev/badge/skills/shipwithai/shipwithai-plugins/setup-agents/github.svg)](https://agentmods.dev/skills/shipwithai/shipwithai-plugins/setup-agents)
Your own site
<a href="https://agentmods.dev/skills/shipwithai/shipwithai-plugins/setup-agents"><img src="https://agentmods.dev/badge/skills/shipwithai/shipwithai-plugins/setup-agents/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup-agents

Your own site · 80×15
<a href="https://agentmods.dev/skills/shipwithai/shipwithai-plugins/setup-agents"><img src="https://agentmods.dev/badge/skills/shipwithai/shipwithai-plugins/setup-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 939 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00048 $0.00939
Opus 5.5 $0.00019 $0.00376
Sonnet 5.5 $0.00010 $0.00188
Haiku 4.5 $0.00005 $0.00094

Measured 2mo ago against content hash 09c74ba857e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup-agents 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 2mo 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.

plugins/starter/skills/setup-agents/SKILL.md · 126 lines

How it starts

The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/setup-agents

Configures .claude/agents/ with specialized sub-agents for the project.

Mode Detection

Read .claude/starter-context.json if it exists
  → Exists: use fields agents_selected, project.type, project.team_size, project.tier — skip suggest
  → Does not exist (standalone): load catalog → detect context → suggest → confirm

Argument Handling

If an agent name is passed directly (e.g. /setup-agents pr-review): skip the suggestion step and go straight to that agent's entry in the catalog.

Context Detection

Load agents-catalog.json. For each entry, evaluate suggestWhen:

  1. files: check whether any listed glob exists in the project root
  2. context: if .claude/starter-context.json exists, evaluate conditions against its fields
    • teamSize > N → read project.team_size
    • tier == N → read project.tier
  3. always: if alwaysInclude is true, suggest unconditionally — present first

In standalone mode without starter-context.json: ask the user for context that cannot be inferred from files (e.g. "How many people work on this project?").

For each suggested agent: show preview → confirm before writing.

How Sub-Agent Context Works

Sub-agents receive only two inputs when invoked:

  1. Their agent file content (system prompt)
  2. The prompt string passed by the main agent at invocation time

They do not inherit the main agent's conversation history or open files.

Two patterns handle this:

Autonomous agents — self-orient by reading project files on startup. No runtime input needed beyond a trigger phrase. Examples: drift-monitor, dependency-scanner, test-coverage.

Task-specific agents — require runtime context passed in the invocation prompt. The caller must include specific parameters (e.g. PR number, branch name). Examples: pr-review.

Use contextType in the catalog to identify which pattern each agent follows.

Agent File Format

Write to .claude/agents/[id].md using this structure:

Read the full file on GitHub · 126 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 126 lines · 48 tokens per session scan A 09c74ba857e5

Subscribe to this mod's changes

setup-agents is a skill published in the GitHub repository ShipWithAI/shipwithai-plugins (9 stars, last pushed 2mo ago), licensed MIT. It adds 48 tokens to every session and 939 once invoked, about $0.0002 per session on Opus 5.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-31.

Related

setup-agents compared with skills from other repositories

setup-agents next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setup-agentsShipWithAI/shipwithai-pluginsSkill92mo agoMITA48Claude Code
connectgreenpolo/cc-multi-cli-pluginSkill19610d agoApache-2.0A11Claude Code
review-depthjszmajda/lidSkill118todayMITA93Claude Code
hook-templateclaude-world/director-mode-liteSkill8020d agoMITA39Claude Code
check-environmentclaude-world/director-mode-liteSkill8020d agoMITA44Claude Code
agentsclaude-world/director-mode-liteSkill8020d agoMITA29Claude Code
handoff-geminiclaude-world/director-mode-liteSkill8020d agoMITA71Claude Code