migration-strategy

migration-strategy is a skill for Claude Code from camilooscargbaptista/cto-toolkit. It costs 99 tokens per session (1,456 once invoked), scanned A, original, MIT.

A planning and review guide for large system migrations, such as moving from a monolith to separate services, changing cloud providers, migrating databases, or upgrading a framework. A monolith is one application containing many parts; microservices are separate services.

In plain words
What is it for?
Use it to plan or review cloud, database, architecture, framework, or programming-language migrations. It helps break the work into stages and define how to validate and undo changes.
Why use it?
It helps teams plan data movement, feature matching, safe rollout, parallel operation, and rollback before changing a large system. It also identifies migration approaches and common failure patterns.

Skill for Claude Code

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

Part of the cto-toolkit plugin — 54 skills, 6 agents, 3 hooks shipped together

Good fit Use it to plan or review cloud, database, architecture, framework, or programming-language migrations. It helps break the work into stages and define how to validate and undo changes.

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

Made for: Claude Code.

Or install cto-toolkit, the plugin that ships this one along with the rest of its 54 skills, 6 agents, 3 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/camilooscargbaptista/cto-toolkit/migration-strategy"><img src="https://agentmods.dev/badge/skills/camilooscargbaptista/cto-toolkit/migration-strategy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,456 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.00099 $0.01456
Opus 5 $0.00049 $0.00728
Sonnet 5 $0.00020 $0.00291
Haiku 4.5 $0.00010 $0.00146

Measured 8d ago against content hash 910d45169d66, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

migration-strategy 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 8d 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.

migration-strategy/SKILL.md · 172 lines

How it starts

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

Migration Strategy

You are a senior architect who has led multiple large-scale migrations — monoliths to microservices, on-prem to cloud, major version upgrades, and database migrations. You know that migrations fail more often from poor planning than from technical challenges.

Directive: Read ../quality-standard/SKILL.md before producing output.

Migration Patterns

1. Strangler Fig (Monolith → Microservices)

Strategy: Gradually replace monolith functionality with new services, routing traffic through a facade that decides monolith vs new service.

Steps:

  1. Identify bounded contexts in the monolith (domain boundaries)
  2. Start with the least coupled, most painful module
  3. Build new service behind same API contract
  4. Route traffic: monolith → facade → new service (shadow mode first)
  5. Validate: compare responses between old and new
  6. Cut over: route 100% to new service
  7. Decommission old code path

Anti-patterns:

  • Big bang rewrite (rewriting everything at once — almost always fails)
  • Distributed monolith (microservices that must deploy together)
  • Shared database between old and new (creates coupling)
  • No feature parity validation (new service missing edge cases)

2. Database Migration

Zero-downtime strategy:

  1. Expand: Add new columns/tables alongside old (backward compatible)
  2. Migrate: Backfill new columns from old data
  3. Dual-write: Application writes to both old and new
  4. Verify: Validate data consistency between old and new
  5. Switch reads: Point reads to new columns/tables
  6. Contract: Remove old columns/tables after confidence period

Checklist:

  • Migration script is idempotent (re-run safe)
  • Rollback script prepared and tested
  • Data validation queries defined
  • Performance impact assessed (lock duration, table size)
  • Backup taken before migration
  • Scheduled during low-traffic window
  • Monitoring for errors and performance during migration

3. Cloud Migration (Lift & Shift → Re-Platform → Re-Architect)

Read the full file on GitHub · 172 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. 8d ago First seen · 172 lines · 99 tokens per session scan A 910d45169d66

Subscribe to this mod's changes

migration-strategy is a skill published in the GitHub repository camilooscargbaptista/cto-toolkit (7 stars, last pushed 5mo ago), licensed MIT. It adds 99 tokens to every session and 1,456 once invoked, about $0.0005 per session on Opus 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-31.

Related

Other skills, from other repositories

architecture-paradigm-microservices

Applies microservices for independent deployment and per-service scaling. Use when teams need autonomous release cycles with distinct capability scaling needs.

athola/claude-night-market · 33 tokens

architecture-patterns

Software architecture patterns and best practices.

aAAaqwq/AGI-Super-Team · 10 tokens

microservices-expert

Expert-level microservices architecture, patterns, service mesh, and distributed systems. Use when the user mentions distributed systems, service mesh, or architecture, or when the task involves Microservices Principles, Architecture Patterns, Communication, or Data Management.

personamanagmentlayer/pcl · 52 tokens

vb6-legacy

Classic VB6 patterns, COM interop, migration strategies.

bobmatnyc/claude-mpm-skills · 16 tokens

software-patterns

Compare tradeoffs and recommend architectural patterns — dependency injection, service-oriented architecture, repository, domain events, circuit breaker, and anti-corruption layer. Use when choosing between design patterns, planning microservices boundaries, evaluating system design alternatives, or asking 'which…

bobmatnyc/claude-mpm-skills · 67 tokens

microservices-architecture

Guides service boundary analysis, communication pattern selection, data consistency design, API contract strategy, and resilience checklist for microservices systems. Complements the microservices fragment. Invoked when the user asks to design a microservices system, split a monolith, or review service boundaries.

soulcodex/agentic · 61 tokens