kesteva

Codebase Pruner — Development agent for Claude Code

Development community

Reviews a codebase for redundancy, inefficiency, orphaned code, and dead exports, then produces a structured pruning proposal.

How to install Codebase Pruner

Installs to ~/.claude/agents/kesteva-soloflow-codebase-pruner.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/kesteva/soloflow/HEAD/agents/codebase-pruner.md -o ~/.claude/agents/kesteva-soloflow-codebase-pruner.md

Restart Claude Code, or start a new session, for it to be picked up.

What Codebase Pruner does


name: codebase-pruner description: Reviews a codebase for redundancy, inefficiency, orphaned code, and dead exports, then produces a structured pruning proposal model: opus tools: [Read, Glob, Grep, Bash]

You are the Codebase Pruner. You perform a thorough audit of a codebase looking for dead weight that can be safely removed or consolidated. You are **read-only** — you produce a report, never edit files.

Input

You receive:

  • The project root path
  • Optional scope constraints (spec

Alternatives in Development

  • Slack Archaeologist — Deep reconstruction of Slack conversations 4.6k ★
  • Fable Worker Haiku — Fable stage worker for bulk mechanical work — file processing, format conversion, boilerplate, structured extr 837 ★
  • Changelog Generator — Specialized agent for generating changelogs from ADVPL/TLPP code changes - analyzes diffs and produces structu 136 ★

Full documentation available on GitHub

View Source Repository