Charon — Development skill for Claude Code
Named after the greek ferryman of the underworld, it audits your Project for Dead code and duplicate code in Claude Code.
How to install Charon
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Aloim/charon and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Charon does
Named after the greek ferryman of the underworld, it audits your Project for Dead code and duplicate code in Claude Code. It Finds what is dead, and in resolution mode removes it via reviewed, build verified change sets. Companion to Phanes.
Alternatives in Development
- Internet Court Skill — The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 4.9k ★
- 08 Open Question Resolution — Open Question Resolution 1.1k ★
- Review Duplicates — Duplicate Code Detection 149 ★
README
Charon
**Charon** is a single-file audit-and-resolution prompt for [Claude Code](https://claude.com/claude-code) that finds dead code, unused files, unused dependencies, and duplicated code in your repository. Then, in the mode you choose, it removes the confirmed dead through independently reviewed, build-verified change-sets on a branch you merge yourself.
The name is the job description: Charon identifies what has died in a codebase and ferries it out, but only what has been proven dead, only past an independent reviewer, and only across a branch boundary you control.
Charon works entirely on its own in any repository, but it really shines in combination with [Phanes](https://github.com/Aloim/phanes): in a Phanes-managed project the audit reads the agent team's registries, removals flow through the project's own Critic → Executor review chain, and the report is filed straight into the Phanes documentation tree (see [Works with Phanes](#works-with-phanes)).
**Why bother?** Dead and duplicated code is not just clutter; it actively degrades AI-assisted development. Agents read it, index it, imitate it, and route new work onto APIs that nothing uses anymore. A codebase that is honest about its dead is a codebase your tools can reason about.
**Contents**
- What it does
- What it will never do without you
- How to install
- How to use
- Reading the report
- Works with Phanes
- Version · License
What it does
Running `/charon` in a project drives Claude Code through two strictly separated loops:
- Mode question. At initialization Charon asks once (or reads it from your arguments): AUTORESOLVE executes every clean removal candidate automatically after the audit; APPROVE-FIRST stops at the report and executes only the findings you select.
- Survey. Detects your languages, build sys
Related Skills
Phanes
An agentic Orchestration Setup named after the Greek God of Creation. One Slash command, scans your project, o
Mac Maintenance Skills
Claude Code skills for cleaning up and speeding up a Mac: a read-only survey of what takes space and memory, a
Nora Gal
Claude skill: Russian text editor using Nora Gal method (The Living and Dead Word); removes bureaucratese, fix
Adsense Site Auditor
Claude Code Skill that audits websites against Google's 73 official AdSense eligibility requirements, with aut
ShrinkCode
A Claude Skill that compresses bloated codebases into fewer lines without changing behavior: finds duplicate b
Reconcile Repo
Find and safely resolve repository drift — duplicate implementations, dead flags, stale docs and tests
Related Agents
Cecil
Use to audit an area for dead, legacy, superseded or duplicate code with grep evidence, or in refactor mode to
Stack Auditor
Audits a codebase's AI agent stack against the live best-of-Agent-Harnesses dataset — finds which harnesses th
Deep Review Dead Reference
After a deletion or rename, finds every remaining executable reference (imports, patch targets, task names, ro