amq-cli

amq-cli is a skill for Claude Code, Codex from avivsinai/skills-marketplace. It costs 59 tokens per session (767 once invoked), scanned A, a copy of amq-cli, MIT.

A file-based message queue for communication between coding agents, such as Codex or Claude. It can send messages, check inboxes, route messages between projects, and coordinate shared work.

In plain words
What is it for?
Use it to message another agent, read or drain an inbox, set up cooperative work, join a swarm team, or diagnose message-routing problems.
Why use it?
It keeps agent-to-agent communication separate from the task plan and provides a queue for messages that may arrive while another agent is working. This helps multiple agents exchange updates and requests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it to message another agent, read or drain an inbox, set up cooperative work, join a swarm team, or diagnose message-routing problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/avivsinai/skills-marketplace/amq-cli
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/skills-marketplace --skill amq-cli
Clone the repo
git clone --depth 1 https://github.com/avivsinai/skills-marketplace

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/avivsinai/skills-marketplace/amq-cli/github.svg)](https://agentmods.dev/skills/avivsinai/skills-marketplace/amq-cli)
Your own site
<a href="https://agentmods.dev/skills/avivsinai/skills-marketplace/amq-cli"><img src="https://agentmods.dev/badge/skills/avivsinai/skills-marketplace/amq-cli/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-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/avivsinai/skills-marketplace/amq-cli"><img src="https://agentmods.dev/badge/skills/avivsinai/skills-marketplace/amq-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 767 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.
Origin 100% copy Near-identical to another mod 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.00059 $0.00767
Opus 5 $0.00030 $0.00383
Sonnet 5 $0.00012 $0.00153
Haiku 4.5 $0.00006 $0.00077

Measured 5d ago against content hash ebcfb8cdaca2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

amq-cli 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 5d ago.

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

This is a copy

100% identical to amq-cli — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/amq-cli/skills/amq-cli/SKILL.md · 69 lines

How it starts

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

AMQ CLI

Use the amq CLI for all queue operations. Never edit Maildir files directly. AMQ transports coordination; the caller or orchestrator still owns task planning, worktrees, approvals, and delivery.

Start in the correct context

Inside coop exec, use the environment as provided and run bare amq commands. Do not override --me or reconstruct the root. Outside it, resolve and export the complete context before reading or sending:

eval "$(amq env --me <handle> --export)"
amq drain --include-body

For a named session, add --session <name> to amq env. Treat the evaluated context as one terminal bound to one session. Use --session or --project for deliberate routing; do not point a participating command at another queue with a raw --root.

Route the task

Need Read or run
Send, reply, drain, inspect receipts, or diagnose Use the operations guide.
Two-agent research and design Use the amq-spec skill.
Co-op roles and phased collaboration Read co-op mode.
Claude Code Agent Teams Read swarm mode.
Cross-project delivery or decision threads Read cross-project routing.
Grok Bot on a registered Mac Read registered-machine execution.
Symphony or Kanban adapters Read integrations.
Message schema details Read message format.
Multi-round background review Read review loop.

Use amq <command> --help for current flags. The repository README is the canonical setup path.

Safety and delivery rules

  • A wake notification is attention, not consumption proof. Use receipts or --wait-for drained when delivery proof matters.
  • Preserve the existing thread when replying. Drain again after a doorbell; the newest complete message body is authoritative.
  • Cleanup is explicit through amq cleanup. Do not add automatic deletion.
  • Before any wake mutation, run amq wake check --me <handle> --json. Act only when restart_capability=agent_safe; otherwise preserve state and report the required operator action.
  • Keep cross-host payloads outside privileged inboxes until the configured bridge has authenticated and applied them. Never copy or remote-drain a foreign Maildir as a substitute for routing.
  • Do not translate native Windows injection into Unix wake or coop exec. Read the platform section in the operations guide when Windows is involved.
  • Dangerous provider bypass flags belong only on an operator-controlled direct coop exec command. Do not place them in committed launch configuration.

Read the full file on GitHub · 69 lines

Files

What ships with it

8 files 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. 5d ago Changed · -627 lines · -123 tokens per session scan C → A ebcfb8cdaca2
  2. 6d ago Changed b15e138a4f0b
  3. 8d ago Changed d2db22c37c81
  4. 11d ago First seen · 696 lines · 182 tokens per session scan C a56b67b74c82

Subscribe to this mod's changes

amq-cli is a skill published in the GitHub repository avivsinai/skills-marketplace (2 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 767 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to amq-cli, differing in 0 lines, and is treated as a copy.