claude-forge: Skill for Claude Code

.claude/skills/setup-bullmq/SKILL.md

setup-bullmq is a skill for Claude Code from arunanksharan/claude-forge. It costs 74 tokens per session (761 once invoked), scanned A, original, Unlicense.

A setup guide for BullMQ, a Node.js system for putting background tasks into Redis, an in-memory data store, and processing them with workers. It covers NestJS and Express applications.

In plain words
What is it for?
Use it to add queues and workers for tasks such as emails, billing, scheduled jobs, or long-running processing in a Node.js app.
Why use it?
It lets slow or scheduled work run outside the web request, while providing guidance for retries, duplicate-safe processing, and administration.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is arunanksharan/claude-forge's own configuration. It tells Claude Code how to work on claude-forge itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-forge configures →

Reuse

Borrowing it

Nothing to install: this file belongs to arunanksharan/claude-forge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/arunanksharan/claude-forge/main/.claude/skills/setup-bullmq/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/arunanksharan/claude-forge

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/arunanksharan/claude-forge/setup-bullmq/github.svg)](https://agentmods.dev/skills/arunanksharan/claude-forge/setup-bullmq)
Your own site
<a href="https://agentmods.dev/skills/arunanksharan/claude-forge/setup-bullmq"><img src="https://agentmods.dev/badge/skills/arunanksharan/claude-forge/setup-bullmq/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 setup-bullmq

Your own site · 80×15
<a href="https://agentmods.dev/skills/arunanksharan/claude-forge/setup-bullmq"><img src="https://agentmods.dev/badge/skills/arunanksharan/claude-forge/setup-bullmq.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 761 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.00074 $0.00761
Opus 5.5 $0.00030 $0.00304
Sonnet 5.5 $0.00015 $0.00152
Haiku 4.5 $0.00007 $0.00076

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

Security

Grade A, and why

setup-bullmq 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 2mo 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.

.claude/skills/setup-bullmq/SKILL.md · 41 lines

What it actually says

Set Up BullMQ for Background Jobs (claudeforge)

Follow async-and-queues/bullmq.md and backend/nestjs/05-bullmq-queues.md (Nest-specific) or backend/nodejs-express/05-bullmq-workers.md (Express). Steps:

  1. Confirm with user:
    • Stack: Nest or plain Express?
    • Already have Redis? If not, set up via Docker compose.
    • Use cases: emails, billing, scheduled, long-running?
  2. Install + configure:
    • Nest: pnpm add @nestjs/bullmq bullmq ioredis
    • Express: pnpm add bullmq ioredis
    • Create queue/connection.ts with the IORedis instance (maxRetriesPerRequest: null is required by BullMQ)
  3. Define queues (queue/queues.ts):
    • One Queue per SLA group (emails, billing, long)
    • defaultJobOptions: { removeOnComplete: { age, count }, removeOnFail: { age }, attempts: 3, backoff: { type: 'exponential', delay: 5000 } }
  4. Define processors / workers:
    • Nest: @Processor('emails') class EmailProcessor extends WorkerHost { async process(job) { ... } }
    • Express: new Worker('emails', async (job) => {...}, { connection, concurrency }) in a separate file
    • Idempotency: every job handler checks state before mutating (DB flag, idempotency key, or natural)
    • Use jobId on add() for idempotent enqueueing
  5. Wire into the app:
    • Inject @InjectQueue('emails') private q: Queue (Nest) or import the queue (Express)
    • await q.add('welcome', { userId }, { jobId: \welcome:${userId}` })`
  6. Run workers:
    • Run as separate Node processes (not inside the API process). For PM2: separate apps in ecosystem.config.cjs. For Docker Compose: separate worker-* service.
  7. Monitoring with Bull Board:
    • Install @bull-board/api + @bull-board/express (or @bull-board/nestjs)
    • Mount under /admin/queues BEHIND auth + IP allowlist
  8. Repeatable jobs: at boot, register cron-like jobs with repeat: { pattern: '0 9 * * *' } and jobId: 'unique-id' so they don't duplicate on restart.
  9. Observability:
    • Sentry: worker.on('failed', (job, err) => Sentry.captureException(err, { tags: { queue, job_name } }))
    • OpenTelemetry: auto-instrumentation for ioredis covers most; add manual spans for the job body
  10. Verify: enqueue a job from a route, observe it process, see it in Bull Board.

Workers as separate processes, not in the API. Always make handlers idempotent.

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. 2mo ago First seen · 41 lines · 74 tokens per session scan A 5fdf80a0ba3d

Subscribe to this mod's changes

setup-bullmq is a skill published in the GitHub repository arunanksharan/claude-forge (2 stars, last pushed 6mo ago), licensed Unlicense. It adds 74 tokens to every session and 761 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-08-31.

Related

setup-bullmq compared with skills from other repositories

setup-bullmq next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setup-bullmqarunanksharan/claude-forgeSkill26mo agoUnlicenseA74Claude Code
using-redis-token-bucketsPostHog/posthog-fossSkill728yesterdayMITA148Claude Code, Codex
spring-data-redisrrezartprebreza/spring-boot-skillsSkill3412d agoMITA37Claude Code, Codex
background-job-orchestratorcuriositech/some_claude_skillsSkill263yesterdayMITA95Claude Code
using-redis-token-bucketsPostHog/posthogSkill41kyesterdaynoneA148Claude Code, Codex
nw-sd-patternsnWave-ai/nWaveSkill631yesterdayMITA43Claude Code
bull-mqTerminalSkills/skillsSkill192yesterdayApache-2.0A100Claude Code, Codex