Skip to main content
plugin CX Codex

codebase-cleanup — Claude Code plugin: tech debt and refactoring

A plugin for Claude, Claude and Cursor that handles dependency updates and code refactoring. Useful when technical debt has piled up in a project.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add wshobson/agents
/plugin install codebase-cleanup@claude-code-workflows
Open on GitHub

What codebase-cleanup does

The plugin covers three related jobs: reducing technical debt, updating dependencies and automating refactoring. It runs as a set of workflows inside Claude, Claude and Cursor, so you point it at your own repository instead of moving code into a separate service.

Installation goes through the marketplace: add the wshobson/agents repository first, then install the plugin from the claude-code-workflows set. It ships under MIT, so you can read and edit the code.

Refactoring and dependency bumps rewrite files in your project, so run them on a clean branch with passing tests — otherwise there is nothing to roll back to. That alone is a reason to commit your current state first.

What it helps with

  • clear accumulated technical debt in a legacy repository
  • update outdated dependencies without going file by file
  • refactor a section of code from a description
  • split oversized modules into readable pieces
  • sweep the project before a large feature push

Example prompts for the agent

  • scan the repo and show me where technical debt is building up
  • update the dependencies in package.json and fix what breaks
  • refactor src/orders.ts and split it into smaller modules

How to install codebase-cleanup

Plugin marketplace

/plugin marketplace add wshobson/agents
/plugin install codebase-cleanup@claude-code-workflows

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about codebase-cleanup

How do I install codebase-cleanup in Claude?

Through the marketplace: run /plugin marketplace add wshobson/agents, then /plugin install codebase-cleanup@claude-code-workflows.

What does codebase-cleanup do?

It reduces technical debt, updates dependencies and automates code refactoring.

Which platforms does the plugin support?

Claude, Claude and Cursor.

Source text

codebase-cleanup · MIT
Technical debt reduction, dependency updates, and code refactoring automation

© Seth Hobson · MIT · wshobson/agents

Similar plugins

All plugins for Code review and refactoring →

From the same set342

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor