Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Parallel-research-then-converge design workflow between two agents. Use this skill when the user wants two agents to independently think through a design problem before aligning on a solution — "spec X with codex", "design X together", "both agents think through X", "brainstorm architecture together", "parallel research then joint proposal", "think through separately then align", "careful thought from both sides before coding", or any variation where the user wants collaborative design rather th
.claude/skills/hashgraph-online-amq-spec/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 51% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 57% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 28% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 30% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 91% | 0% |
This skill defines a structured two-agent specification flow.
Use canonical phases in order: Research -> Discuss -> Draft -> Review -> Present -> Execute
Detailed step-by-step protocol lives in references/spec-workflow.md. This file is the concise operational entrypoint.
From the user prompt, extract:
auth-token-rotation)codex)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>The entire point of the spec workflow is parallel research — both agents exploring the problem independently, then comparing notes. Every second you spend researching before sending is a second your partner sits idle waiting for the problem statement. That's why the send comes first, even though your instinct might be to "research first to give better context."
bashamq send --to <partner> --kind question \ --labels workflow:spec,phase:request \ --thread spec/<topic> --subject "Spec: <topic>" --body "<problem>"
Send the user's problem description verbatim — your own analysis goes in the research phase, not the kickoff. If you pre-analyze, you bias the partner's independent research, which defeats the purpose of having two perspectives.
Labels are how both agents and the receiver-side protocol table know which phase the conversation is in. Use existing AMQ kinds plus labels to express spec workflow semantics:
| 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 |
bash# Initiate spec with problem statement amq send --to <partner> --kind question \ --labels workflow:spec,phase:request \ --thread spec/<topic> --subject "Spec: <topic>" --body "<problem>" # Submit independent research amq send --to <partner> --kind brainstorm \ --labels workflow:spec,phase:research \ --thread spec/<topic> --subject "Research: <topic>" --body "<findings>" # Discuss and align amq send --to <partner> --kind brainstorm \ --labels workflow:spec,phase:discuss \ --thread spec/<topic> --subject "Discussion: <topic>" --body "<analysis>" # Draft plan amq send --to <partner> --kind review_request \ --labels workflow:spec,phase:draft \ --thread spec/<topic> --subject "Plan: <topic>" --body "<plan>" # Review plan amq send --to <partner> --kind review_response \ --labels workflow:spec,phase:review \ --thread spec/<topic> --subject "Review: <topic>" --body "<feedback>" # Optional final decision message amq send --to <partner> --kind decision \ --labels workflow:spec,phase:decision \ --thread spec/<topic> --subject "Final: <topic>" --body "<final plan>"
If you receive a message labeled workflow:spec, your action depends on the phase:
| Label | Your action | |---|---| | phase:request | Read the problem statement, do your own independent research first, then submit findings as brainstorm + phase:research | | phase:research | Before reading: check if you've already submitted your own research on this thread. If not, do your own research and submit it first. This preserves research independence — reading the partner's findings before forming your own view contaminates your perspective. Once your research is submitted, read the thread and start discussion as brainstorm + phase:discuss. | | phase:discuss | Reply with your analysis, continue discussion until aligned | | phase:draft | Review the plan and send feedback as review_response + phase:review. Your job here is review, not implementation — the plan needs to survive scrutiny before anyone builds it. | | phase:review | Revise plan if needed, or confirm alignment | | phase:decision | Stop. A phase:decision message is agent-to-agent alignment, not user approval, so do not implement from a spec decision alone. Only the human authorizes implementation, recorded as a structural gate to the initialized human handle (conventionally user; see the Operator Gates section in /amq-cli). Wait until the initiator confirms the human approved on the gate thread and assigns you work. |
Why the partner doesn't implement: The spec workflow is a design process. The initiator owns the relationship with the user and presents the final plan. If the partner implements without approval, the user loses control over what gets built. The agent-to-agent phase:decision message is alignment, not authorization: human approval is a structural gate to the initialized human handle, and partner agents must not implement from a spec decision alone. Implementation starts only after the initiator explicitly tells you the human approved and assigns work.
These rules exist because violations silently break the workflow's value proposition:
spec/<topic> threads and the label convention — this is how both agents (and the tooling) know which phase the conversation is in. Without consistent labels, the receiver-side protocol table above breaks.user) on a stable gate/<topic> thread, then wait for explicit approval on that thread. The agent-to-agent phase:decision message is alignment only; partner agents must not implement from it. See the Operator Gates section in /amq-cli for canonical mechanics, seeding, and guardrails.For full protocol details, templates, and phase gates, see:
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 20,928 | 14,372 | -31% | 1 | 1 | 0% | 2,074 | 2,168 | +5% | 0 | 0 | — |
case-02 | fail→fail | 15,750 | 18,592 | +18% | 1 | 1 | 0% | 1,597 | 2,077 | +30% | 0 | 0 | — |
case-03 | fail→fail | 33,223 | 18,284 | -45% | 1 | 1 | 0% | 4,368 | 2,055 | -53% | 0 | 0 | — |
case-04 | fail→pass | 17,232 | 10,365 | -40% | 1 | 1 | 0% | 1,602 | 2,420 | +51% | 0 | 0 | — |
case-05 | fail→fail | 21,579 | 28,116 | +30% | 1 | 1 | 0% | 2,175 | 2,665 | +23% | 0 | 0 | — |
case-06 | fail→pass | 16,356 | 10,560 | -35% | 1 | 1 | 0% | 1,641 | 2,575 | +57% | 0 | 0 | — |
case-07 | fail→pass | 19,308 | 4,168 | -78% | 1 | 1 | 0% | 1,663 | 2,127 | +28% | 0 | 0 | — |
case-08 | fail→pass | 16,910 | 3,063 | -82% | 1 | 1 | 0% | 1,635 | 2,118 | +30% | 0 | 0 | — |
case-09 | fail→pass | 11,959 | 4,209 | -65% | 1 | 1 | 0% | 1,176 | 2,251 | +91% | 0 | 0 | — |
case-10 | fail→pass | 15,335 | 4,844 | -68% | 1 | 1 | 0% | 2,035 | 2,427 | +19% | 0 | 0 | — |
case-11 | fail→pass | 11,131 | 10,511 | -6% | 1 | 1 | 0% | 1,516 | 2,477 | +63% | 0 | 0 | — |
case-12 | pass→pass | 10,838 | 9,643 | -11% | 1 | 1 | 0% | 765 | 2,399 | +214% | 0 | 0 | — |
case-13 | pass→pass | 11,087 | 3,718 | -66% | 1 | 1 | 0% | 897 | 2,421 | +170% | 0 | 0 | — |
case-14 | fail→pass | 15,050 | 12,479 | -17% | 1 | 1 | 0% | 1,564 | 3,521 | +125% | 0 | 0 | — |
case-15 | fail→pass | 14,019 | 1,831 | -87% | 1 | 1 | 0% | 1,981 | 1,985 | +0% | 0 | 0 | — |
case-16 | fail→fail | 14,972 | 8,516 | -43% | 1 | 1 | 0% | 1,333 | 2,303 | +73% | 0 | 0 | — |
case-17 | fail→pass | 13,013 | 12,332 | -5% | 1 | 1 | 0% | 1,194 | 2,683 | +125% | 0 | 0 | — |
case-18 | pass→pass | 10,185 | 8,028 | -21% | 1 | 1 | 0% | 685 | 2,133 | +211% | 0 | 0 | — |
case-19 | pass→pass | 14,527 | 9,396 | -35% | 1 | 1 | 0% | 1,503 | 2,512 | +67% | 0 | 0 | — |
case-20 | fail→pass | 12,873 | 6,298 | -51% | 1 | 1 | 0% | 2,182 | 2,817 | +29% | 0 | 0 | — |
case-21 | fail→fail | 13,202 | 5,761 | -56% | 1 | 1 | 0% | 258 | 1,965 | +662% | 0 | 0 | — |
case-22 | pass→pass | 17,832 | 15,679 | -12% | 1 | 1 | 0% | 2,152 | 3,314 | +54% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 18 counted toward the lift figure. The other 4 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +50 percentage points is the difference between those two pass rates over the 18 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.