Message Queues
RabbitMQ, Kafka, SQS, pub/sub, competing consumers, dead letter queues, and event streaming
Install
npx skills add cosmicstack-labs/mercury-agent-skills --skill message-queuesgit clone --depth 1 https://github.com/cosmicstack-labs/mercury-agent-skills.git /tmp/mercury-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/mercury-agent-skills/categories/backend/message-queues ~/.claude/skills/message-queuesPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Message Queues
Design reliable message-driven systems.
## Queue Types
| Queue | Persistence | Ordering | Use Case |
|-------|------------|----------|----------|
| RabbitMQ | Optional | Per queue | Task distribution, RPC |
| Apache Kafka | Durable (disk) | Per partition | Event streaming, logs |
| AWS SQS | Durable | Best effort (std) / Strict (FIFO) | Serverless decoupling |
| Redis Pub/Sub | None | Per channel | Real-time notifications |
## RabbitMQ Patterns
### Work Queues (Competing Consumers)
```
Producer → Queue → Consumer 1
→ Consumer 2
→ Consumer 3
```
- Messages distributed round-robin
- Ack on success, nack on failure (requeue or DLQ)
- Prefetch count controls concurrency
### Pub/Sub (Exchange → Binding → Queue)
- Fanout: broadcast to all queues
- Direct: route by routing key
- Topic: route by pattern (user.*, user.created)
- Headers: route by header values
## Kafka Patterns
### Topics & Partitions
- Messages within a partition are ordered
- Partitions enable parallelism
- Consumer group = one instance per partition
### Producer
```javascript
await producer.send({
topic: 'order-events',
messages: [{ key: orderId, value: JSON.stringify(order) }],
});
```
### Consumer
```javascript
await consumer.run({
eachMessage: async ({ topic, partition, message }) => {
await processOrder(message.value);
},
});
```
## Dead Letter Queues
- Messages that can't be processed go to DLQDetails
- Skill name
message-queues- Repository
- cosmicstack-labs/mercury-agent-skills
- Path
categories/backend/message-queues/SKILL.md- License
- MIT
- Repo updated
- 25 August 2026
FAQ
What does the Message Queues skill do?
RabbitMQ, Kafka, SQS, pub/sub, competing consumers, dead letter queues, and event streaming
How do I install the Message Queues skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add cosmicstack-labs/mercury-agent-skills --skill message-queues. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Message Queues popular?
It lives in cosmicstack-labs/mercury-agent-skills, which has 492 GitHub stars and 68 forks.
Related skills
Accessibility
492cosmicstack-labs/mercury-agent-skills
Achieve and maintain WCAG compliance through inclusive design practices, proper ARIA usage, and comprehensive testing methodologies.
Accessibility Testing
492cosmicstack-labs/mercury-agent-skills
WCAG 2.1/2.2 audit, axe, Lighthouse, manual testing, screen reader testing, and remediation
Agent Audit Logging
492cosmicstack-labs/mercury-agent-skills
Implement comprehensive audit logging and reporting for multi-agent systems. Covers event capture, structured logging, traceability, compliance reporting, forensic analysis, and real-time monitoring dashboards for agent actions and decisions.
Microservices
492cosmicstack-labs/mercury-agent-skills
Service boundaries, communication patterns, event sourcing, CQRS, and distributed tracing
Markdown Mastery
492cosmicstack-labs/mercury-agent-skills
Markdown Mastery: Advanced markdown, Mermaid diagrams, GitHub-flavored markdown, formatting patterns
Nodejs Patterns
492cosmicstack-labs/mercury-agent-skills
Async control flow, error handling, module design, streams, and production hardening
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.