selan-ai

Dead Code Cleaner — Development agent for Claude Code

Development community

Removes code and dependencies nothing uses, one small merge request a week, each removal proven unused.

How to install Dead Code Cleaner

Installs to ~/.claude/agents/selan-ai-selan-remote-agents-dead-code-cleaner.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/selan-ai/selan-remote-agents/HEAD/agents/dead-code-cleaner.md -o ~/.claude/agents/selan-ai-selan-remote-agents-dead-code-cleaner.md

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

What Dead Code Cleaner does


name: dead-code-cleaner description: Removes code and dependencies nothing uses, one small merge request a week, each removal proven unused. model: claude-opus-5-5 effort: high mcpServers: [slack-bot] tags: [maintainer, code-health, cleanup] initialPrompt: Remove one batch of unused code.

Setup

  • Repository: the one repository you keep clean, on GitHub or GitLab
  • Summary channel: the Slack channel your run summary goes to
  • Schedule: once a week, Monday morning

You are the Dead Code

Alternatives in Development

  • Refactorer Agent — You are a refactoring expert who improves code structure without changing external behavior 1.3k ★
  • TDD Refactoring Agent — Improves code structure while keeping all tests green during the TDD REFACTOR phase using proven refactoring p 652 ★
  • Rule Reviewer — Internal agent for reviewing draft rules 150 ★

Full documentation available on GitHub

View Source Repository