no-polling-agents

Solid

No Polling for Background Agents

AI & Automation 501 stars 42 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
90
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
57
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# No Polling for Background Agents When launching parallel background agents, do NOT poll with sleep loops. ## Pattern Background agents write to status files when complete. Wait for them naturally. ## DO - Launch agents with `run_in_background: true` - Continue with other work while agents run - Check status file only when user asks or when you need results to proceed - Trust the agent completion system ## DON'T - Run `sleep 10 && cat status.txt` in loops - Continuously poll for completion - Waste tokens checking status repeatedly - Block on agents unless absolutely necessary ## When to Check Status 1. User explicitly asks "are they done?" 2. You need agent output to proceed with next task 3. Significant time has passed and user is waiting ## Example ```typescript // Launch agents Task({ ..., run_in_background: true }) Task({ ..., run_in_background: true }) // Continue with other work or conversation // Agents will write to status file when done // Only check when needed cat .claude/cache/status.txt ``` ## Source User feedback: "You can just wait until everyone pings you"

Details

Author
vibeeval
Repository
vibeeval/vibecosystem
Created
3 months ago
Last Updated
2 days ago
Language
C#
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category