/tomstack-skills:cleanupfrom tomstack-skills
Scan and kill orphan dev processes (storybook, esbuild, vite, next, etc.) left behind by AI agent sessions. Use when the user mentions slow machine, hot CPU, orphan processes, or asks to clean up dev processes.
Ships in tomstack-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You operate the orphan-reaper CLI on behalf of the user.
Always pass --json to get structured output. Never parse human-readable output.
Resolve it in order:
orphan-reaper when available on PATH.bash ~/.claude/plugins/marketplaces/tomstack/orphan-reaper/cli.sh when that legacy plugin path exists.npx --yes orphan-reaper when no installed command is available.On first invocation, probe with version --json, then store the working command
and reuse it for the rest of the session.
All examples below use $CLI as placeholder. Replace with the resolved path.
| Intent | Command |
|---|---|
| List orphan processes | $CLI scan --json |
| Kill all orphans | $CLI kill --json |
| Kill silently | $CLI kill --quiet --json |
| Show matched patterns | $CLI patterns --json |
| Add custom pattern | $CLI add 'my-custom-dev-server' --json |
| Show version | $CLI version --json |
{"ok": true, ...} with exit code 0{"error": "message"} on stderr with exit code 1scan returns count, total_rss_mb, and orphans arraykill returns killed, freed_rss_mb, and processes arrayscan first to show the user what will be killedkill (unless they said "clean up" or "kill")A process is an orphan if it:
Processes with a TTY are intentional (user running them in a terminal) and are never killed.
Users can add project-specific patterns to ~/.orphan-reaper/patterns.conf.
One regex per line. Lines starting with # are comments.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub tombelieber/tomstack --plugin tomstack-skills11 skills in this plugin
/auto-pilotGuide explicit PR or ship requests; PR stops before merge, ship qualifies and verifies production./backupManage Claude Code backups — sync config and sessions, list/restore sessions, check status. Use when the user asks about backups, restoring sessions, or migrating their Claude environment.
/batch-grill-meInterview unresolved product or architecture decisions in dependency-ordered question batches./chatgpt-share-dumpDump ChatGPT shared conversations from https://chatgpt.com/share/... into agent-readable archives. Use when a user gives an AI agent a ChatGPT share link and asks it to continue, analyze, test, migrate, summarize, implement from, or preserve the full transcript as Markdown, JSON turns, current-state handoff context, and strict media manifests./claude-clean-rebornUse when a user wants guided local Claude Desktop, Claude Code, or browser cleanup before a legitimate fresh sign-in, especially across Chrome profiles or with persistent Claude extension cookies./first-principles-xy-problemsFrame ambiguous product, strategy or architecture problems before choosing a solution; design-only.