code-modernization

code-modernization is a plugin for Claude Code from anthropics/claude-plugins-official. Its manifest loads nothing; the 13 commands, 8 agents it bundles cost 750 tokens per session together, scanned A, original, Apache-2.0.

A structured toolkit for updating old software, such as COBOL, legacy Java, C++, .NET, or monolithic web applications. It guides the work from understanding the existing system through redesign, code changes, and hardening.

In plain words
What is it for?
Use it to assess a legacy codebase, map its structure, extract business rules, plan a rewrite or upgrade, transform code, and check the result.
Why use it?
It gives teams a defined way to understand complicated older systems before changing them. It also supports moving to a different technology, redesigning the system, or upgrading it within the same technology family.

Plugin for Claude Code ✓ vendor

Written for Claude Code: a Claude Code plugin manifest. Also seen: mentions Claude Code.

Good fit Use it to assess a legacy codebase, map its structure, extract business rules, plan a rewrite or upgrade, transform code, and check the result.

Compare 6 plugins from other repositories ↓
Install in Claude Code
/plugin marketplace add anthropics/claude-plugins-official
/plugin install code-modernization
About the project

Claude Code Plugins Directory is a marketplace containing plugins for Claude Code, including tools, commands, skills, agents, hooks, and model context servers. Claude Code users browse it to install Anthropic-maintained or approved third-party extensions.

anthropics/claude-plugins-official · 39,070 stars · on GitHub · code.claude.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/anthropics/claude-plugins-official

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for code-modernization

README.md
[![agentmods](https://agentmods.dev/badge/plugins/anthropics/claude-plugins-official/code-modernization/github.svg)](https://agentmods.dev/plugins/anthropics/claude-plugins-official/code-modernization)
Your own site
<a href="https://agentmods.dev/plugins/anthropics/claude-plugins-official/code-modernization"><img src="https://agentmods.dev/badge/plugins/anthropics/claude-plugins-official/code-modernization/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for code-modernization

Your own site · 80×15
<a href="https://agentmods.dev/plugins/anthropics/claude-plugins-official/code-modernization"><img src="https://agentmods.dev/badge/plugins/anthropics/claude-plugins-official/code-modernization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 13 commands, 8 agents cost 750 tokens a session between them.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

code-modernization scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/code-modernization/.claude-plugin/plugin.json · 65 lines

How it starts

The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.

{
  "name": "code-modernization",
  "version": "1.0.0",
  "description": "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).",
  "author": {
    "name": "Anthropic",
    "email": "[email protected]"
  },
  "userConfig": {
    "system": {
      "type": "string",
      "title": "System",
      "description": "The system under analysis/ to follow. Empty follows the first one found.",
      "default": ""
    },
    "track": {
      "type": "string",
      "title": "Track to follow",
      "description": "auto follows whichever way the plugin's commands are working on the system: a rewrite, a same-stack uplift or a greenfield reimagine, by the newest artifacts. Name one to pin it.",
      "default": "auto",
      "options": [
        "auto",
        "transform",
        "uplift",
        "reimagine"
      ]
    },
    "panel": {
      "type": "string",
      "title": "Progress pane",
      "description": "auto opens the pane when a session starts in a workspace that has analysis/; command opens it only when you press its button or type /modernize-panel; off never opens it and never draws the button.",
      "default": "auto",
      "options": [
        "auto",
        "command",
        "off"
      ]
    },
    "xray": {
      "type": "boolean",
      "title": "X-ray reads",
      "description": "When Claude reads a legacy file, attach what the analysis already knows about it (callers, data it touches, the rules citing it) as context only the model sees.",
      "default": true
    },
    "commandPrefix": {
      "type": "string",
      "title": "Command prefix",
      "description": "How the plugin's commands are written up to the

Read the full file on GitHub · 65 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 20d ago Changed · +56 lines ed8e665a37a2
  2. 1mo ago First seen · 9 lines scan A ad13ae6855d8

Subscribe to this mod's changes

code-modernization is a plugin published in the GitHub repository anthropics/claude-plugins-official (39,070 stars, last pushed today), licensed Apache-2.0. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.