messaging-queues

messaging-queues is a skill for Claude Code, Codex from kouroshez/coding-os. It costs 179 tokens per session (2,330 once invoked), scanned A, original, Apache-2.0.

A guide to asynchronous messaging, where work or events move through queues, brokers, or streams instead of waiting inside the current request. It explains queues, event logs, publish-subscribe systems, retries, ordering, and delivery guarantees.

In plain words
What is it for?
Use it when introducing RabbitMQ, Kafka, SQS, NATS, or Redis Streams; choosing queues versus event logs; designing retry-safe consumers; or handling retries, dead-letter queues, duplicates, and ordering.
Why use it?
Distributed systems can lose, duplicate, or reorder messages, especially when services fail or retry work. This guide helps you choose the right messaging shape and handle those failures safely.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when introducing RabbitMQ, Kafka, SQS, NATS, or Redis Streams; choosing queues versus event logs; designing retry-safe consumers; or handling retries, dead-letter queues, duplicates, and ordering.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kouroshez/coding-os/messaging-queues
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 kouroshez/coding-os --skill messaging-queues
Clone the repo
git clone --depth 1 https://github.com/kouroshez/coding-os

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 messaging-queues

README.md
[![agentmods](https://agentmods.dev/badge/skills/kouroshez/coding-os/messaging-queues/github.svg)](https://agentmods.dev/skills/kouroshez/coding-os/messaging-queues)
Your own site
<a href="https://agentmods.dev/skills/kouroshez/coding-os/messaging-queues"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/messaging-queues/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 messaging-queues

Your own site · 80×15
<a href="https://agentmods.dev/skills/kouroshez/coding-os/messaging-queues"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/messaging-queues.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 179 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,330 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 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.00179 $0.02330
Opus 5.5 $0.00072 $0.00932
Sonnet 5.5 $0.00036 $0.00466
Haiku 4.5 $0.00018 $0.00233

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

Security

Grade A, and why

messaging-queues 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 3mo 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.

src/core/skills/messaging-queues/SKILL.md · 143 lines

How it starts

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

Messaging & Queues — Async Delivery That Survives Failure

A practical guide to moving work off the request path and across service boundaries without losing, duplicating, or reordering it into corruption. Stack-agnostic; concrete recipes target RabbitMQ, Kafka, AWS SQS/SNS, NATS, and Redis Streams as the reference brokers.

When to Use This Skill

  • Introducing the first broker into a system that has only synchronous HTTP calls.
  • Choosing between a work queue, an event log, and pub/sub fan-out for a new flow.
  • Designing a consumer that must be safe to retry — idempotency, dedup, exactly-once illusions.
  • Sizing retry/backoff, dead-letter queues, and poison-message handling before launch.
  • Debugging duplicate processing, lost messages, or out-of-order delivery in production.
  • Deciding partition keys / ordering guarantees for an event stream.

Skip when: the caller needs the result synchronously in the same request — that is an HTTP/RPC contract (see api-design / grpc-microservices), not a queue.

The First Decision — Queue vs Log vs Pub/Sub

These three are not interchangeable. Pick by who consumes and whether history matters.

Shape Semantics Each message goes to Use when Reference broker
Work queue competing consumers, message removed on ack exactly one worker in the pool distribute jobs, scale horizontally RabbitMQ, SQS
Event log append-only, retained, replayable by offset every consumer group, independently event sourcing, audit, replay, multiple readers Kafka, Redis Streams
Pub/Sub fan-out, fire-and-forget, no retention every live subscriber once broadcast notifications, cache invalidation SNS, NATS, Redis pub/sub

The classic mistake is reaching for Kafka when a work queue is wanted (now there is partition/offset/consumer-group machinery for a job dispatcher) or using a pub/sub broadcast when at-least-once durable delivery is required (subscribers offline at publish time silently miss the message).

Read the full file on GitHub · 143 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. 3mo ago First seen · 143 lines · 179 tokens per session scan A df658ea5d73c

Subscribe to this mod's changes

messaging-queues is a skill published in the GitHub repository kouroshez/coding-os (7 stars, last pushed yesterday), licensed Apache-2.0. It adds 179 tokens to every session and 2,330 once invoked, about $0.0007 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-31.

Related

messaging-queues compared with skills from other repositories

messaging-queues next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
messaging-queueskouroshez/coding-osSkill7yesterdayApache-2.0A179Claude Code, Codex
potpie-repo-baselinepotpie-ai/potpieSkill5.8k5d agoApache-2.0A75Claude Code, Codex
potpie-infra-architecturepotpie-ai/potpieSkill5.8k5d agoApache-2.0A43Claude Code, Codex
potpie-project-preferencespotpie-ai/potpieSkill5.8k5d agoApache-2.0A63Claude Code, Codex
bi-causal-attributionagentscope-ai/QwenPaw-DataSkill210todayApache-2.0A76Claude Code, Codex
binder-appmpazik/BinderSkill411mo agoMITA74Claude Code, Codex
api-agent-readyGeckoVision/gecko-surfSkill221mo agoApache-2.0A186Claude Code