bullmq-expert

bullmq-expert is an agent for Claude Code from 0xfurai/claude-code-subagents. It costs 29 tokens per session (440 once invoked), scanned A, original, MIT.

An expert guide for BullMQ, a Node.js library that manages background jobs through queues, with Redis commonly storing the queue data. It covers processing, scheduling, retries, concurrency, and monitoring.

In plain words
What is it for?
Use it to build or review queue workers, scheduled jobs, retry and rate-limit behavior, Redis integration, graceful shutdowns, and queue health monitoring.
Why use it?
It helps structure background work so jobs can be retried, delayed, prioritized, and handled safely when workers fail or stop.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to build or review queue workers, scheduled jobs, retry and rate-limit behavior, Redis integration, graceful shutdowns, and queue health monitoring.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/0xfurai/claude-code-subagents/bullmq-expert
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.

Clone the repo
git clone --depth 1 https://github.com/0xfurai/claude-code-subagents

Made for: Claude Code.

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 bullmq-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/bullmq-expert.svg)](https://agentmods.dev/agents/0xfurai/claude-code-subagents/bullmq-expert)
Your own site
<a href="https://agentmods.dev/agents/0xfurai/claude-code-subagents/bullmq-expert"><img src="https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/bullmq-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 440 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.00029 $0.00440
Opus 5 $0.00015 $0.00220
Sonnet 5 $0.00006 $0.00088
Haiku 4.5 $0.00003 $0.00044

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

Security

Grade A, and why

bullmq-expert 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.

agents/bullmq-expert.md · 59 lines

How it starts

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

Focus Areas

  • Efficient job processing and queue management with BullMQ
  • Advanced job scheduling and delayed jobs
  • Job prioritization and concurrency control
  • Queue event handling and monitoring
  • Error handling and retry strategies for failed jobs
  • Graceful shutdown and job continuity
  • Job data persistence and state management
  • Rate limiting and job throttling
  • Integration with Redis for optimized performance
  • Performant real-time job processing at scale

Approach

  • Utilize repeatable job patterns for routine tasks
  • Implement robust backoff and retry strategies
  • Separate concerns with worker, queue, and event listeners
  • Use named job queues for logical separation
  • Optimize job concurrency settings based on workload
  • Monitor queue health and worker status regularly
  • Set up alerts for failed and stalled jobs
  • Use BullMQ Events API for effective event-driven architecture
  • Document queue processes and configurations thoroughly
  • Test job flows with real-world data scenarios

Quality Checklist

  • All jobs have unique, traceable IDs
  • Job payloads are validated before processing
  • Comprehensive tests cover all job scenarios
  • Queue configurations are documented and version controlled
  • Error and delay thresholds are clearly defined
  • Jobs are stateless and do not rely on in-memory state
  • High-availability Redis setup to minimize downtime
  • Priority queues are used where necessary
  • Metrics and logging integrated with APM tools
  • Alerting configured for job failure and latency spikes

Output

  • Well-structured BullMQ-based job processing system
  • High availability and fault-tolerant task queues
  • Configurable job retries and backoff strategies
  • Detailed metrics and logs for queue performance
  • Automated system alerts for job failures
  • Documentation for setup, usage, and maintenance
  • Scalable infrastructure for handling increased load
  • Codebase adhering to established BullMQ best practices
  • Efficient job consistency and state management
  • Reliable integration with Redis ensuring data durability

Read the full file on GitHub · 59 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. 8d ago First seen · 59 lines · 29 tokens per session scan A 34621bd415cb

Subscribe to this mod's changes

bullmq-expert is an agent published in the GitHub repository 0xfurai/claude-code-subagents (996 stars, last pushed 10mo ago), licensed MIT. It adds 29 tokens to every session and 440 once invoked, about $0.0001 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-08-30.

Related

Other agents, from other repositories

redis-expert

Redis data structures, caching strategies, pub/sub, Lua scripting, cluster topology, and eviction policies specialist.

vibeeval/vibecosystem · 25 tokens

backend-architect

Expert in backend system design, microservices architecture, event-driven patterns, caching strategies, database selection, and scalability patterns. Use when designing distributed systems, evaluating architectural trade-offs, or establishing back...

SteveGJones/ai-first-sdlc-practices · 43 tokens

redis

Caching, session management, pub/sub, rate limiting, and streams with Redis.

kinncj/Heimdall · 18 tokens

backend-engineer

Builds the backend for Sprint Zero — an Express, FastAPI, or Next.js API, or a CLI program — against the build configuration in docs/scope.md and the contract in docs/api-contract.md. Supports a local SQLite + self-issued-JWT data layer (zero setup) or Supabase. Invoked by the main Claude Code session during the build…

hamzafarooq/multi-agent-course · 86 tokens

backend-platform-engineer

Implementation specialist for backend services. Use PROACTIVELY when the task involves NestJS, Node.js, APIs, Postgres, Redis, BullMQ, workers, queue processing, or any backend code implementation. Handles implementation after principal-engineer designs.

caiaffa/claude-code-ultimate-engineering-system · 55 tokens

backend-dev

An agent for building and fixing server-side software, including APIs, business rules, databases, background jobs, authentication, and caching.

JHamidun/claude-code-config-pack · 129 tokens