deprecation-migration

deprecation-migration is a skill for Claude Code, Codex from int2t05/engineering-skills. It costs 78 tokens per session (1,987 once invoked), scanned A, original, MIT.

A plan for safely retiring old code, APIs, features, or dependencies while moving users and systems to replacements. An API is an agreed way for software components to communicate.

In plain words
What is it for?
Use it to replace systems or libraries, remove features or dead code, upgrade dependencies, and plan how an old version will be phased out.
Why use it?
It reduces breakage during upgrades and removals, including problems caused by users relying on undocumented behavior.

Skill for Claude CodeCodex

Written for Claude Code and Codex: ${CLAUDE_PLUGIN_ROOT} variable, but also agents/openai.yaml present.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the engineering-skills plugin — 47 skills, 1 hook shipped together

Good fit Use it to replace systems or libraries, remove features or dead code, upgrade dependencies, and plan how an old version will be phased out.

Compare 6 skills from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add int2t05/engineering-skills
Claude Code
/plugin install engineering-skills

Made for: Claude Code, Codex.

Or install engineering-skills, the plugin that ships this one along with the rest of its 47 skills, 1 hook.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/int2t05/engineering-skills/deprecation-migration"><img src="https://agentmods.dev/badge/skills/int2t05/engineering-skills/deprecation-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,987 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.00078 $0.01987
Opus 5 $0.00039 $0.00993
Sonnet 5 $0.00016 $0.00397
Haiku 4.5 $0.00008 $0.00199

Measured 9d ago against content hash 1aad218ece5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

deprecation-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 9d 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/08-ship/deprecation-migration/SKILL.md · 139 lines

How it starts

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

Deprecation and Migration

Code is a liability, not an asset. Every line carries maintenance cost — bugs, dependency updates, security patches, onboarding overhead. Deprecation is the discipline of removing code that no longer earns its keep; migration is the process of moving users safely from old to new. Most organizations build things well; few remove them well.

Hyrum's Law makes removal hard: with enough users, every observable behavior becomes depended on — including bugs, timing quirks, and undocumented side effects. Deprecation therefore requires active migration, not just announcement. Plan removal at design time — systems with clean interfaces, feature flags, and minimal surface area are far easier to sunset.

When to use

  • Replacing an old system, API, or library with a new one.
  • Sunsetting a feature that's no longer needed, or consolidating duplicate implementations.
  • Removing dead code that nobody owns but everybody depends on.
  • Planning the lifecycle of a new system (deprecation planning starts at design time).
  • Deciding whether to maintain a legacy system or invest in migration.
  • Upgrading a dependency or framework version, including major/breaking upgrades (see references/dependency-upgrade.md).
  • Moving data between systems (dual-write, backfill, CDC, cutover) — see references/data-migration.md.

Not for: patching a security vulnerability in place (use security-review); routine commits (use git-workflow).

Steps

1. Make the deprecation decision

Before deprecating anything, answer:

  1. Does this system still provide unique value? If yes, maintain it.
  2. How many consumers depend on it? Quantify the migration scope.
  3. Does a replacement exist? If no, build the replacement first — never deprecate without an alternative.
  4. What's the migration cost for each consumer? Trivially automated → do it; manual and high-effort → weigh against maintenance cost.
  5. What's the ongoing cost of not deprecating? Security risk, engineer time, opportunity cost of complexity.

Read the full file on GitHub · 139 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 139 lines · 78 tokens per session scan A 1aad218ece5f

Subscribe to this mod's changes

deprecation-migration is a skill published in the GitHub repository int2t05/engineering-skills (3 stars, last pushed 8d ago), licensed MIT. It adds 78 tokens to every session and 1,987 once invoked, about $0.0004 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

pr-workflow

Crear pull requests completas con descripcion, labels y reviewers.

686f6c61/alfred-dev · 14 tokens

python-services

Python patterns for CLI tools, async parallelism, and backend services. Use when building CLI apps, async/parallel Python, FastAPI services, background jobs, or configuring Python project tooling (uv, ruff, ty).

iliaal/whetstone · 48 tokens

nodejs-backend

Node.js backend patterns: framework selection, layered architecture, TypeScript, validation, error handling, security, production deployment. Use when building REST APIs, Express/Fastify servers, microservices, or server-side TypeScript.

iliaal/whetstone · 50 tokens

fec-data-fetching

A frontend guide for handling data that comes from a server, including typed requests, caching, refreshing, pagination, and updates. Server state means data owned by an API rather than by a page’s local controls.

bovinphang/frontend-craft · 76 tokens

php-laravel

Modern PHP 8.2+ and Laravel patterns: architecture, Eloquent, queues, Pest testing. Use when asked to "write PHP", "build a Laravel app", "fix Eloquent query", "add a queue job", "write a Pest test", or mentions PHP, Laravel, Eloquent, Blade, artisan, or migrations.

iliaal/whetstone · 74 tokens

ia-php-laravel

Modern PHP 8.4 and Laravel patterns: architecture, Eloquent, migrations, queues, testing. Use when working with Laravel, Eloquent, Blade, artisan, or building/testing a framework-based PHP app. Not for php-src internals, standalone PHP libraries, or general PHP language discussion.

iliaal/whetstone · 67 tokens