agent-message-queue CLAUDE.md

agent-message-queue CLAUDE.md is an instructions file for coding agents from avivsinai/agent-message-queue. It costs 3,694 tokens per session, scanned A, original, MIT.

A project instruction document for Agent Message Queue, a local file-based message bus for coding agents. It explains message delivery, ownership boundaries, release rules, versioning, and build commands.

In plain words
What is it for?
Use it when changing message routing, threads, receipts, handoff state, diagnosis, builds, or release metadata for the AMQ command-line tools.
Why use it?
It prevents agents from confusing message-bus responsibilities with orchestration work and helps them follow the repository's release process.

Instructions file

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.

agentmods
npx agentmods add instructions/avivsinai/agent-message-queue/claude-md
Clone the repo
git clone --depth 1 https://github.com/avivsinai/agent-message-queue

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 agent-message-queue CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/avivsinai/agent-message-queue/claude-md.svg)](https://agentmods.dev/instructions/avivsinai/agent-message-queue/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/avivsinai/agent-message-queue/claude-md"><img src="https://agentmods.dev/badge/instructions/avivsinai/agent-message-queue/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,694 This file is loaded in full into every session.
When invoked 3,694 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.03694 $0.03694
Opus 5 $0.01847 $0.01847
Sonnet 5 $0.00739 $0.00739
Haiku 4.5 $0.00369 $0.00369

Measured today against content hash 026c4426d416, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent-message-queue CLAUDE.md 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.

CLAUDE.md · 299 lines

How it starts

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

CLAUDE.md

This is the repository instruction file for Claude Code and Codex. AGENTS.md is a Codex compatibility shim and contains no duplicate project guidance.

Project Overview

Agent Message Queue (AMQ) is a daemon-free, file-based message bus for local coding agents. Maildir-style tmp -> new -> cur delivery gives crash-safe messages without a database or server. AMQ owns messaging, threads, routing, receipts, handoff state, and operational diagnosis. Orchestrators continue to own worktrees, dependency scheduling, task decomposition, and PR landing.

Release Contract

  • Release Please maintains the release PR from conventional squash commits on main. Do not create release branches, tags, or GitHub releases manually.
  • A push to main updates the AvivSinai marketplace for amq-cli and amq-spec.
  • Keep one version across CHANGELOG.md, .release-please-manifest.json, and skill/plugin metadata. After the release PR merges, release.yml validates that commit, creates the tag, and publishes GitHub and Homebrew artifacts.
  • make build and GoReleaser embed the same bare semver (for example 0.63.0, not v0.63.0); the Makefile strips one leading v from VERSION.
  • PR titles use type(scope): description. Squash merge makes the title the conventional commit on main. Use BEGIN_COMMIT_OVERRIDE in the PR body, or edit the release PR, when release notes need multiple entries. Each entry is one conventional header of at most 72 characters, separated by a blank line.
  • verify-brew-release.yml runs when release.yml actually publishes a release, and on demand, to confirm the published release installs from the real avivsinai/tap/amq formula. It ignores non-release merges (where release.yml completes but its own release job stays skipped) and drafts or prereleases. It retries the tap refresh and install for up to 6 attempts to absorb tap propagation lag, then requires amq --version to match the released tag and runs an init/send/drain round trip against a throwaway queue root to prove the installed binary works end to end. It never writes to the tap.

Read the full file on GitHub · 299 lines

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 · +7 lines · +110 tokens per session 026c4426d416
  2. 4d ago First seen · 292 lines · 3,584 tokens per session scan A 71963d352eb5

Subscribe to this mod's changes

agent-message-queue CLAUDE.md is an instructions file published in the GitHub repository avivsinai/agent-message-queue (85 stars, last pushed today), licensed MIT. It adds 3,694 tokens to every session, about $0.0185 per session on Opus 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.