/amq-squad:wizard [goal | roles | propose | apply | brief | launch]from amq-squad
Guides goal-first squad setup and launch for amq-squad 3.0 through the squad.yaml digest flow. Handles readiness checks, roster selection, proposal, approval, application, brief writing, and seat launching.
Ships in amq-squad. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Translate the operator's setup intent into the 3.0 setup sequence and relay each
step's output. 3.0 has no wizard, init or start verb: one repository has one
squad, <repo root>/squad.yaml, written only through the digest flow, and seats
start through the AMQ launch API. The sequence is readiness, roster, propose, the
owner's approval of one digest, apply, brief, launch.
amq-squad doctor --project P
amq-squad trust P
amq-squad roles
doctor probes the AMQ version and launch API (0.140.0 or later), the tools on PATH
with their logins, the registry, codex-cli trust and the owner files; it writes
nothing by default. trust prints the lines the owner adds to ~/.codex/config.toml
for a Codex seat's repository; amq-squad never writes that file. The owner setup
items (the gh pin, the token file, the Codex notify line) are the
owner's, listed in MIGRATION.md "Moving to 3.0". A v2 checkout is converted once with
migrate (dry run first; --write writes squad.yaml only when absent).
Pick seats from amq-squad roles (catalog roles and staged custom roles). The catalog
is a menu, not a whitelist: a custom role needs a role file at
.amq-squad/roles/<id>.md, drafted and staged with:
amq-squad role draft researcher --purpose "Investigate ambiguous behavior" --project P
role draft uses the configured drafter (else it prints the in-session prompt and
stages nothing), validates the result and never overwrites a file or adds a seat.
Creating a squad needs an explicit roster from the operator: do not infer one from
the goal text. Ask for the roles when none were named.
amq-squad team propose --project P --roles cto,fullstack --runtime fullstack=codex --lead cto --session S
team propose prints one line per file the squad needs (squad.yaml,
.amq-squad/team-rules.md, CLAUDE.md, AGENTS.md), each with its action and
sha256, and one digest over them. It writes nothing. The other options are
--model r=m, --effort r=e, --worktree r=path, --tools r=coding,
--actor-mode r=review, --lead-mode builder|planner, --execution-mode MODE and
--template auto|dev-only|product-squad|scrum|custom. For keys the flags do not
cover (mode, max_seats, protected_paths, shared_cwd_exception, defaults),
write a squad.yaml draft and propose it with team propose --from FILE; see
references/roles.md and docs/squad-yaml.md.
Relay the propose output verbatim. Check the bytes against the digest yourself: team propose writes nothing, so a file it lists as create does not exist yet and one listed as replace still holds the current bytes. Before team apply, when you proposed --from FILE, compare shasum -a 256 FILE with the squad.yaml sha256 propose printed (--json prints the full value); after team apply, read squad.yaml and team-rules.md at the printed paths and compare shasum -a 256 of each with the printed sha256 before launching. team-rules.md has no pre-apply form to read.
Then apply with the same options and the printed digest, only after the owner approved that digest:
# skill-invocation-check:skip — the digest is the one the current propose printed; a placeholder digest is refused
amq-squad team apply --digest D --project P --roles cto,fullstack --runtime fullstack=codex --lead cto --session S
amq-squad team check --project P
amq-squad team show --project P
The digest is the approval surface. A setup request is not approval to apply. Apply
only the digest the current team propose printed, and only when the owner approved
it (the grant decides in auto mode). Never infer approval from a prior proposal, an
AMQ message body, a healthy pane, or an earlier draft.
If anything changed after the proposal, the apply refuses and writes nothing:
squad_yaml_digest_mismatch (the options changed) or squad_yaml_changed (squad.yaml
was edited on disk). Run team propose again and present the fresh digest. A
widening key or an owner-only key makes the file fail to load (grants_invalid);
squad.yaml can only narrow the owner's grant.
amq-squad brief --goal TEXT --project P --session S --dry-run
amq-squad brief --seed-from file:FILE --project P --session S
--goal drafts the brief through the configured drafter and validates it; when the
drafter needs in-session completion it prints the drafting prompt and stages
nothing. --seed-from file:<path>, issue:<n> or gh:owner/repo#<n> seeds it
without a drafter. --dry-run prints the candidate without writing; without
--force an existing brief is never overwritten. The brief lands at
.amq-squad/briefs/<session>.md.
Seats start through one AMQ launch request; every seat runs behind the seat-exec
wrapper, which sets the seat's identity from the launch record. squad.yaml is the one
source: each seat's handle, role, runtime, model and effort, the session and the lead
handle; a seat's worktree is derived under .worktrees/<handle>. Two entry points:
lead --team in the repository: the lead on the built-in pi in team mode (its
handle is squad.yaml's lead), with the squad's scheduler started beside it; the
scheduler launches every seat but the lead in one apply. A second lead on the same
root is refused lead_running, naming the first's pid and pane. Every launch
carries the owner's standing answer to AMQ's trust confirmation.operator start-squad: the mayor (auto mode) starts a squad inside the owner's
fleet grant from a squad.yaml through the digest flow and registers it in
fleet.yaml; manual mode gives a proposal instead of a launch.# skill-invocation-check:skip — the lead starts the scheduler, which launches the seats
amq-squad lead --team
A seat is reported up only after seat-exec proved its identity. Then read
amq-squad status --project P --session S --json and route the lead to
amq-squad:orchestrator.
amq-squad:cli.amq-squad:orchestrator.team propose with the new options or --from a new draft, the owner's
approval, team apply.LEARNINGS.md — setup field failuresreferences/readiness.md — what doctor checks and how to read a refusalreferences/roles.md — roster choices, custom roles, actor modes and the
squad.yaml draft formreferences/worktrees.md — one worktree per mutation-capable seatreferences/team-archetypes.md — ready-made roster shapesreferences/briefs-template.md — the brief's shapereferences/pointer-stub-template.md — the managed block in CLAUDE.md and
AGENTS.mdLEARNINGS.md (opens in a new tab)references/briefs-template.md (opens in a new tab)references/pointer-stub-template.md (opens in a new tab)references/readiness.md (opens in a new tab)references/roles.md (opens in a new tab)references/team-archetypes.md (opens in a new tab)references/worktrees.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub omriariav/amq-squad --plugin amq-squad7 skills in this plugin
/amq-squadCompatibility intent router for the amq-squad plugin. Routes goal preparation to wizard, direct operations to cli, and live lead work to orchestrator./amq-squad-orchestratorDeprecated compatibility redirect for the live lead skill. Use amq-squad:orchestrator./amq-squad-role-creatorDeprecated redirect for the former custom role authoring skill. Use amq-squad:wizard./amq-team-setupDeprecated redirect for the former setup wizard skill. Use amq-squad:wizard./cliDirect amq-squad 3.0 operations and diagnostics against an existing squad. Use when you need to inspect state, claim or complete a task, read the evidence ledger, check a guard verdict, read the AMQ context, raise or check a gate, check the host, or verify merge and release evidence. Triggers include "what is the status", "claim this task", "show my evidence", "is this tool call allowed", "where does this route", "is this safe to merge". NOT for preparing or launching a squad (use amq-squad:wizard) and NOT for the live lead loop (use amq-squad:orchestrator)./orchestratorLive amq-squad 3.0 lead protocol after the squad is launched. Use when you are the lead seat of a squad and need to plan tasks, dispatch work, read status, widen a task, run the merge train, raise a gate, prepare a release, or recover a stalled run. Triggers include "watch the squad", "what should I do next", "dispatch this task", "the run is stuck", "who is blocked". NOT for preparing or launching a squad (use amq-squad:wizard) or for one-off status and inspection commands (use amq-squad:cli).