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.
npx agentmods add commands/wshobson/agents/setupgit clone --depth 1 https://github.com/wshobson/agentsWrote 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.
[](https://agentmods.dev/commands/wshobson/agents/setup)<a href="https://agentmods.dev/commands/wshobson/agents/setup"><img src="https://agentmods.dev/badge/commands/wshobson/agents/setup.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00018 | $0.02066 |
| Opus 5 | $0.00009 | $0.01033 |
| Sonnet 5 | $0.00004 | $0.00413 |
| Haiku 4.5 | $0.00002 | $0.00207 |
Grade A, and why
setup 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 407 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Conductor Setup
Initialize or resume Conductor project setup. This command creates foundational project documentation through interactive Q&A.
Pre-flight Checks
-
Check if
conductor/directory already exists in the project root:- If
conductor/product.mdexists: Ask user whether to resume setup or reinitialize - If
conductor/setup_state.jsonexists with incomplete status: Offer to resume from last step
- If
-
Detect project type by checking for existing indicators:
- Greenfield (new project): No .git, no package.json, no requirements.txt, no go.mod, no src/ directory
- Brownfield (existing project): Any of the above exist
-
Load or create
conductor/setup_state.json:{ "status": "in_progress", "project_type": "greenfield|brownfield", "current_section": "product|guidelines|tech_stack|workflow|styleguides", "current_question": 1, "completed_sections": [], "answers": {}, "files_created": [], "started_at": "ISO_TIMESTAMP", "last_updated": "ISO_TIMESTAMP" }
Interactive Q&A Protocol
CRITICAL RULES:
- Ask ONE question per turn
- Wait for user response before proceeding
- Offer 2-3 suggested answers plus "Type your own" option
- Maximum 5 questions per section
- Update
setup_state.jsonafter each successful step - Validate file writes succeeded before continuing
Section 1: Product Definition (max 5 questions)
Q1: Project Name
What is your project name?
Suggested:
1. [Infer from directory name]
2. [Infer from package.json/go.mod if brownfield]
3. Type your own
Q2: Project Description
Describe your project in one sentence.
Suggested:
1. A web application that [does X]
2. A CLI tool for [doing Y]
3. Type your own
Q3: Problem Statement
What problem does this project solve?
Suggested:
1. Users struggle to [pain point]
2. There's no good way to [need]
3. Type your own
Q4: Target Users
Who are the primary users?
Suggested:
1. Developers building [X]
2. End users who need [Y]
3. Internal teams managing [Z]
4. Type your own
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.
- today First seen · 407 lines · 18 tokens per session scan A 5e20d1c503ef
setup is a command published in the GitHub repository wshobson/agents (39,387 stars, last pushed 2d ago), licensed MIT. It adds 18 tokens to every session and 2,066 once invoked, about $0.0001 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-09-03.
Other commands, from other repositories
constraints
Define and enforce this project's quality bar — interview, sane defaults, CONSTRAINTS.md.
define-agent-goal
Turn a rough task into an agent Goal (six core sections, 3 to 5 success criteria, helper goals when parallel, two-step approval); plan-only, no execution in the same turn.
setup-x402-client
Add x402 payment handling to a Node.js project using @dexterai/x402.
setup-x402-server
Add an x402 paywall to an Express API endpoint using @dexterai/x402.
spec
Use skills/data-specification/SKILL.md and the templates in templates/ to define the data product before implementation.
test
Use skills/data-quality-and-contract-testing/SKILL.md and the relevant references in references/ to define evidence for correctness, freshness, and publish safety.