setup

setup is a command for coding agents from wshobson/agents. It costs 18 tokens per session (2,066 once invoked), scanned A, original, MIT.

Initialize project with Conductor artifacts (product definition, tech stack, workflow, style guides).

Command

Installs and runs on its own, but its text points at files inside the plugin that ships it — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed.

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 commands/wshobson/agents/setup
Clone the repo
git clone --depth 1 https://github.com/wshobson/agents

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/wshobson/agents/setup.svg)](https://agentmods.dev/commands/wshobson/agents/setup)
Your own site
<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>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,066 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00018 $0.02066
Opus 5 $0.00009 $0.01033
Sonnet 5 $0.00004 $0.00413
Haiku 4.5 $0.00002 $0.00207

Measured today against content hash 5e20d1c503ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

plugins/conductor/commands/setup.md · 407 lines

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

  1. Check if conductor/ directory already exists in the project root:

    • If conductor/product.md exists: Ask user whether to resume setup or reinitialize
    • If conductor/setup_state.json exists with incomplete status: Offer to resume from last step
  2. 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
  3. 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.json after 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

Read the full file on GitHub · 407 lines

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. today First seen · 407 lines · 18 tokens per session scan A 5e20d1c503ef

Subscribe to this mod's changes

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.