legacy-modernization

legacy-modernization is a skill for Claude Code from nimadorostkar/Claude-Skills-collection. It costs 94 tokens per session (1,008 once invoked), scanned A, original, MIT.

A guide for updating an old software system in small, deployable steps while it remains in production. It covers tests that document existing behaviour, safe connection points, gradual replacement, and data migration.

In plain words
What is it for?
Use it to move away from unsupported technology, extract services from a monolith, migrate data with dual writes and backfills, and plan a gradual replacement with routing and decommissioning steps.
Why use it?
It reduces the risk of a large rewrite that takes years and delivers nothing usable. It lets old and new parts coexist while each migration step can be released and checked.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the development plugin — 13 skills shipped together

Good fit Use it to move away from unsupported technology, extract services from a monolith, migrate data with dual writes and backfills, and plan a gradual replacement with routing and decommissioning steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nimadorostkar/claude-skills-collection/legacy-modernization
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.

Any agent
npx skills add nimadorostkar/Claude-Skills-collection --skill legacy-modernization
Clone the repo
git clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collection

Made for: Claude Code.

Or install development, the plugin that ships this one along with the rest of its 13 skills.

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 legacy-modernization

README.md
[![agentmods](https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/legacy-modernization/github.svg)](https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/legacy-modernization)
Your own site
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/legacy-modernization"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/legacy-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 legacy-modernization

Your own site · 80×15
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/legacy-modernization"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/legacy-modernization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,008 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.01008
Opus 5.5 $0.00038 $0.00403
Sonnet 5.5 $0.00019 $0.00202
Haiku 4.5 $0.00009 $0.00101

Measured 1mo ago against content hash d537372d273e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

legacy-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 1mo 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.

skills/development/legacy-modernization/SKILL.md · 97 lines

How it starts

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

Legacy Modernization

Purpose

Replace a legacy system incrementally, keeping it in production the entire time. The failure mode this skill exists to prevent is the two-year rewrite that ships nothing and is cancelled.

When to Use

  • A system that works but resists change.
  • Migrating off an unsupported framework, runtime, or vendor.
  • Extracting a service from a monolith.
  • Any proposal that starts with "we should just rewrite it".

Capabilities

  • Characterization testing to capture undocumented behavior.
  • Seam identification and dependency breaking.
  • Strangler-fig migration behind a routing facade.
  • Data migration with dual writes and backfills.
  • Sequencing work so every step is independently shippable.

Inputs

  • The legacy system, its deployment, and its actual traffic patterns.
  • The concrete pain: what change is expensive, and how expensive.
  • Constraints: uptime requirements, data volume, compliance, team capacity.

Outputs

  • A migration plan of independently shippable increments.
  • Characterization tests covering the behavior being preserved.
  • A facade or router that lets old and new coexist.
  • A decommissioning checklist for the old path.

Workflow

  1. Resist the rewrite — Establish what the current system does that a rewrite would have to rediscover. This list is always longer than expected, and it is the argument.
  2. Pin the behavior — Characterization tests at the outermost boundary you can reach: HTTP, CLI, batch output. Record what it does, bugs included.
  3. Introduce a facade — Put a routing layer in front of the capability. Every request now flows through a point you control.
  4. Carve off one capability — Choose the smallest one with clear boundaries. Implement it in the new system. Route a percentage of traffic to it.
  5. Compare, then cut over — Run both and diff the outputs (shadow mode) until you trust the new path. Then flip the route.
  6. Delete the old path — Immediately. A migration that leaves both paths alive has doubled the maintenance burden, not reduced it.
  7. Repeat — Next capability. Each cycle ships.

Read the full file on GitHub · 97 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. 1mo ago Changed · +54 tokens per session d537372d273e
  2. 3mo ago First seen · 97 lines · 40 tokens per session scan A d144ced0d250

Subscribe to this mod's changes

legacy-modernization is a skill published in the GitHub repository nimadorostkar/Claude-Skills-collection (41 stars, last pushed today), licensed MIT. It adds 94 tokens to every session and 1,008 once invoked, about $0.0004 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.

Related

legacy-modernization compared with skills from other repositories

legacy-modernization next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
legacy-modernizationnimadorostkar/Claude-Skills-collectionSkill41todayMITA94Claude Code
offensive-c2-frameworksSnailSploit/Claude-RedSkill12k13d agoMITA250Claude Code, Codex
offensive-crypto-attacksSnailSploit/Claude-RedSkill12k13d agoMITA261Claude Code, Codex
offensive-parameter-pollutionSnailSploit/Claude-RedSkill12k13d agoMITA57Claude Code, Codex
offensive-z-waveSnailSploit/Claude-RedSkill12k13d agoMITA113Claude Code, Codex
fiscalisteromainsimon/paperasseSkill2.6k17d agoMITA306Claude Code
feature-prioritisationmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA103Claude Code, Codex