Deadcode — Development skill for Claude Code
Find dead code with a configured Knip baseline, then delete it by category behind a ratchet.
How to install Deadcode
Installs to ~/.claude/skills/kensaurus-skills-deadcode/SKILL.md
mkdir -p ~/.claude/skills/kensaurus-skills-deadcode && curl -fsSL https://raw.githubusercontent.com/kensaurus/skills/HEAD/commands/deadcode.md -o ~/.claude/skills/kensaurus-skills-deadcode/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Deadcode does
description: "Find dead code with a configured Knip baseline, then delete it by category behind a ratchet" argument-hint: "[optional path, workspace, or 'apply' to execute an already-approved plan]" disable-model-invocation: true
Dead Code
Two skills, one loop. Default to the audit unless an approved `plan-dead-code.md` already exists.
plan-dead-code— authorknip.jsonfirst, resolve configuration hints, baseline both--productionand default runs, then count the
Alternatives in Development
- Opencode — A powerful, custom opencode configuration, complete with a suite of agents, commands, rules, skills, and a pre 133 ★
- Docmancer — Find out what your coding agents already know 121 ★
- Foundry Ask — Answer a research question using the Foundry vault, with read-only access to any companion vault configured in 99 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Remove Deadcode
Find and remove dead code — unused exports, unreachable functions, orphaned files, and stale feature flags. Fi
Orbits Check
Close the orbit — re-run the baseline query weeks after a fix shipped and find out whether the number actually
Claude Resume
Find, preview, resume and delete Claude Code sessions from every project folder in one fzf picker (alpha)
Dead Crusade
Unleash parallel Dead Code Purist agents to find and eliminate unused exports, orphaned files, commented-out b
Dead Code Sweep
Find unreachable code, unused exports, and orphaned files across the project
Massu Dead Code
When user asks about unused code, says 'find dead code', 'clean up unused', or wants to reduce codebase size b
Related Agents
Tp Dead Code Finder
Use this when the user asks to find or remove dead / unused code ("clean up this file", "find unused exports",
Ponytail Review
Cold over-engineering reviewer. Spawned by parallel workflows when non-test source changes, to find what to de
Dead Code Finder
Use to find unused exports, unreachable branches, and never-imported files in a codebase. Reports findings wit