$npx -y skills add vibeeval/vibecosystem --skill background-agent-pings--- name: background-agent-pings description: Background Agent Pings user-invocable: false ---
| 1 | # Background Agent Pings |
| 2 | |
| 3 | Trust system reminders as agent progress notifications. Don't poll. |
| 4 | |
| 5 | ## Pattern |
| 6 | |
| 7 | When you launch a background agent, **continue working on other tasks**. The system will notify you via reminders when: |
| 8 | - Agent makes progress: `Agent <id> progress: X new tools used, Y new tokens` |
| 9 | - Agent writes output file (check the path you specified) |
| 10 | |
| 11 | ## DO |
| 12 | |
| 13 | ``` |
| 14 | 1. Task(run_in_background=true, prompt="... Output to: .claude/cache/agents/<type>/output.md") |
| 15 | 2. Continue with next task immediately |
| 16 | 3. When system reminder shows agent activity, check if output file exists |
| 17 | 4. Read output file only when agent signals completion |
| 18 | ``` |
| 19 | |
| 20 | ## DON'T |
| 21 | |
| 22 | ``` |
| 23 | # BAD: Polling wastes tokens and time |
| 24 | Task(run_in_background=true) |
| 25 | Bash("sleep 5 && ls ...") # polling |
| 26 | Bash("tail /tmp/claude/.../tasks/<id>.output") # polling |
| 27 | TaskOutput(task_id="...") # floods context |
| 28 | ``` |
| 29 | |
| 30 | ## Why This Matters |
| 31 | |
| 32 | - Polling burns tokens on repeated checks |
| 33 | - `TaskOutput` floods main context with full agent transcript |
| 34 | - System reminders are free - they're pushed to you automatically |
| 35 | - Continue productive work while waiting |
| 36 | |
| 37 | ## Source |
| 38 | |
| 39 | - This session: Realized polling for agent output wasted time when system reminders already provide progress updates |