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 glebis/claude-skills --skill background-agentsgit clone --depth 1 https://github.com/glebis/claude-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/glebis/claude-skills/background-agents)<a href="https://agentmods.dev/skills/glebis/claude-skills/background-agents"><img src="https://agentmods.dev/badge/skills/glebis/claude-skills/background-agents/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/glebis/claude-skills/background-agents"><img src="https://agentmods.dev/badge/skills/glebis/claude-skills/background-agents.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.00068 | $0.01223 |
| Opus 5.5 | $0.00027 | $0.00489 |
| Sonnet 5.5 | $0.00014 | $0.00245 |
| Haiku 4.5 | $0.00007 | $0.00122 |
Grade A, and why
background-agents 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 — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Background Agents
Run the requested work through a selected profile, verify the remote outcome, and return usable results with run references.
Keep four choices separate: execution backend (Trigger.dev by default), agent engine (for example Pi), model provider, and model. Changing one does not automatically change the others. Profiles select deployed tasks; they do not install a new engine or grant it tools.
Select configuration
Use the configuration explicitly supplied by the user, otherwise BACKGROUND_AGENT_PROFILES, otherwise agents.profiles.json in the working project. Do not search unrelated projects or reuse remembered account/project identifiers.
Read references/profiles.md when creating, extending or resolving profiles. Copy assets/profiles.example.json as a starting point; it contains environment references, not working deployment identifiers.
The standard-library helper lists and resolves profiles without executing jobs:
python3 scripts/profiles.py --config agents.profiles.json list
python3 scripts/profiles.py --config agents.profiles.json validate
python3 scripts/profiles.py --config agents.profiles.json resolve pi-openrouter
Run helper commands from this skill folder, or use the helper's resolved path and the project's configuration path. An explicit profile takes precedence over defaultProfile. Unset references, unknown profiles, disabled profiles and inheritance cycles stop resolution. An omitted backend resolves to Trigger.dev. An explicitly selected different backend must never silently fall back to Trigger.dev.
Confirm the deployed contract
Inspect the selected backend's task metadata or implementation before execution:
- Match project, environment, task, expected input/output and available tools.
- Verify engine/provider/model when the profile specifies them. A profile's model label is an expectation, not a model override supported by every task.
- Check actual concurrency, duration and retry settings. Profile limits describe desired bounds; they do not reconfigure a deployed task by themselves.
- For Trigger.dev, development runs use a local worker; cloud execution requires a deployed production, staging or preview worker. Keep the selected environment explicit.
- Distinguish a fresh per-run session from durable conversation state. Do not promise continuity unless the task implements it.
What ships with it
15 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.
- agents/openai.yaml 224 B
- assets/cloudflare-worker/.gitignore 48 B
- assets/cloudflare-worker/package.json 491 B
- assets/cloudflare-worker/src/index.ts 1.1 KB runs code
- assets/cloudflare-worker/src/pi-agent.ts 2.1 KB runs code
- assets/cloudflare-worker/tsconfig.json 253 B
- assets/cloudflare-worker/wrangler.jsonc 414 B
- assets/profiles.example.json 1.8 KB
- references/cloudflare.md 3.9 KB
- references/evidence-review.md 2.7 KB
- references/profiles.md 4.1 KB
- scripts/cloudflare_workflows.py 8.5 KB runs code
- scripts/profiles.py 8.4 KB runs code
- scripts/test_cloudflare_workflows.py 2.7 KB runs code
- scripts/test_profiles.py 3.8 KB runs code
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 First seen · 77 lines · 68 tokens per session scan A 81087b75895a
background-agents is a skill published in the GitHub repository glebis/claude-skills (417 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 1,223 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-10-28.
background-agents compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| background-agentsglebis/claude-skills | Skill | 417 | today | MIT | A | 68 | Codex |
| fdesuboss87/FDEOps | Skill | 772 | 2d ago | MIT | A | 125 | Claude Code, Codex |
| board-memosuboss87/FDEOps | Skill | 772 | 2d ago | MIT | A | 31 | Claude Code, Codex |
| briefsuboss87/FDEOps | Skill | 772 | 2d ago | MIT | A | 32 | Claude Code, Codex |
| business-casesuboss87/FDEOps | Skill | 772 | 2d ago | MIT | A | 29 | Claude Code, Codex |
| integratesuboss87/FDEOps | Skill | 772 | 2d ago | MIT | A | 33 | Claude Code, Codex |
| plansuboss87/FDEOps | Skill | 772 | 2d ago | MIT | A | 29 | Claude Code, Codex |