prune-agents
CommunitySafely terminate orphaned Claude subagents.
Authorhowells
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Prune orphaned Claude subagent processes that didn't exit cleanly, freeing system resources and reducing background noise.
Core Features & Use Cases
- Automated cleanup of orphaned Claude Code subagents.
- Safe to run anytime; preserves active sessions.
- Useful after long-running tasks or tool usage to prevent background CPU/memory consumption.
Quick Start
Run the prune-agents script to terminate orphaned processes. Use the provided cleanup script at ${CLAUDE_PLUGIN_ROOT}/scripts/cleanup-orphaned-agents.sh and report the number of terminated processes to the user.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: prune-agents Download link: https://github.com/howells/arc/archive/main.zip#prune-agents Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.