Node background jobs
Runs background jobs in Node with BullMQ: retries, rate limits, schedules and job flows.
Claude's review
7/10 Current BullMQ reference covering job schedulers, flows and the v6 breaking changes.
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Runs background jobs in Node.js with BullMQ, a job queue library backed by Redis (or PostgreSQL since v6): delayed and prioritized jobs, retries with backoff, rate limiting, cron-style job schedulers, parent-child flows and concurrency control. Use when a user asks to add a background worker, queue emails or webhooks, schedule recurring jobs, retry failed jobs, rate limit an API client, or migrate from Bull or from BullMQ 5 repeatable jobs.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: bull-mq
description: >-
Runs background jobs in Node.js with BullMQ, a job queue library backed by Redis (or PostgreSQL since v6): delayed and prioritized jobs, retries with backoff, rate limiting, cron-style job schedulers, parent-child flows and concurrency control. Use when a user asks to add a background worker, queue emails or webhooks, schedule recurring jobs, retry failed jobs, rate limit an API client, or migrate from Bull or from BullMQ 5 repeatable jobs.
license: Apache-2.0
compatibility: "Node.js 14.17 or newer (BullMQ 6.x), TypeScript recommended. Needs a Redis server (or Valkey, Dragonfly) with maxmemory-policy noeviction, or PostgreSQL 13+ with the pg package. The ioredis package must be installed separately since BullMQ 6."
metadata:
author: terminal-skills
version: "1.1.0"
category: development
tags: "queue, redis, background-jobs, worker, node"
repository: https://github.com/taskforcesh/bullmq
---
# BullMQ — Redis-Based Job Queue for Node.js
## Overview
BullMQ moves slow or unreliable work out of the request path. A **Queue** adds jobs, one or more **Workers** (usually separate processes) take them, and **QueueEvents** observes what happened. Jobs survive restarts because they live in Redis. Features: delays, priorities, retries with backoff, global rate limits, deduplication, job schedulers for recurring work, and **FlowProducer** for trees of dependent jobs.
Version notes (checked October 2026, bullmq 6.3.x):
- **BullMQ 6** (July 2026) adds pluggable backends: Redis stays the default, PostgreSQL is optional via `createPostgresBackend`.
- `ioredis` is no longer a dependency. Install it yourself: `npm install bullmq ioredis`. The `redis` package (node-redis) and Bun's built-in Redis client also work through adapters, but ioredis is what BullMQ creates by default.
- Legacy repeatable jobs are gone. `add(name, data, { repeat })`, `getRepeatableJobs()` and `removeRepeatable()` were replaced by **job schedulers** (`upsertJobScheduler`). In a test against 6.3.11 a leftover `repeat` option was accepted without error but created no schedule; the job simply ran once.
- `QueueScheduler` was removed in BullMQ 2; delayed jobs, retries and stalled-job recovery work without it. Old code that imports it will not compile.
- `Queue#client`, `Worker#blockingClient` and the `debounce` option are removed (use `deduplication`), and `queue.resume()` must be awaited.
## Instructions
### Queue, worker and retries
```typescript
import { Queue, Worker } from "bullmq";
import IORedis from "ioredis";
// Workers need maxRetriesPerRequest: null so Redis hiccups do not crash blocking commands
const connection = new IORedis(process.env.REDIS_URL ?? "redis://127.0.0.1:6379", { maxRetriesPerRequest: null });
export const emailQueue = new Queue("email", { connection });
...From TerminalSkills's repository, Apache-2.0 licence.
Related skills
-
Checked
PostgreSQL schema explorer
Explores an unfamiliar PostgreSQL database read only before writing SQL, so answers about your data are right.
7/101 credit -
Checked
HTTP API design review
Designs or reviews HTTP endpoints, auth, pagination and versioning, so API changes do not break your clients.
7/101 credit -
Checked
Firebase Data Connect
Builds and deploys Firebase Data Connect backends on PostgreSQL with secure queries and type safe SDKs.
7/101 credit -
Checked
App performance tuning
Measures first, then fixes slow pages, Core Web Vitals and N+1 database queries across your whole app.
7/101 credit -
Checked
Safe Postgres migrations
Plans and tests PostgreSQL schema changes with lock levels in mind, so live tables change without downtime.
8/101 credit -
Checked
Supabase auth and database
Builds with Supabase auth, database, storage and edge functions while avoiding common security traps.
8/101 credit