Skip to content

dead-code-remover

Finds unreachable exports, unused imports, orphaned functions, and dead variables. Greps project to confirm no references, then removes safely.

From plugin
1827 skills27 agents53 commands
shell
$ npx -y skills add heymegabyte/claude-skills --agent claude-code

Ships with claude-skills. Installing the plugin gets this agent.

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this agent.

Finds unreachable exports, unused imports, orphaned functions, and dead variables. Greps project to confirm no references, then removes safely.
Ships withclaude-skills

14-category autonomous product-building OS for 32+ AI coding tools. One-line prompts → deployed products.

Get the whole plugin, auto-invoked