Remove Deadcode — Development skill for Claude Code
Find and remove dead code — unused exports, unreachable functions, orphaned files, and stale feature flags.
How to install Remove Deadcode
Installs to ~/.claude/skills/macanderson-agent-harness-remove-deadcode/SKILL.md
mkdir -p ~/.claude/skills/macanderson-agent-harness-remove-deadcode && curl -fsSL https://raw.githubusercontent.com/macanderson/agent-harness/HEAD/commands/remove-deadcode.md -o ~/.claude/skills/macanderson-agent-harness-remove-deadcode/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Remove Deadcode does
description: Find and remove dead code — unused exports, unreachable functions, orphaned files, and stale feature flags. Fixes in-place and commits. allowed-tools: Bash, Read, Grep, Glob, Edit, Write, Agent, TodoWrite, ToolSearch, TaskCreate, TaskGet, TaskList, TaskOutput, TaskStop, TaskUpdate
/remove-deadcode
Find and remove dead code across the monorepo. Work autonomously. Delete unused code; never stub or comment out — if it's dead, it's gone. Follow the prime directive: prefer de
Alternatives in Development
- Mempalace Mine — Mine projects and conversations into the MemPalace 58.6k ★
- Ralph Loop — Autonomous coding loop — works through tasks, commits, repeats 14k ★
- Om Tidy — Self-maintenance pass — acts on every hygiene flag: archives completed work, groups loose clusters, splits ove 4.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
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 Cleanup
Dead code removal — unused imports, orphaned files, dead exports, and stale references
Find Dead Code
Finds dead code (unreachable, unused, deprecated) in 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
05 Cleanup
Safe dead code cleanup - detect and remove unused imports and dead files with auto-apply for Low/Medium risk
Related Agents
Dead Code Purist
The grim reaper of unused code. Use this agent to find and eliminate dead code, unreachable branches, unused e
Dead Code Auditor
Internal dynos-work agent. Detects unused imports, dead exports, unreferenced files, dead functions, and orpha
Dead Code Finder
Use to find unused exports, unreachable branches, and never-imported files in a codebase. Reports findings wit