amq-cli

amq-cli is a skill for Claude Code, Codex from avivsinai/skills-marketplace. It costs 59 tokens per session (2,016 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: names the AskUserQuestion tool; 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 2,016 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.02016
Opus 5.5 $0.00024 $0.00806
Sonnet 5.5 $0.00012 $0.00403
Haiku 4.5 $0.00006 $0.00202

Measured today against content hash 2c04dc2c41bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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

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 · 146 lines

How it starts

The opening of the file, as written. The whole thing — 146 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:

amq_context="$(amq env --me "<handle>" --export)" && eval "$amq_context" &&
  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.

Receive under a live wake

If session-start context says wake=live(...), or amq wake check --me <handle> --json reports live_wake: true with an injection mode other than none, the wake delivers a doorbell for you. Run amq drain --include-body when it fires, then act on the messages.

The default drain reads at most 20 messages in filename order, including held mail. After a full batch, check amq list --new --limit 1 and continue with bounded drains as needed; do not assume the inbox is empty. Use --limit 0 only for a known, manageable batch. Urgent hold bypass does not change drain order.

Do not run amq watch, amq monitor, sleep-poll, or start another inbox watcher under that live wake. A blocking wait holds your turn while the doorbell queues behind it. When your work is done, finish the turn; do not keep a tool running or send idle check-ins just to wait for mail.

A wake can hold its first doorbell for routine mail with the hold_normal and hold_low settings; 5m / 30m is an opt-in example. The configured retry policy applies after the first attempt. Urgent priority skips the hold. Ordinary urgent mail still passes through debounce and input deferral; urgent mail with the configured interrupt label follows the interrupt path. Use --priority urgent on send or reply for time-critical verdicts and unblocking requests. Other review responses remain normal by default.

Read the full file on GitHub · 146 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. today Changed 2c04dc2c41bc
  2. 2d ago Changed dcd86a23923f
  3. 3d ago Changed 8012ee629fce
  4. 4d ago Changed · +19 lines f3228debb658
  5. 8d ago Changed 657022bbc589
  6. 9d ago Changed e39065c9dfbe
  7. 10d ago Changed 3baa031ab73f
  8. 12d ago Changed · -42 lines d0aad930931b
  9. 13d ago Changed 62271efcb7aa
  10. 15d ago First seen · 169 lines · 59 tokens per session scan A 3a7234b91e07

Subscribe to this mod's changes

amq-cli is a skill published in the GitHub repository avivsinai/skills-marketplace (2 stars, last pushed yesterday), licensed MIT. It adds 59 tokens to every session and 2,016 once invoked, about $0.0002 per session on Opus 5.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.

Related

Other skills, from other repositories

doc-html-slide

A renderer that turns presentation content into a single HTML slide deck that opens directly in a browser. It creates a 16:9 slide sequence with navigation, fullscreen viewing, printing to PDF, and speaker-note controls.

modu-ai/moai-cowork · 438 tokens

career-portfolio

A portfolio-building skill for Korean job seekers that organizes projects and explains their work for development, design, marketing, and planning roles.

modu-ai/moai-cowork · 124 tokens

cs-channel-message

A channel-message writing tool for search ads, advertising, customer relationship messages, and app notifications. It uses the NCM sequence—Need, Channel, Moment, Message, and CTA—to adapt wording to where and when customers see it.

modu-ai/moai-cowork · 465 tokens

media-gemini-3-image-prompt

A prompt builder for Gemini 3 Pro Image, also known as Nano Banana Pro, Google's image-generation model. It expands a short request into five parts covering the subject, action, setting, composition, lighting, style, and text constraints.

modu-ai/moai-cowork · 329 tokens

doc-pptx

A PowerPoint (.pptx) presentation generator and designer for business reports, investor pitches, training materials, conference talks, and product demos. It can build slides from direct content, HTML, NotebookLM, or a Markdown script.

modu-ai/moai-cowork · 266 tokens

setup-mcp-connector

A step-by-step setup guide for connecting Cowork to services such as Google Drive, Notion, and Higgsfield, plus Korean public-data, document, statistics, architecture, and law services. It explains authentication, API keys, test calls, and troubleshooting.

modu-ai/moai-cowork · 191 tokens