prune-agents
SKILL.md
Prune Orphaned Agents
Run the cleanup script to kill orphaned Claude agent processes.
scripts/cleanup-orphaned-agents.sh
This kills Claude Code processes that have become detached from their terminal (TTY shows "??"). These accumulate when the Task tool spawns subagents that don't cleanly exit after completion.
Safe to run anytime — only kills orphaned processes. Active terminal sessions are preserved.
After running, report the result to the user including how many processes were cleaned up.
Weekly Installs
1
Repository
howells/arcGitHub Stars
15
First Seen
3 days ago
Security Audits
Installed on
amp1
cline1
opencode1
cursor1
kimi-cli1
codex1