Prompts · Python · v0.1.0
Find unused functions and dead code in the codebase
#agents#claude-code#claude-code-cli
Background Agent Pings
by parcadei · updated 8mo ago · imported from GitHub
Trust system reminders as agent progress notifications. Don't poll.
When you launch a background agent, continue working on other tasks. The system will notify you via reminders when:
Agent <id> progress: X new tools used, Y new tokens1. 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
# 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
TaskOutput floods main context with full agent transcriptNo comments yet — start the thread.
Sign in to join the discussion.
Prompts · Python · v0.1.0
Find unused functions and dead code in the codebase
#agents#claude-code#claude-code-cli
Prompts · Python · v0.1.0
Agent Context Isolation
#agents#claude-code#claude-code-cli
Prompts · Python · v0.1.0
Agent Orchestration Rules
#agents#claude-code#claude-code-cli
Prompts · Python · v0.1.0
Agentic Workflow Pattern
#agents#claude-code#claude-code-cli