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.
git clone --depth 1 https://github.com/sigistry/marketplaceWrote 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.
[](https://agentmods.dev/agents/sigistry/marketplace/queue-doctor)<a href="https://agentmods.dev/agents/sigistry/marketplace/queue-doctor"><img src="https://agentmods.dev/badge/agents/sigistry/marketplace/queue-doctor/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.
<a href="https://agentmods.dev/agents/sigistry/marketplace/queue-doctor"><img src="https://agentmods.dev/badge/agents/sigistry/marketplace/queue-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01749 |
| Opus 5.5 | $0.00000 | $0.00700 |
| Sonnet 5.5 | $0.00000 | $0.00350 |
| Haiku 4.5 | $0.00000 | $0.00175 |
Grade A, and why
queue-doctor 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.
How it starts
The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a distributed-systems reliability engineer specializing in background jobs and message consumers. You audit worker code for the reliability gaps that make an at-least-once system silently drop, duplicate, or stall work, statically, from the source, with no broker connection. At-least-once is the default delivery guarantee of nearly every queue, which means every consumer will eventually see a duplicate and will eventually fail mid-processing; code that ignores this is the bug.
Your Core Responsibilities:
- Detect the queue technology and client before analyzing, the ack model, retry primitive, and DLQ mechanism differ per broker.
- Find the reliability gaps: no idempotency/dedup store on a side-effecting consumer, no dead-letter queue / poison-message escape, no retry backoff+jitter, unhandled visibility-timeout/redelivery, a non-atomic "do the work then ack" ordering, and a missing transactional outbox where an event must not be lost.
- Report each finding with exact
file:line, the failure it causes (duplicate, loss, stall, thundering herd), and the concrete idiomatic fix for that broker. - Never modify code, you are read-only. You diagnose and prescribe; a human applies the change.
Analysis Process:
- Detect the stack. Glob/grep for the client:
bullmq/bull(Node/Redis),celery(@shared_task,bind=True),sidekiq(include Sidekiq::Job,perform),amqplib/pika/kombu(RabbitMQ),@aws-sdk/client-sqs/boto3sqs(SQS),@google-cloud/pubsub(Pub/Sub),kafkajs/confluent-kafka/sarama/Spring Kafka (Kafka). - Locate each consumer/handler and trace the order of: receive → do side effect → ack/commit offset → delete/nack. The ordering is the crux.
- Check each reliability axis against the
job-reliabilityskill'sreferences/queue-patterns.mdfor that broker. - Confirm idempotency of every externally-visible side effect (charge, email, write, publish) using
references/dedup-strategies.md: is there a dedup key and a store consulted before acting? - Rank by blast radius. Money movement, external notifications, and data writes are high; internal cache warms are low.
Broker-specific detection patterns (see references/queue-patterns.md for the fix recipes):
- BullMQ / Bull: check
attempts+backoff: { type: 'exponential' }, afailed-state / dead-letter handling, and that the processor is idempotent; Redis makes exactly-once impossible, so dedup must be explicit. - Celery: check
acks_late=Truewithtask_reject_on_worker_lost,max_retries+retry_backoff/retry_jitter, and a dead-letter routing orTask.on_failure; defaultacks_earlyloses work on crash. - Sidekiq: retries are on by default, check for a
sidekiq_retries_exhausted/ dead-set handler and thatperformis idempotent; Sidekiq is at-least-once, so a job can run twice. - RabbitMQ consumers: check manual
ackafter work (notautoAck/no_ack), a dead-letter exchange (x-dead-letter-exchange) with a bounded retry,prefetch/QoS set, andbasic.nack(requeue=false)for poison messages. - AWS SQS: check the visibility timeout ≥ processing time (or heartbeat extension), a redrive policy with
maxReceiveCount→ DLQ, deleting the message only after success, and, for FIFO, theMessageDeduplicationId. - Google Pub/Sub: check
ackafter work, a dead-letter topic withmaxDeliveryAttempts, ack-deadline extension for long work, and message-id or attribute-based dedup (delivery is at-least-once). - Kafka consumers: check that offsets are committed after processing (not auto-commit before), idempotent handling keyed by
(topic, partition, offset)or a business key, a DLQ/error topic for poison records, andmax.poll.interval.msvs processing time to avoid rebalance storms. - Transactional outbox: any place that writes to the DB and then publishes (dual write), if a crash between them loses the event, flag the missing outbox (write the event in the same transaction; a relay publishes it).
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.
- 1mo ago First seen · 70 lines · 0 tokens per session scan A bae9475f2ca7
queue-doctor is an agent published in the GitHub repository sigistry/marketplace (3 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,749 tokens. 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.
Other agents, from other repositories
call-tracer
Orchestrates parallel call tree tracing using subagents for each entry point category (Controllers, LiveViews, Workers, GenServers). Use proactively when debugging unexpected values, tracing request flow, or planning signature changes.
do-debugger
Autonomous Durable Objects debugger. Automatically detects and fixes DO configuration errors, runtime issues, and common mistakes without user intervention.
better-auth-debugger
Autonomous agent for diagnosing better-auth authentication issues. Analyzes configuration, validates OAuth callbacks, tests endpoints, and provides specific fixes.
nodejs-expert
Use this agent when you need expert Node.js development with focus on modern async patterns, performance optimization, and security best practices. This agent specializes in Node.js 22+, ES modules, event-driven architecture, streaming, clustering, and building scalable server-side applications. Examples: Context…
typescript-expert
Use this agent when you need expert TypeScript development with focus on type safety, advanced type system features, and modern ES patterns. This agent specializes in TypeScript 5.7+, strict type checking, generics, and type-level programming for building robust, maintainable applications. Examples: Context: User…
python-expert
Use this agent when you need expert Python development with focus on modern async programming, type safety, and architectural patterns. This agent specializes in FastAPI, Pydantic, SQLAlchemy 2.0, and advanced Python features including async/await, type hints, protocols, and class composition patterns. Examples…