amq-spec

amq-spec is a skill for Claude Code from avivsinai/agent-message-queue. It costs 40 tokens per session (1,077 once invoked), scanned A, original, MIT.

A two-agent workflow for designing a technical specification: each agent researches independently, then they discuss, draft, review, present, and execute the result.

In plain words
What is it for?
Use it to brainstorm architecture, compare design approaches, and produce a shared specification with another agent.
Why use it?
It reduces the chance that one agent's first idea becomes the plan without comparison or review.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Codex.

Part of the amq-cli plugin — 3 skills shipped together

Good fit Use it to brainstorm architecture, compare design approaches, and produce a shared specification with another agent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/avivsinai/agent-message-queue/amq-spec
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.

Any agent
npx skills add avivsinai/agent-message-queue --skill amq-spec
Clone the repo
git clone --depth 1 https://github.com/avivsinai/agent-message-queue

Made for: Claude Code.

Or install amq-cli, the plugin that ships this one along with the rest of its 3 skills.

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 amq-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/avivsinai/agent-message-queue/amq-spec/github.svg)](https://agentmods.dev/skills/avivsinai/agent-message-queue/amq-spec)
Your own site
<a href="https://agentmods.dev/skills/avivsinai/agent-message-queue/amq-spec"><img src="https://agentmods.dev/badge/skills/avivsinai/agent-message-queue/amq-spec/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for amq-spec

Your own site · 80×15
<a href="https://agentmods.dev/skills/avivsinai/agent-message-queue/amq-spec"><img src="https://agentmods.dev/badge/skills/avivsinai/agent-message-queue/amq-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,077 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 128
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original 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.1 $0.00040 $0.01077
Opus 5.5 $0.00016 $0.00431
Sonnet 5.5 $0.00008 $0.00215
Haiku 4.5 $0.00004 $0.00108

Measured today against content hash b987e3a9a35a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

amq-spec 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • amq-spec — 100% identical, 2 lines differ
skills/amq-spec/SKILL.md · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AMQ collaborative specification

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.

Parse input

From the user prompt, extract:

  • topic: short kebab-case spec name (e.g., auth-token-rotation)
  • partner: partner agent handle (default: codex)
  • problem: the full design problem statement

If topic/problem are unclear, ask for clarification.

Pre-flight

  1. Verify AMQ is available: which amq
  2. Verify the AMQ root is discoverable (.amqrc, AMQ env vars, or the default .agent-mail layout); otherwise run: amq coop init
  3. Use thread name: spec/<topic>

Kickoff

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>"

Labels

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

When you receive a spec message

Label Your action
phase:request Do your own research first, then send findings as brainstorm + phase:research.
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.

Read the full file on GitHub · 98 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed b987e3a9a35a
  2. yesterday Changed · -49 lines 271052a3aba6
  3. 2d ago Changed 8b9afd1c6b52
  4. 3d ago Changed e8461c0f0377
  5. 4d ago Changed 4e1feedb03f0
  6. 7d ago Changed f18e546c3538
  7. 11d ago Changed 4cb9679c84af
  8. 12d ago Changed 820a60ce84fb
  9. 13d ago Changed 0c2e20724374
  10. 14d ago First seen · 147 lines · 40 tokens per session scan A e779628b48f1

Subscribe to this mod's changes

amq-spec is a skill published in the GitHub repository avivsinai/agent-message-queue (88 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 1,077 once invoked, about $0.0002 per session on Opus 5.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-08-30.

Related

Other skills, from other repositories

hunk-launch-video

Produces Hunk videos by driving the real TUI headlessly in a PTY, compositing captioned 1080p frames in Chromium, and encoding with ffmpeg. Use for feature demos, workflow explainers, announcements, launch videos, and full-release roundups.

modem-dev/hunk · 60 tokens

gog-workspace

Use the gog CLI for Google Workspace tasks across Gmail, Calendar, Drive, Docs, Sheets, Contacts, and related services. Use when the user asks to check email, search Gmail, inspect calendar events, find Drive files, read Docs or Sheets, or manage Google Workspace data through gog.

AtomicBot-ai/atomic-agent · 68 tokens

apple-calendar

Read macOS Calendar events via the icalBuddy CLI and create events via AppleScript (osascript). Use to check the user's calendar, agenda, upcoming events, or add an event on macOS.

AtomicBot-ai/atomic-agent · 45 tokens

apple-reminders

Manage Apple Reminders via the remindctl CLI on macOS — list, add, complete, delete, manage lists.

AtomicBot-ai/atomic-agent · 31 tokens

octo-mail

OCTO Agent Mail operations for reading, searching, policy-aware sending, preparing drafts, and checking delivery status exclusively through octo-cli.

Mininglamp-OSS/octo-cli · 32 tokens

octo-messaging

Messaging domain — send/edit/sync messages, read receipts, message search (search/all/files/media/around/groups, in-channel or cross-channel), groups and threads (User Bot), and event polling. Covers App Bot DM-only constraints. Load after octo-shared.

Mininglamp-OSS/octo-cli · 59 tokens