drvoss/everything-copilot-cli/background-agent
Claude Code and agent skill by drvoss/everything-copilot-cli
- community
Checking that the SKILL.md file is still in the repository.
Use when a task is too long to block the current session or should run autonomously — delegates to a cloud background agent via & or /delegate so work can continue on GitHub while you keep moving locally, not in a local async PowerShell session.
Install
npx vskill@latest install drvoss/everything-copilot-cli/background-agentSKILL.md
The same SKILL.md was published earlier as drvoss/everything-copilot-cli/background-agent.
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.
- Research: Copilot investigates the codebase, dependencies, and current behavior
- Plan: Copilot proposes an implementation approach before writing code
- Review: You refine or approve the approach on GitHub
- 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 |
Example:
Treat the plan as the approval surface. Iterate on the approach first, then let the agent implement once the direction is clear.
Workflow
1. Delegate with & or /delegate
Prefix any prompt with & to push the task to the cloud Copilot coding agent:
Equivalently, use the slash command:
The agent commits any of your unstaged changes as a checkpoint, creates a new branch, and begins working on GitHub.
2. Continue Local Work
Your terminal is free. Keep coding locally while the agent works on GitHub. For unattended local runs, do not assume that the end of an agent turn means every background shell or child agent has exited; verify child-process completion because surviving children have caused real prompt-mode hangs.
3. Review the Branch or PR
By default, review the resulting pull request on GitHub. Do not treat terminal polling as the primary review path; the GitHub branch or PR is the canonical output.
4. Continue the Conversation Locally (Optional)
Use /resume to bring a cloud agent session into your local CLI, preserving the full accumulated context:
Note:/resumeis for continuing the conversation, not polling for results.The agent's output is reviewed on GitHub first.
5. Async PowerShell — Local Long-Running Processes
For local processes (builds, dev servers, test watchers) that don't need cloud delegation, use async PowerShell:
Examples
Delegate a Large Migration
Parallel Delegations
Multi-Turn Refinement
Local Build + Test (Not Delegation)
Tips
- `&` delegates to GitHub cloud — review the resulting branch or PR on GitHub.
- Ask for research first when the task is ambiguous: tell Copilot to analyze and propose a
plan before it edits code.
- Async PowerShell is for local processes — builds, servers, watchers. No PR created.
- `/resume` for context continuity — bring the session local to keep iterating after the GitHub review.
- Unstaged changes are committed — Copilot creates a checkpoint commit before branching.
- Review on GitHub — the canonical output is the GitHub branch or PR, not terminal polling.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/copilot-exclusive/background-agent/SKILL.md
Popularity
- Repository stars
- 49
- Repository forks
- 13
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/drvoss/everything-copilot-cli/background-agent)