backend-message-queue

backend-message-queue is a skill for Claude Code, Codex from j4flmao/agent-skills. It costs 161 tokens per session (4,650 once invoked), scanned A, original, MIT.

A guide to processing work through message queues and event buses, which let services communicate asynchronously instead of waiting for each other directly. It covers message delivery, consumers, retries, and dead-letter queues.

In plain words
What is it for?
Use it to design Kafka, RabbitMQ, or SQS flows, including topics, queues, delivery guarantees, idempotent consumers, retries, and failed-message handling.
Why use it?
It helps services handle background work and temporary failures without losing messages or creating duplicate effects.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument; mentions Codex.

Good fit Use it to design Kafka, RabbitMQ, or SQS flows, including topics, queues, delivery guarantees, idempotent consumers, retries, and failed-message handling.

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

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 backend-message-queue

README.md
[![agentmods](https://agentmods.dev/badge/skills/j4flmao/agent-skills/message-queue/github.svg)](https://agentmods.dev/skills/j4flmao/agent-skills/message-queue)
Your own site
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/message-queue"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/message-queue/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 backend-message-queue

Your own site · 80×15
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/message-queue"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/message-queue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 161 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,650 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 pass 7 Sept 2026
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.00161 $0.04650
Opus 5 $0.00081 $0.02325
Sonnet 5 $0.00032 $0.00930
Haiku 4.5 $0.00016 $0.00465

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

Security

Grade A, and why

backend-message-queue 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 8d 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.

skills/backend/universal/message-queue/SKILL.md · 514 lines

How it starts

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

Backend Message Queue

Purpose

Design consistent, production-grade message-driven systems. Every message flow must follow the same conventions for broker selection, topic/queue topology, message schema, delivery guarantees, consumer idempotency, retry, and dead-letter handling.

Agent Protocol

Trigger

Exact user phrases: "message queue", "Kafka", "RabbitMQ", "SQS", "pub-sub", "event bus", "consumer group", "topic", "queue", "at-least-once", "exactly-once", "idempotent consumer", "event sourcing", "dead letter queue", "DLQ", "message broker", "producer", "consumer", "event-driven", "async processing", "design a message flow".

Input Context

Before activating, verify:

  • The business event or asynchronous task is known.
  • The delivery guarantee requirement (at-most-once / at-least-once / exactly-once) is known. If not, ask: "What delivery guarantee do you need?"
  • The throughput requirement is known.
  • The broker preference (Kafka / RabbitMQ / SQS) is known. If not, ask: "Which broker? Kafka (high throughput, replay), RabbitMQ (routing, flexibility), or SQS (managed, simple)?"

Output Artifact

No file output unless the user requests it. Produces messaging topology specs as text.

Response Format

For each topic/queue:

Broker: {Kafka | RabbitMQ | SQS}
Name: {topic or queue name}
Type: {topic | queue | exchange + queue}
Partitions: {number} / Shards: {number}
Retention: {TTL or size limit}
Consumers: {consumer group or worker pool}
Dead-letter: {DLQ name}

For each message type:

Schema: {event_name} v{version}
Key: {partition key field}
Payload: {field list}
Guarantee: {at-most-once | at-least-once | exactly-once}
Idempotency key: {field name}

No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output — why use many token when few do trick.

Completion Criteria

  • Broker is selected with justification.
  • Every topic/queue has: name, type, partitions, retention, consumers, DLQ.
  • Every message has: schema with version, key, payload, delivery guarantee, idempotency key.
  • Consumer failure handling (retry policy, DLQ routing) is defined.
  • Ordering requirements are documented (key-based partitioning).
  • Schema evolution strategy is defined.

Read the full file on GitHub · 514 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. 8d ago First seen · 514 lines · 161 tokens per session scan A 460bed621a80

Subscribe to this mod's changes

backend-message-queue is a skill published in the GitHub repository j4flmao/agent-skills (23 stars, last pushed 5d ago), licensed MIT. It adds 161 tokens to every session and 4,650 once invoked, about $0.0008 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-09-03.