background-agents

background-agents is a skill for Codex from glebis/claude-skills. It costs 68 tokens per session (1,223 once invoked), scanned A, original, MIT.

A setup for running coding agents as background jobs through reusable profiles. A profile keeps the execution service, agent engine, model provider, and model configuration separate.

In plain words
What is it for?
Use it to define or resolve agent profiles and run work through backends such as Trigger.dev or Cloudflare Workflows, then return the result with a reference to the run.
Why use it?
It removes the need to configure every delegated job from scratch and helps you verify what happened after a remote run. It does not install agents or give them tools automatically.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to define or resolve agent profiles and run work through backends such as Trigger.dev or Cloudflare Workflows, then return the result with a reference to the run.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/glebis/claude-skills/background-agents
Install

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.

Any agent
npx skills add glebis/claude-skills --skill background-agents
Clone the repo
git clone --depth 1 https://github.com/glebis/claude-skills

Made for: Codex.

Its marketplace also offers this one on its own, as the plugin background-agents — /plugin install background-agents after adding the marketplace above.

Wrote 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.

agentmods badge for background-agents

README.md
[![agentmods](https://agentmods.dev/badge/skills/glebis/claude-skills/background-agents/github.svg)](https://agentmods.dev/skills/glebis/claude-skills/background-agents)
Your own site
<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.

agentmods 80×15 button for background-agents

Your own site · 80×15
<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>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,223 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 1mo ago against content hash 81087b75895a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 6 executable files (assets/cloudflare-worker/src/index.ts, assets/cloudflare-worker/src/pi-agent.ts, scripts/cloudflare_workflows.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

background-agents/SKILL.md · 77 lines

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.

Read the full file on GitHub · 77 lines

Changes

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.

  1. 1mo ago First seen · 77 lines · 68 tokens per session scan A 81087b75895a

Subscribe to this mod's changes

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.

Related

background-agents compared with skills from other repositories

background-agents next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
background-agentsglebis/claude-skillsSkill417todayMITA68Codex
fdesuboss87/FDEOpsSkill7722d agoMITA125Claude Code, Codex
board-memosuboss87/FDEOpsSkill7722d agoMITA31Claude Code, Codex
briefsuboss87/FDEOpsSkill7722d agoMITA32Claude Code, Codex
business-casesuboss87/FDEOpsSkill7722d agoMITA29Claude Code, Codex
integratesuboss87/FDEOpsSkill7722d agoMITA33Claude Code, Codex
plansuboss87/FDEOpsSkill7722d agoMITA29Claude Code, Codex