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.
Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add anthropics/claude-plugins-official/plugin install code-modernizationWrote 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.
[](https://agentmods.dev/commands/anthropics/claude-plugins-official/modernize-transform)<a href="https://agentmods.dev/commands/anthropics/claude-plugins-official/modernize-transform"><img src="https://agentmods.dev/badge/commands/anthropics/claude-plugins-official/modernize-transform/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.
<a href="https://agentmods.dev/commands/anthropics/claude-plugins-official/modernize-transform"><img src="https://agentmods.dev/badge/commands/anthropics/claude-plugins-official/modernize-transform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00017 | $0.02155 |
| Opus 5.5 | $0.00007 | $0.00862 |
| Sonnet 5.5 | $0.00003 | $0.00431 |
| Haiku 4.5 | $0.00002 | $0.00215 |
Grade A, and why
modernize-transform 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 10d 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.
Copies of this mod
2 near-identical copies found in the catalogue:
- modernize-transform — 100% identical, 188 lines differ
- modernize-transform — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Transform module $module of $system into $target_stack, with proof of behavioral
equivalence. This is one vertical slice of the strangler fig; output goes to
modernized/$system/$module/.
The code is legacy/$system, often a symlink to where it really lives: say where it points (readlink legacy/$system) in one line before you start. If legacy/$system does not exist, stop and say so: nothing can run without the code, so the fix is /code-modernization:modernize $system --source <path to the code>. Run every subagent in the foreground and wait for its result: never end your turn while one is still running. Stop any server or other process you started (a legacy app on a local port, a watcher) before you finish, and say you did. If $module or $target_stack is empty, read
analysis/$system/MODERNIZATION_BRIEF.md: take the target stack it names, and the first module of
the earliest phase whose Command: is transform that has no
modernized/$system/<module>/TRANSFORMATION_NOTES.md yet (with no brief, the target in INTENT.md). Say which you picked.
Step 0 — Toolchain, then the plan (human gate)
Target stack (required). The runtime, package manager and test framework must respond
(java -version and mvn -v, node -v and npm -v, python3 -V and pytest --version). If not,
stop and say what to install: a plan gate now would only defer the failure an hour. Point to
/code-modernization:modernize-preflight $system $target_stack.
Target versions. Build on the versions in the brief's Target versions table. If it has none for this
module, or they are unverified or were checked over 30 days ago, look them up now as
${CLAUDE_PLUGIN_ROOT}/references/target-versions.md says (never from memory), show the table in the plan and
keep it in TRANSFORMATION_NOTES.md. Anything not supported and not yet decided is a question at the plan gate.
A dependency with no row takes the newest compatible stable release the package registry reports.
Legacy stack (advisory, never a blocker). Try a syntax-only compile of the module. Legacy code
often cannot build locally by nature (CICS and IMS programs have no local translator; the real runtime
is a mainframe you do not have). If it cannot, dual execution is off the table: the tests assert
against recorded traces and golden-master fixtures (real production outputs, captured reports,
SME-confirmed examples). Say so in the plan and in TRANSFORMATION_NOTES.md ("equivalence is
trace-based; legacy was not executable here"), so reviewers know how strong the proof is.
Run the old system only where it is safe. Record baselines from the legacy code running on this machine, or against a test environment the person named. Never call a production or third-party service, register an account, or send or change real data to record a baseline unless the person approved that exact target in the plan (say which calls, and which of them write). A token, password or session cookie in a recorded response is a secret: replace it with a fixed fake value before anything is saved, and never print it.
The brief is binding. If MODERNIZATION_BRIEF.md exists, find the phase whose Command: is this
one and whose Modules: include $module, and treat its scope, entry criteria, exit criteria and any
edits the user made as binding. An unmet entry criterion is the next step: meet it, never re-plan
around it. If no phase covers $module, stop and ask which phase this is.
Read the module's source and the rules in BUSINESS_RULES.md that reference it, and any verdicts on them in analysis/$system/RULE_REVIEWS.json: a rule marked wrong is not pinned as the oracle (use the reviewer's note for what is right, and if the note does not say, ask), and a P0 rule marked discuss is a question to settle at this plan gate before any code. Then present the
plan and stop: write no code until the user explicitly approves (plan mode if available): which
source files are in scope, the target structure, which rules and behaviors it implements, how you will
prove equivalence, and anything ambiguous that needs a human decision now.
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.
- 10d ago Changed · +6 lines 883512f95312
- 2mo ago Changed · -14 lines 9ec68f181462
- 3mo ago First seen · 124 lines · 17 tokens per session scan A ba747f617a30
modernize-transform is a command published in the GitHub repository anthropics/claude-plugins-official (48,794 stars, last pushed today), licensed Apache-2.0. It adds 17 tokens to every session and 2,155 once invoked, about $0.0001 per session on Opus 5.5. 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.
modernize-transform compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| modernize-transformanthropics/claude-plugins-official | Command | 49k | today | Apache-2.0 | A | 17 | Claude Code |
| root-causehamr0/liteagents | Command | 28 | 4d ago | Apache-2.0 | A | 52 | Claude Code |
| cc-flowyeisonrestrepo/code-conductor | Command | 22 | today | MIT | A | 13 | Claude Code |
| debug-podrohitg00/awesome-claude-code-toolkit | Command | 2.9k | 6mo ago | Apache-2.0 | A | 0 | Claude Code |
| maprohitg00/awesome-claude-code-toolkit | Command | 2.9k | 6mo ago | Apache-2.0 | A | 0 | Claude Code |
| find-dead-coderohitg00/awesome-claude-code-toolkit | Command | 2.9k | 6mo ago | Apache-2.0 | A | 0 | Claude Code |
| triageJewgah/claude-code-skills | Command | 2 | 7d ago | MIT | A | 27 | Claude Code |