/amq-cli:amq-spec <description of what to design> [with <partner>]from amq-cli
Coordinates two AI agents to independently research a design problem, then converge on a single specification through structured phases: research, discuss, draft, review, present, execute.
Ships in amq-cli. 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.
Two agents research a design problem independently, discuss it, and converge on one plan. The user approves the plan before anyone implements it.
Phases run in order:
Research -> Discuss -> Draft -> Review -> Present -> Execute
Per-phase commands and the research and plan templates are in the spec workflow.
From the user prompt, extract:
auth-token-rotation)amq who --json,
select a distinct available collaborator on the intended route, and ask the
initiator to name one if the choice is ambiguous.If topic/problem are unclear, ask for clarification.
which amq.amqrc, AMQ env vars, or the default .agent-mail layout); otherwise run: amq coop initspec/<topic>Send the problem to the partner first, then start your own research. Both agents then research in parallel. Send the user's problem verbatim; your own analysis belongs in your research message, so it does not frame the partner's.
amq send --to "<partner>" --kind question \
--labels workflow:spec,phase:request \
--thread "spec/<topic>" --subject "Spec: <topic>" --body "<problem>"
Every spec message uses an ordinary AMQ kind plus these labels on the
spec/<topic> thread:
| Phase | Kind | Labels |
|---|---|---|
| Problem statement | question | workflow:spec,phase:request |
| Research findings | brainstorm | workflow:spec,phase:research |
| Discussion | brainstorm | workflow:spec,phase:discuss |
| Plan draft | review_request | workflow:spec,phase:draft |
| Plan feedback | review_response | workflow:spec,phase:review |
| Final decision | decision | workflow:spec,phase:decision |
| Progress/ETA | status | workflow:spec |
| Label | Your action |
|---|---|
phase:request | Research independently, then reply to the kickoff ID with brainstorm and labels workflow:spec,phase:research,done. The initiator sends its own research as a new brainstorm. |
phase:research | If you have not sent your own research on this thread, research and send it before you read the partner's. Then read the thread and start discussion as brainstorm + phase:discuss. |
phase:discuss | Reply with your analysis; continue until aligned. |
phase:draft | Review the plan and send feedback as review_response + phase:review. Do not implement. |
phase:review | Revise the plan if needed, or confirm alignment. |
phase:decision | Stop. Do not implement; see the approval gate below. |
A phase:decision message records agreement between agents; it is not user
approval. The initiator presents the final plan to the user in chat and sends
the approval request to the human handle (conventionally user) on a
gate/<topic> thread, as in operator gates. Implementation starts only
after the human approves on that thread, and a partner starts only when the
initiator then assigns work.
amq drain --for-turn on its doorbell. Do not start
amq watch, amq monitor, or a polling loop. Check
amq wake check --me <handle> --json when the capability is unknown. A
bounded watch is a fallback only without an injecting wake.spec/<topic> thread and the labels. The receiver table above
depends on them.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/amq-boardRead the AMQ fleet board when asked for current work, check the floor for stalled seats, or measure request history in a retrospective./amq-cliCoordinate coding agents through AMQ. Use for agent messages, inboxes, receipts, sessions, wake delivery, cross-project routing, managed launches, or AMQ diagnostics. Use amq-spec for collaborative design; do not use this for general message queues or single-agent work./amq-leadLead an AMQ fleet when assigning work, checking stalled seats, reviewing a worker result, deciding whether to merge, running a retrospective, or escalating a decision to the owner. Not for sending one message (use amq-cli) or for reading the board alone (use amq-board).amq-cli@avivsinai-marketplace is listed by avivsinai/skills-marketplace — review the source before installing
npx claudepluginhub avivsinai/skills-marketplace --plugin amq-cliOther plugins' skills for the same job