prune-agents
Installation
SKILL.md
<arc_runtime> This workflow requires the full Arc bundle, not a prompts-only install.
Paths in this skill use these conventions:
agents/...,references/...,disciplines/...,templates/...,scripts/...,rules/...,skills/<name>/...are Arc-owned files at the plugin root. Resolve the plugin root from this skill's filesystem location — it's the directory containingagents/andskills/../...is local to this skill's directory..ruler/...,docs/...,src/..., or any project-relative path refers to the user's project repository. </arc_runtime>
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.
Related skills