background-agent

background-agent is a skill for Claude Code from drvoss/everything-copilot-cli. It costs 54 tokens per session (1,526 once invoked), scanned A, original, MIT.

A way to hand a coding task to a cloud-based Copilot agent on GitHub while freeing your current terminal session. The work runs on a separate Git branch and can be reviewed as a diff or pull request.

In plain words
What is it for?
Use it for large refactors, multi-file migrations, full test-suite additions, documentation work, or other tasks you want running while you do something else.
Why use it?
It lets long or complex work continue without blocking your local development. It also provides a separate context for tasks that need research or a detailed implementation plan.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the copilot-native-workflows plugin — 9 skills shipped together

Good fit Use it for large refactors, multi-file migrations, full test-suite additions, documentation work, or other tasks you want running while you do something else.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/drvoss/everything-copilot-cli/background-agent
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 drvoss/everything-copilot-cli --skill background-agent
Clone the repo
git clone --depth 1 https://github.com/drvoss/everything-copilot-cli

Made for: Claude Code.

Or install copilot-native-workflows, the plugin that ships this one along with the rest of its 9 skills.

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-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/drvoss/everything-copilot-cli/background-agent/github.svg)](https://agentmods.dev/skills/drvoss/everything-copilot-cli/background-agent)
Your own site
<a href="https://agentmods.dev/skills/drvoss/everything-copilot-cli/background-agent"><img src="https://agentmods.dev/badge/skills/drvoss/everything-copilot-cli/background-agent/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-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/drvoss/everything-copilot-cli/background-agent"><img src="https://agentmods.dev/badge/skills/drvoss/everything-copilot-cli/background-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,526 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00054 $0.01526
Opus 5.5 $0.00022 $0.00610
Sonnet 5.5 $0.00011 $0.00305
Haiku 4.5 $0.00005 $0.00153

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

Security

Grade A, and why

background-agent 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.

plugins/copilot-native-workflows/skills/background-agent/SKILL.md · 196 lines

How it starts

The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Background Delegation

What It Is

Background Delegation hands off tasks to a cloud-based Copilot coding agent on GitHub. Your terminal is immediately freed. The agent works on a branch in GitHub and opens an AI-generated pull request (against the current branch by default; choose another target with /delegate --base). You review the result in that PR.

This is distinct from async PowerShell (for local long-running processes like builds/servers), which still uses mode: "async" in the powershell tool.

When to Use

  • Large refactors or multi-file migrations you don't want to block on
  • Full test suite additions or comprehensive documentation generation
  • Complex tasks where you want research or an implementation plan before any code is written
  • Any task that benefits from running in a fresh, isolated context on GitHub
  • Handing off work while you continue unrelated local development

When NOT to Use

Instead of background-agent Use
A small, well-scoped edit you can finish immediately Work directly in the current session
A local build, dev server, watcher, or test run Async PowerShell with mode: "async"
A read-only query where you need the answer right away Answer directly in the current session
A task that depends on local-only services, hardware, or unshared secrets Keep the work local rather than delegating to GitHub

Cloud Agent Deep Work Mode

For complex tasks where architectural analysis matters before implementation, ask the cloud agent to research first and present a plan before it edits files.

  1. Research: Copilot investigates the codebase, dependencies, and current behavior
  2. Plan: Copilot proposes an implementation approach before writing code
  3. Review: You refine or approve the approach on GitHub
  4. Implement: Copilot executes the approved plan on the branch

When to use deep work vs direct delegation

Scenario Use
Large refactor across many files Research + plan first
Architecture change with unclear scope Research + plan first
Small, well-scoped change Direct delegation with & or /delegate
Repetitive bulk operation Direct delegation with & or /delegate

Read the full file on GitHub · 196 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 Changed · +1 lines 3e1fb2b50a68
  2. 1mo ago Changed 812b350921a9
  3. 3mo ago First seen · 195 lines · 54 tokens per session scan A 8d661a208791

Subscribe to this mod's changes

background-agent is a skill published in the GitHub repository drvoss/everything-copilot-cli (49 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 1,526 once invoked, about $0.0002 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.

Related

background-agent compared with skills from other repositories

background-agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
background-agentdrvoss/everything-copilot-cliSkill49yesterdayMITA54Claude Code
windbg-user-heap-corruption-investigationmicrosoft/win-dev-skillsSkill52113d agoMITA46Claude Code
speckit-initgithub/spec-kit-copilotSkill305d agoMITA113Claude Code
speckit-selfgithub/spec-kit-copilotSkill305d agoMITA84Claude Code
repo-maintainjongio/skillsSkill192d agoMITA100Claude Code
create-skilljongio/skillsSkill192d agoMITA150Claude Code
git-tidyjongio/skillsSkill192d agoMITA93Claude Code