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 j4flmao/agent-skills --skill background-jobsgit clone --depth 1 https://github.com/j4flmao/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/j4flmao/agent-skills/background-jobs)<a href="https://agentmods.dev/skills/j4flmao/agent-skills/background-jobs"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/background-jobs/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/j4flmao/agent-skills/background-jobs"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/background-jobs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00076 | $0.05853 |
| Opus 5.5 | $0.00030 | $0.02341 |
| Sonnet 5.5 | $0.00015 | $0.01171 |
| Haiku 4.5 | $0.00008 | $0.00585 |
Grade A, and why
backend-background-jobs 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 16d 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 — 648 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Backend Background Jobs
Purpose
Design reliable background job processing with queue topology, retry, concurrency, and monitoring. Every job must be idempotent, retryable, observable, and gracefully handled on failure.
Agent Protocol
Trigger
Exact user phrases: "background job", "task queue", "worker", "job processing", "cron job", "scheduled task", "async task", "job retry", "queue worker", "Sidekiq", "Celery", "Bull", "delayed job", "job priority", "job scheduling".
Input Context
- Job types (fire-and-forget, delayed, scheduled, chained).
- Queue backend (Redis, SQS, database table, RabbitMQ).
- Job duration (affects concurrency and timeout).
- Retry requirements (max retries, retry interval, irrecoverable failure definition).
Output Artifact
Job and worker design as formatted text.
Response Format
// Job contract (interface/type)
// Worker implementation outline
# Queue topology config
# Retry policy
# Concurrency rules
No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output.
Completion Criteria
- Job defined with idempotency key and full payload schema
- Retry strategy with exponential backoff and jitter configured
- Queue topology defined (default, priority, dead letter, scheduling queues)
- Worker concurrency and graceful shutdown configured
- Monitoring hooks for success/failure/metrics
- Scheduled/cron jobs defined with timezone and error notification
Architecture Decision Trees
Queue Backend Selection
What infrastructure do you already have?
├── Redis already in stack?
│ ├── Jobs < 100KB, sub-minute duration?
│ │ ├── Yes → Bull/BullMQ (built-in priority, delay, DLQ)
│ │ └── No → Consider RabbitMQ for complex routing
│ └── Need persistence and high throughput?
│ └── Bull with Redis Cluster or SQS
├── AWS-native?
│ ├── Jobs fit in 256KB? → SQS (fully managed, unlimited throughput)
│ ├── Need FIFO ordering? → SQS FIFO (exactly-once, 300 TPS)
│ └── Need long-running jobs? → SQS + Step Functions
├── Need transactional consistency with DB?
│ └── Database-backed queue (simplest setup, no infra)
└── Need complex routing (topic exchanges, headers)?
└── RabbitMQ
What ships with it
9 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.
- references/background-jobs-advanced.md 5.1 KB
- references/background-jobs-chaining.md 3.8 KB
- references/background-jobs-fundamentals.md 3.4 KB
- references/job-monitoring.md 3.4 KB
- references/job-patterns.md 4.9 KB
- references/job-scheduling.md 7.5 KB
- references/job-testing.md 6.8 KB
- references/job-types.md 7.0 KB
- references/queue-setup.md 7.8 KB
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.
- 16d ago Changed · +1 lines · -6 tokens per session 651ca95e3474
- 3mo ago First seen · 647 lines · 82 tokens per session scan A b49c73bdf0f4
backend-background-jobs is a skill published in the GitHub repository j4flmao/agent-skills (47 stars, last pushed 17d ago), licensed MIT. It adds 76 tokens to every session and 5,853 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-09-03.
backend-background-jobs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| backend-background-jobsj4flmao/agent-skills | Skill | 47 | 17d ago | MIT | A | 76 | Claude Code, Codex |
| rails-code-reviewbeel-collab/presets.dev | Skill | 3 | 11d ago | MIT | A | 39 | Claude Code, Codex |
| smplkitsmplkit/mcp | Skill | 0 | 7d ago | MIT | A | 247 | Claude Code, Codex |
| opentelemetrybobmatnyc/claude-mpm-skills | Skill | 79 | 4mo ago | MIT | A | 29 | Claude Code |
| background-job-queue-designcuriositech/windags-skills | Skill | 21 | 7d ago | none | A | 146 | Claude Code |
| laravel-queuesAtulPurohit/Antigravity-Awesome-Skills | Skill | 6 | 4mo ago | none | A | 32 | Claude Code, Codex |
| async-jobnohunt-bot/fastMCP-example | Skill | 0 | 3mo ago | none | A | 44 | Claude Code, Codex |