Skip to content
parcadei avatar

Background Agent Pings

Guidance for running background agents without polling, relying on system progress reminders instead.

CCM score
46 of 100
skills.sh installs
504
GitHub stars
4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers launching a background agent with run_in_background=true, continuing other work, and reading the output file only on completion
  • Includes a DO and DON'T pattern contrasting push-based reminders with sleep loops, tail checks, and TaskOutput calls
  • Enforces no polling, since repeated checks burn tokens and TaskOutput floods the main context with the full transcript
  • Designed for sessions that dispatch long-running subagents and need progress tracked through system reminders

Install

$ npx -y skills add parcadei/continuous-claude-v3 --skill background-agent-pings -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Background Agent Pings

Trust system reminders as agent progress notifications. Don't poll.

Pattern

When you launch a background agent, continue working on other tasks. The system will notify you via reminders when:

  • Agent makes progress: Agent <id> progress: X new tools used, Y new tokens
  • Agent writes output file (check the path you specified)

DO

1. Task(run_in_background=true, prompt="... Output to: .claude/cache/agents/<type>/output.md")
2. Continue with next task immediately
3. When system reminder shows agent activity, check if output file exists
4. Read output file only when agent signals completion

DON'T

# BAD: Polling wastes tokens and time
Task(run_in_background=true)
Bash("sleep 5 && ls ...")  # polling
Bash("tail /tmp/claude/.../tasks/<id>.output")  # polling
TaskOutput(task_id="...")  # floods context

Why This Matters

  • Polling burns tokens on repeated checks
  • TaskOutput floods main context with full agent transcript
  • System reminders are free - they're pushed to you automatically
  • Continue productive work while waiting

Source

Details

Repository
github.com/parcadei/continuous-claude-v3
Category
Agent Workflow & Planning
First seen
Jun 3, 2026

More from parcadei/continuous-claude-v3

All 108

Similar to Background Agent Pings

More Agent Workflow & Planning