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.
npx skills add fcsouza/agent-skills --skill bullmq-game-queuesgit clone --depth 1 https://github.com/fcsouza/agent-skillsWrote 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/skills/fcsouza/agent-skills/bullmq-game-queues)<a href="https://agentmods.dev/skills/fcsouza/agent-skills/bullmq-game-queues"><img src="https://agentmods.dev/badge/skills/fcsouza/agent-skills/bullmq-game-queues/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/skills/fcsouza/agent-skills/bullmq-game-queues"><img src="https://agentmods.dev/badge/skills/fcsouza/agent-skills/bullmq-game-queues.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.00084 | $0.01882 |
| Opus 5.5 | $0.00034 | $0.00753 |
| Sonnet 5.5 | $0.00017 | $0.00376 |
| Haiku 4.5 | $0.00008 | $0.00188 |
Grade A, and why
bullmq-game-queues 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 19d 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 — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
BullMQ Game Queues
Working BullMQ 6 code for a game backend. The code in boilerplate/ and templates/ compiles against bullmq 6.7.6. For any API this skill does not cover, read the BullMQ docs at https://docs.bullmq.io.
Setup
bun add bullmq ioredis
BullMQ 6 connects with ioredis by default but lists it only as an optional peer dependency, so install it yourself (https://docs.bullmq.io/guide/connections). redis-game-patterns explains why the bundle uses ioredis.
Then copy the files in the order numbered under Files.
One queue per domain
| Queue | Holds | Why it is separate |
|---|---|---|
matchmaking |
find-match, cancel | Players are waiting on it |
game-event |
match results, action resolution | Changes live game state |
reward |
grants, daily login, achievements | Must pay exactly once |
notification |
push, in-game mail, email | Bound by a provider's send limit |
analytics |
tracking, aggregation | Must never slow the others |
Separate queues let you scale, pause and drain one domain without touching the rest.
Priority rules
- Matchmaking stays ahead of analytics because they are separate queues with their own workers: an analytics backlog never sits in front of a matchmaking job. Job
prioritydoes not order one queue against another. - Use
priorityonly inside one queue, for example to grant purchase rewards before daily-login rewards. A lower number runs first. - A job with no
priorityruns before every prioritized job. In a queue that uses priorities, give every job one. - Size each queue's worker concurrency (
concurrencySettingsintemplates/queue-config.ts) to its own load. If analytics workers compete for CPU with matchmaking, run them in other processes.
Idempotent processors
BullMQ retries failed jobs and re-runs stalled ones, so any job can run more than once.
- Every job that changes player state carries an
idempotencyKey. The worker checks it, applies the change and records the key in one database transaction. Checking and marking in two separate writes pays twice if the worker crashes between them. - To stop the same job being enqueued twice, give it a custom
jobIdsuch asseason-end-${seasonId}. A second add with that id is ignored while the first job exists. Ids must not contain colons or be plain integers. - Keep each job small: one state change per job. Spawn follow-up jobs (rewards, notifications) instead of doing everything in one processor.
- Pass ids in job data, not whole records. The worker loads current state from the database.
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 19d ago Changed · -30 lines · +37 tokens per session facf9c2ad5ef
- 3mo ago First seen · 136 lines · 47 tokens per session scan A 439430d0776c
bullmq-game-queues is a skill published in the GitHub repository fcsouza/agent-skills (29 stars, last pushed today), licensed MIT. It adds 84 tokens to every session and 1,882 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-30.
bullmq-game-queues compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bullmq-game-queuesfcsouza/agent-skills | Skill | 29 | today | MIT | A | 84 | Claude Code |
| scenario-godot-multiplayerscenario-labs/skills | Skill | 4.7k | yesterday | MIT | A | 132 | Claude Code |
| league-akari-sgp-data-sourceLeagueAkari/LeagueAkari | Skill | 4.9k | yesterday | MIT | A | 50 | Claude Code, Codex |
| csharp-godotjame581/GodotPrompter | Skill | 1.0k | 2d ago | MIT | A | 34 | Claude Code |
| web-servicesjame581/GodotPrompter | Skill | 1.0k | 2d ago | MIT | A | 64 | Claude Code |
| gamedev-multiplayerericrisco/rsc-harness | Skill | 707 | yesterday | MIT | A | 86 | Claude Code, Codex |
| cloudflare-durable-objectssecondsky/claude-skills | Skill | 257 | 3d ago | MIT | A | 43 | Claude Code |