queue-monitoring

queue-monitoring is a skill for Claude Code, Codex from makifbaysal/tasktrooper. It costs 66 tokens per session (985 once invoked), scanned A, original, Apache-2.0.

A guide to monitoring message queues and worker consumers across Kafka, RabbitMQ, NATS, and Redis. It explains whether to read backlog data directly from the broker or through an exporter, and which consumer metrics to add.

In plain words
What is it for?
Use it to define backlog, consume-rate, and error monitoring for workers, including the data source, metric names, and consumer-side signals.
Why use it?
It removes the uncertainty of where queue metrics come from and avoids adding application code when the broker already provides the needed data.

Skill for Claude CodeCodex

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

Good fit Use it to define backlog, consume-rate, and error monitoring for workers, including the data source, metric names, and consumer-side signals.

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

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 queue-monitoring

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/queue-monitoring"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/queue-monitoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 985 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.00066 $0.00985
Opus 5.5 $0.00026 $0.00394
Sonnet 5.5 $0.00013 $0.00197
Haiku 4.5 $0.00007 $0.00098

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

Security

Grade A, and why

queue-monitoring 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 1mo 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.

catalog/agents/release-engineer/skills/queue-monitoring/SKILL.md · 40 lines

How it starts

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

Queue monitoring

A worker's golden signals are its backlog (messages waiting), its consume rate and its errors. The backlog is read at the broker; the rate and the errors are best emitted by the consumer itself. Decide per broker which path exists before you open a task.

Read the broker first: no code change at all

TaskTrooper reads three brokers directly as data sources of their own kind — kafka, rabbitmq, nats — and their direct recipes (kafka-direct, rabbitmq-direct, nats-direct) bind a worker's backlog to a consumer group, queue or JetStream consumer. When a person can add that data source (broker address and credentials), nothing has to be built: say so on the card and propose the binding once the source exists.

Or a Prometheus exporter next to the broker

Broker Exporter What the recipes read
Kafka danielqsj/kafka_exporter (recipe kafka-exporter) kafka_consumergroup_lag{consumergroup,topic,partition}, kafka_topic_partition_current_offset
Kafka redpanda-data/kminion (recipe kminion) kminion_kafka_consumer_group_topic_lag{group_id,topic_name}
RabbitMQ the built-in rabbitmq_prometheus plugin, port 15692 (recipe rabbitmq-prometheus) rabbitmq_queue_messages_ready, rabbitmq_queue_messages_unacked per queue — scrape /metrics/detailed?family=queue_coarse_metrics (or /metrics/per-object), since the default /metrics aggregates queues away
NATS JetStream nats-io/prometheus-nats-exporter with -jsz=all (recipe nats-exporter) the consumer's num_pending and ack-pending gauges
Redis lists (Sidekiq, Bull, RQ, custom) oliver006/redis_exporter with -check-keys / -check-single-keys naming the queue keys (recipe redis-exporter-lists) redis_key_size{key="queue:default"}
AWS SQS / GCP Pub/Sub none needed: CloudWatch ApproximateNumberOfMessagesVisible and Cloud Monitoring subscription/num_undelivered_messages (recipes aws-sqs, gcp-pubsub) read through the cloud's own data source

Read the full file on GitHub · 40 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. 1mo ago First seen · 40 lines · 66 tokens per session scan A 9869e6b431d7

Subscribe to this mod's changes

queue-monitoring is a skill published in the GitHub repository makifbaysal/tasktrooper (123 stars, last pushed today), licensed Apache-2.0. It adds 66 tokens to every session and 985 once invoked, about $0.0003 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-10-18.

Related

queue-monitoring compared with skills from other repositories

queue-monitoring next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
queue-monitoringmakifbaysal/tasktrooperSkill123todayApache-2.0A66Claude Code, Codex
paperclip-create-agentpaperclipai/paperclipSkill118kyesterdayMITA44Claude Code, Codex
agent-topology-optimizerruvnet/rufloSkill83ktodayMITA21Claude Code
ramppaperclipai/paperclipSkill118kyesterdayMITA35Claude Code, Codex
paperclip-task-bridgepaperclipai/paperclipSkill118kyesterdayMITA27Claude Code, Codex
github-pr-workflowpaperclipai/paperclipSkill118kyesterdayMITA39Claude Code, Codex
agent-v3-memory-specialistruvnet/rufloSkill83ktodayMITA25Claude Code