Cc Reaper — Development skill for Claude Code
Three-layer automated cleanup for orphan Claude Code processes (subagents, MCP servers, plugins).
How to install Cc Reaper
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open theQuert/cc-reaper and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cc Reaper does
Three-layer automated cleanup for orphan Claude Code processes (subagents, MCP servers, plugins).
Alternatives in Development
- MCP Builder — Guide for creating high-quality MCP servers to integrate external APIs and services 94.1k ★
- MCP Python SDK — Python SDK for building MCP servers 22.3k ★
- Reaper 14.5k ★
README
cc-reaper
Automated cleanup for orphan Claude Code processes (subagents, MCP servers, plugins) that leak memory after sessions end.
The Problem
Claude Code spawns subagent processes and MCP servers for each session. When sessions end (especially abnormally), these processes become orphans (PPID=1) and keep consuming RAM and CPU — often 200-400 MB each, with some (like Cloudflare's MCP server) hitting 550%+ CPU. With multiple sessions over a day, this can accumulate to 7+ GB of wasted memory.
This is a [widely reported issue](https://github.com/anthropics/claude-code/issues/20369) affecting macOS and Linux users.
What leaks
| Process Type | Pattern | Typical Size |
|---|---|---|
| Subagents | claude --output-format stream-json |
180-300 MB each |
| MCP servers (short-lived) | npx mcp-server-cloudflare, npm exec mcp-*, etc. |
40-110 MB each |
| claude-mem worker | worker-service.cjs --daemon (bun) |
100 MB |
| Agent browser sessions | agent-browser-darwin-arm64, Chrome-for-Testing with agent-browser-chrome-* profiles |
100-600 MB each |
| Puppeteer headless Chrome | Chrome/Chrome Helper with puppeteer_dev_chrome_profile-* profiles |
Can pin CPU/GPU |
| Codex background sessions | node /usr/local/bin/codex, @openai/codex/.../codex --yolo |
Session + MCP tree |
| File descriptors | VM processes, settings.json, MCP stdio pipes | ~6,200 FDs/hr leak rate |
**Not killed**: User apps and system services such as ChatGPT.app, cmux.app, Bitdefender, Spotlight (`mdworker`/`mds_stores`), normal Chrome browsing, and web dev servers are protected. Long-running MCP servers shared across sessions (Supabase, Stripe, claude-mem, chroma-mcp, sequential-thinking variants) are also protected. (Cloudflare's MCP server is **not** protected — it tends to orphan and pin ~100% CPU, so it is reaped like any other orphan.) Stale browser/Codex cleanup only targets orphaned or old automation processes.
Solution: Three-Layer Defense
PGID-based process group
Related Skills
Vroom
RAM cleanup — aggressive memory reclaim, orphan kill, cache purge, swap report
Headless Ida
Provide automated binary analysis via a CLI tool using Hex-Rays' idalib without requiring the IDA Pro GUI or M
Agentic MCP Skill
Agentic-MCP, Progressive MCP client with three-layer lazy loading. Validates AgentSkills.io pattern for effici
Wind Down
Scan for leftover session processes/servers and stop only what you approve (invokes the wind-down skill)
Osc Bridge
OSC ↔ MIDI/SysEx bridge for 849 hardware synths and music software (Ableton, Bitwig, Reaper, Sonic Pi). A MIDI
Server Maintenance Skill
Automated maintenance skill for OpenClaw servers with repeatable remediation and memory distillation workflows
Related Agents
Deadcode Reaper
Use this agent to clean up after code changes — removing the imports, helpers, exports, and files that THIS se
Kss Sonnet Low
KSS executor — sonnet, low effort. One layer, 1-2 files, copying an existing pattern. Also used for integratio
AI Architect
Specializes in architecting AI-powered applications on Vercel — choosing between AI SDK patterns, configuring