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 nimadorostkar/Claude-Skills-collection --skill background-jobsgit clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collectionWrote 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/nimadorostkar/claude-skills-collection/background-jobs)<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/background-jobs"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/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/nimadorostkar/claude-skills-collection/background-jobs"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/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.00090 | $0.01088 |
| Opus 5.5 | $0.00036 | $0.00435 |
| Sonnet 5.5 | $0.00018 | $0.00218 |
| Haiku 4.5 | $0.00009 | $0.00109 |
Grade A, and why
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 1mo 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 — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Background Jobs
Purpose
Move work out of the request path without losing it. A job system is a distributed system with a friendly interface; the failure modes are the same, and they are hidden until they are not.
When to Use
- Work that is slow, retriable, or must survive a request timeout: emails, exports, webhooks, media processing.
- Scheduled and recurring work.
- Diagnosing duplicate side effects, stuck queues, or jobs that silently disappear.
Capabilities
- Queue and worker design, including priority and isolation.
- Idempotency and exactly-once effects.
- Retry policy: backoff, jitter, attempt limits, dead-letter handling.
- Scheduling: cron jobs, delayed jobs, and deduplicating them across instances.
- Observability: queue depth, age, failure rate.
Inputs
- The work to be done and whether it can safely run twice.
- Latency expectations: seconds, minutes, or overnight.
- Volume, and how bursty it is.
Outputs
- Job handlers that are idempotent by construction.
- Explicit retry and DLQ policies per job type.
- Alerts on queue depth and oldest-message age.
Workflow
- Make it idempotent first — Before anything else. A job will run twice; design so that this is harmless. Key the side effect, not the invocation.
- Pass identifiers, not objects — Enqueue
{"order_id": "..."}, not a serialized order. By the time the job runs, the object may be stale. - Set the retry policy per job — A transient network failure deserves exponential backoff and ten attempts. A validation failure deserves zero retries and a DLQ.
- Isolate the queues — A flood of low-priority image resizes must not delay password-reset emails. Separate queues, separate workers.
- Deduplicate scheduled work — With multiple instances, every instance's scheduler fires. Use a lock keyed on the job name and window.
- Alert on age, not just depth — A queue with 10 messages that are 3 hours old is a worse signal than a queue with 10,000 that are 5 seconds old.
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.
- 1mo ago Changed · +49 tokens per session d0130d8f44f2
- 3mo ago First seen · 99 lines · 41 tokens per session scan A 33a8c8a808e9
background-jobs is a skill published in the GitHub repository nimadorostkar/Claude-Skills-collection (41 stars, last pushed today), licensed MIT. It adds 90 tokens to every session and 1,088 once invoked, about $0.0004 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.
background-jobs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| background-jobsnimadorostkar/Claude-Skills-collection | Skill | 41 | today | MIT | A | 90 | Claude Code |
| offensive-api-abuseSnailSploit/Claude-Red | Skill | 12k | 13d ago | MIT | B | 184 | Claude Code, Codex |
| offensive-graphqlSnailSploit/Claude-Red | Skill | 12k | 13d ago | MIT | B | 219 | Claude Code, Codex |
| agent-readiness-auditmohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 117 | Claude Code |
| mcp-server-specmohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 101 | Claude Code |
| api-docs-writermohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | B | 80 | Claude Code, Codex |
| agent-ready-auth-mdfabricioctelles/skills | Skill | 150 | 4d ago | Apache-2.0 | A | 37 | Claude Code, Codex |