From amq-squad
Project-aware skill for first-time amq-squad team design and setup before `up`. Covers team-home choice, persona/role drafting, profile model (default vs named), member cwds, team rules, pointer stubs in CLAUDE.md/AGENTS.md, workstream brief authoring, `team sync` validation, and pre-launch dry-run checks. After the team is live, switch to the companion `amq-squad` skill for ongoing coordination.
How this skill is triggered — by the user, by Claude, or both
Slash command
/amq-squad:amq-team-setup [design | init | rules | brief | stubs | sync | preview][design | init | rules | brief | stubs | sync | preview]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill once, before the team runs, to design and lock in the team's shape: who is on the team, where they work, what norms they share, and what the first workstream is. Setup ends when `amq-squad up --dry-run` looks right and `amq-squad team sync` reports no drift. After that, switch to the `amq-squad` skill for live ops.
Use this skill once, before the team runs, to design and lock in the team's shape: who is on the team, where they work, what norms they share, and what the first workstream is. Setup ends when amq-squad up --dry-run looks right and amq-squad team sync reports no drift. After that, switch to the amq-squad skill for live ops.
This skill never replaces amq-squad. It targets the one-time decisions that survive across workstreams.
.amq-squad/ lives. By default the cwd; for monorepos with multiple workstreams the project root is usually right.codex or claude) backs each..amq-squad/team.json vs. named profiles at .amq-squad/teams/<name>.json for parallel team shapes (e.g. release vs. research)..amq-squad/team-rules.md from the sibling ../amq-squad/references/team-rules-template.md. Source of truth for the whole team.CLAUDE.md / AGENTS.md via amq-squad team sync --apply.amq-squad up --dry-run --seed-from file: / issue: / gh: and, when staying read-only, hand-authoring .amq-squad/briefs/<session>.md. Decide the brief BEFORE up: with a --seed-from source the live up authors the brief; with no source up AUTO-STUBS the brief and prints a one-line notice (so CI/send-keys keep working) — fine, but hand-author or seed first if you want a real goal in place. The live form (up --seed-from REF) writes the brief and brings the team up in one call, so it belongs to the first-launch handoff in step 8.amq-squad up --dry-run, amq-squad team sync, amq-squad doctor before any live launch.After all of that, hand off to the amq-squad skill for drains, routing, status board/console/history, resume, fork.
The context model is three durable layers; setup creates and aligns them, ongoing coordination consumes them.
.amq-squad/team-rules.md - durable team norms. Single source of truth. Never duplicated into other files.<agent-dir>/role.md - per-agent persona / system prompt. Seeded on first up; the user can edit freely; later launches preserve user edits..amq-squad/briefs/<session>.md - workstream brief for one AMQ session. Lives at team-home so every member points at the same file.CLAUDE.md / AGENTS.md carry only a small managed pointer block:
<!-- amq-squad:managed:begin -->
... pointers to team-rules.md, role.md, briefs/<session>.md ...
<!-- amq-squad:managed:end -->
amq-squad team sync --apply writes and refreshes that block. Hand-editing the markers is unsupported.
| Goal | Command |
|---|---|
| Initialize default profile (interactive) | amq-squad team init |
| Initialize a named profile | amq-squad team init --profile NAME |
| List configured profiles | amq-squad team profiles |
Seed/refresh .amq-squad/team-rules.md | amq-squad team rules init |
| Preview pointer-stub drift in CLAUDE.md/AGENTS.md | amq-squad team sync |
| Apply the pointer stub | amq-squad team sync --apply |
| Inspect the planned launch (dry-run) | amq-squad up --dry-run |
| Inspect with machine-readable envelope | amq-squad up --dry-run --json |
| Preview a candidate workstream brief from a deterministic source | amq-squad up --dry-run --seed-from file:./brief.md (or issue:31 / gh:owner/repo#31) |
Author the brief by hand from references/workstream-brief-template.md | save to .amq-squad/briefs/<session>.md (no CLI write) |
| Diagnose environment / config / wake / markers | amq-squad doctor |
--profile NAME scopes any of the above to .amq-squad/teams/<name>.json. Omit (or pass --profile default) for .amq-squad/team.json.
Global output flags work before or after the subcommand: --quiet, --verbose, --color auto|always|never. NO_COLOR wins over --color=always.
Pick team-home.
team init.Sketch the team shape.
references/team-archetypes.md as a starting menu (solo, pair, classic squad, design-led, qa-led).codex / claude), handle, cwd, scope.team init.Initialize the profile.
amq-squad team init writes the team profile at .amq-squad/team.json and ensures .amq-squad/team-rules.md exists.amq-squad team init --profile release writes .amq-squad/teams/release.json.role.md is not created by team init. The first amq-squad up (or agent up) seeds role.md inside the AMQ agent directory (.agent-mail/<session>/agents/<handle>/role.md); later launches preserve user edits.Author team rules.
amq-squad team rules init seeds .amq-squad/team-rules.md from the sibling ../amq-squad/references/team-rules-template.md (no local copy lives under this skill).<role> placeholders), declare role boundaries, and confirm escalation routes through CTO.Apply the pointer stub.
amq-squad team sync previews drift between desired stub and CLAUDE.md / AGENTS.md (exit 1 on drift).amq-squad team sync --apply writes the managed block. Do not hand-edit inside the markers.Prepare the workstream brief (read-only).
amq-squad up --seed-from REF here, since the live form writes the brief and brings the team up in the same call.file:./brief.md, issue:<n> (current repo), or gh:<owner>/<repo>#<n>.amq-squad up --dry-run --seed-from issue:31 (or --json for the machine-readable shape)..amq-squad/briefs/<session>.md from references/workstream-brief-template.md (you can paste the dry-run candidate content). The first live up preserves an existing brief.Pre-launch validation.
amq-squad team sync - no drift expected.amq-squad up --dry-run - inspect the launch plan: one launch command per member, expected cwd, role, workstream.amq-squad doctor - AMQ version / tmux / wake / markers.Hand off to the amq-squad skill for first live launch.
amq-squad skill. amq-squad up [<session>] --seed-from REF writes .amq-squad/briefs/<session>.md and brings the team up in one call (use --force to overwrite an existing brief). With no --seed-from the brief auto-stubs (one-line notice). If a brief was hand-authored in step 6, plain amq-squad up preserves it.up is NEW work and refuses a session that already exists — continuing or restarting an existing session (resume, up --reset) is the companion skill's job.amq-squad skill..amq-squad/team-rules.md. Pointer stubs link, never copy.--session. Session names are strict: lowercase a-z, digits, -, _. Use v0-5-0, not v0.5.0.default (.amq-squad/team.json); named profiles live under .amq-squad/teams/<name>.json and are addressed with --profile NAME.user. Use --operator HANDLE for a custom human-gate mailbox or --no-operator for teams that should not expose operator gates. Schema 1/2 profiles keep implicit user gates until rewritten.--dry-run until the user explicitly approves going live; live launches happen via the amq-squad skill's up flow.README.md, doc.html, or unrelated repo files during setup. Stay inside .amq-squad/, CLAUDE.md, and AGENTS.md.references/team-archetypes.md - common team shapes (solo / pair / classic squad / design-led / qa-led).references/workstream-brief-template.md - starter content for .amq-squad/briefs/<session>.md.references/pointer-stub-template.md - the exact managed block written by amq-squad team sync --apply (for reference; do not hand-author).../amq-squad/references/team-rules-template.md - the team-rules template applied by amq-squad team rules init.0 success1 usage / user error (unknown flag, bad argument, missing required input)2 system / runtime error (IO, process, config, environment)3 partial success (some targets succeeded, some failed)Live coordination after setup - drains, routing, status board/console/history, up/stop/resume/fork/rm/archive (down is a deprecated alias), agent up/resume, doctor - belongs to the amq-squad skill. Switch to it as soon as up --dry-run is clean and the user is ready to launch.
Provides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.
npx claudepluginhub omriariav/amq-squad --plugin amq-squad