Code Modernization plugin
Code Modernization is a Claude Code plugin, built by Anthropic. Guided modernization for any legacy codebase: start with /modernize, get an assessment, an interactive map, the business rules mined from the code, and a plan you approve, then an upgrade, a rewrite or a rebuild with independent proof that the new code behaves like the old. Includes security hardening, a one-page report, specialist agents, and an optional live progress pane (early access).
- Source
- Official (Anthropic)
- Marketplace
- claude-plugins-official (Claude Code)
- License
- Apache-2.0
What the Code Modernization plugin installs
Read from the plugin's repository on November 16, 2026. It includes parts that run on your computer or connect to outside services, so read the source before you install. What to check first.
- Slash commands(13)
- /modernize, /modernize-assess, /modernize-brief, /modernize-extract-rules, /modernize-harden, /modernize-map, /modernize-preflight, /modernize-reimagine, /modernize-review, /modernize-status, /modernize-transform, /modernize-uplift and 1 more
- Subagents(8)
- architecture-critic, business-rules-extractor, legacy-analyst, scaffolder, security-auditor, test-engineer, uplift-migrator, version-delta-analyst
- Hooks(5)
- Commands that run on your computer on these events: PostToolUseFailure, SessionStart, Stop, StopFailure, UserPromptSubmit.
How to install the Code Modernization plugin
In Claude Code
Anthropic's official marketplace, claude-plugins-official, is added the first time you start Claude Code, so you can install straight away:
/plugin install code-modernization@claude-plugins-officialFrom your shell: claude plugin install code-modernization@claude-plugins-official. On a machine that has never started Claude Code, run claude plugin marketplace add anthropics/claude-plugins-official first.
More Developer Tools plugins
Related guides
Claude plugin validation failed? Check the package first
Most plugin validation errors are package problems, not Claude problems. The real error messages and the fixes, tested on v2.1.296.
Claude Code plugin scope: user, project or local?
The -s flag decides who gets a plugin and whether it travels in git. What each scope writes, which one wins, and which to pick. Tested on v2.1.325.
Claude Code plugin hooks not firing: what to check
A plugin hook that never runs is usually not loaded, mismatched on event or matcher, or blocked by a setting. The documented checks, in order.
Maintain this plugin?
You can add this badge to your README to link to this page. It is optional and does not change your listing.
[](https://www.claudecoworkplugins.com/plugins/code-modernization/)Official Claude plugins
Productivity
Manage tasks, plan your day, and build up memory of the context behind your work.
Enterprise Search
Search your company's email, chat, documents and wikis in one place, without switching apps.
Plugin Management
Create, customize and manage plugins for your organization's tools and workflows.