forge-migration

forge-migration is a skill for Claude Code from ForgeyClap/claude-forge. It costs 0 tokens per session (1,609 once invoked), scanned A, original, MIT.

A playbook for updating old software through small, reversible changes instead of replacing everything at once. Characterization tests record what the existing system currently does, including undocumented behavior.

In plain words
What is it for?
Use it to modernize legacy systems, move features to a new platform, upgrade components, add feature flags, and plan a controlled cutover.
Why use it?
It reduces the risk of losing relied-on behavior during a rewrite or technology upgrade. Each change can be checked for matching results before the next part is moved.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Codex.

Good fit Use it to modernize legacy systems, move features to a new platform, upgrade components, add feature flags, and plan a controlled cutover.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/forgeyclap/claude-forge/forge-migration
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 ForgeyClap/claude-forge --skill forge-migration
Clone the repo
git clone --depth 1 https://github.com/ForgeyClap/claude-forge

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 forge-migration

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/forgeyclap/claude-forge/forge-migration"><img src="https://agentmods.dev/badge/skills/forgeyclap/claude-forge/forge-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,609 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.
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.00000 $0.01609
Opus 5.5 $0.00000 $0.00644
Sonnet 5.5 $0.00000 $0.00322
Haiku 4.5 $0.00000 $0.00161

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

Security

Grade A, and why

forge-migration 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.

.claude/skills/forge-migration/SKILL.md · 41 lines

How it starts

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

Forge playbook — Legacy modernization / migration

Do not duplicate ECC skills — defer to: learn-codebase / forge-deeplearn (prime the legacy system before touching it — mandatory here), test-driven-development + systematic-debugging (characterization + regression work; both ship with Forge as pinned vendored skills), forge-worktrees (isolate each slice), /test-coverage. This file is orchestration only.

The governing principle is Michael Feathers' rule: you cannot safely change code you cannot characterize. Migration is not a rewrite — it is a sequence of small, reversible, parity-verified swaps behind a facade, each of which keeps the system working the whole time. The catastrophic failure mode is the "big-bang" rewrite that goes dark for months and cuts over into unverified behavior loss. Forge does not do that.

Hard rules

  • Characterization tests first. Before changing any legacy behavior, capture what it currently does with characterization / golden-master / approval tests — including the ugly, undocumented, "wrong-but-relied-on" behavior. These pin the existing contract so a migration can prove it preserved it. No behavior change lands before its characterization test exists and passes on the legacy code.
  • Strangler-fig, incremental cutover. Introduce a seam / facade / routing layer and move one slice at a time to the new implementation behind it. The old and new systems run side by side; the facade decides per-request which path serves. Never replace the whole thing at once.
  • Every step is reversible. Each slice cuts over behind a feature flag / route toggle with a proven route-back. Each step is independently deployable and independently revertible. If a slice misbehaves in production, you flip it back in seconds — you never have to "un-rewrite".
  • Parity verified before a slice is trusted. Old vs new must produce the same result: shadow/diff the new path against the old (GitHub-Scientist-style compare, or replayed inputs) and reconcile every discrepancy before the slice takes real traffic. Divergence is investigated, not waved through.
  • No big-bang rewrite. No months-long dark rewrite, no "we'll cut over everything on the weekend". If the plan can't be sliced, the first work package is to find the seams that make slicing possible.
  • Data migration is reversible and verified. Schema/data moves use dual-write or backfill-then-verify with row-count + checksum reconciliation and a rollback path. The old store stays authoritative until parity is proven; no destructive drop of the source until the new store is verified and a backup exists.
  • Live-database schema changes use expand-and-contract. Renames and type changes on a live database: add the new column, backfill, write both, switch reads, drop the old one later — never a blocking in-place rename on a big table.
  • Test migrations on a realistic copy first. A lock that takes milliseconds on a small table can take minutes on a large one. Test the migration on a realistic copy and keep the rollback ready.

Read the full file on GitHub · 41 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 · +2 lines · -42 tokens per session 81a75ee3f7ec
  2. 2mo ago Changed 17238a7c239b
  3. 3mo ago First seen · 39 lines · 42 tokens per session scan A 5daff7b3f3c0

Subscribe to this mod's changes

forge-migration is a skill published in the GitHub repository ForgeyClap/claude-forge (2 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,609 tokens. 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-31.

Related

forge-migration compared with skills from other repositories

forge-migration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
forge-migrationForgeyClap/claude-forgeSkill22mo agoMITA0Claude Code
returns-policystrands-agents/samplesSkill951todayApache-2.0A36Claude Code
technical-troubleshootingstrands-agents/samplesSkill951todayApache-2.0A38Claude Code
trailhead-viewToRvaLDz/trailheadSkill37yesterdayMITA116Claude Code
reviewhandarbeit/fabrikSkill252d agoApache-2.0A35Claude Code
implement-commenthandarbeit/fabrikSkill252d agoApache-2.0A38Claude Code
specifyhandarbeit/fabrikSkill252d agoApache-2.0A41Claude Code