deprecation-and-migration

deprecation-and-migration is a skill for Claude Code, Codex from Dannykkh/skill-olympus. It costs 74 tokens per session (3,119 once invoked), scanned A, original, MIT.

A code-maintenance guide for retiring obsolete code, replacing old APIs and libraries, and moving projects to newer versions. It can scan for deprecated and unused code.

In plain words
What is it for?
Use it to plan API version changes, library upgrades, language or runtime migrations, database schema changes, infrastructure moves, and gradual dead-code removal.
Why use it?
It helps teams plan risky migrations in stages instead of changing everything at once. This reduces the amount of legacy code that must be maintained.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to plan API version changes, library upgrades, language or runtime migrations, database schema changes, infrastructure moves, and gradual dead-code removal.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dannykkh/skill-olympus/deprecation-and-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 Dannykkh/skill-olympus --skill deprecation-and-migration
Clone the repo
git clone --depth 1 https://github.com/Dannykkh/skill-olympus

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dannykkh/skill-olympus/deprecation-and-migration"><img src="https://agentmods.dev/badge/skills/dannykkh/skill-olympus/deprecation-and-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,119 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00074 $0.03119
Opus 5.5 $0.00030 $0.01248
Sonnet 5.5 $0.00015 $0.00624
Haiku 4.5 $0.00007 $0.00312

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

Security

Grade A, and why

deprecation-and-migration scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

diff <(curl -s localhost:3000/api/v1/users) <(curl -s localhost:3000/api/v2/users)
skills/deprecation-and-migration/SKILL.md · 353 lines

How it starts

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

Deprecation & Migration — 코드 부채 정리 + 안전한 마이그레이션

코드는 자산이 아니라 부채다. 유지보수할 코드가 적을수록 팀은 빠르게 움직인다. 삭제하지 못하는 코드는 미래의 버그이고, 마이그레이션하지 않는 레거시는 기술 부채의 이자다.

Quick Start

/deprecate                          # 대화형 폐기/마이그레이션 계획 수립
/deprecate scan                     # 프로젝트 내 폐기 대상 스캔
/deprecate plan "jQuery → vanilla"  # 특정 마이그레이션 계획 생성
/deprecate api v1 → v2              # API 버전 전환 계획
/deprecate audit                    # 기술 부채 감사

공식 호출명: /deprecate (별칭: 마이그레이션, 레거시 정리, 코드 부채)

적용 시점

상황 적용
라이브러리/프레임워크 메이저 버전 업그레이드 O
API 버전 폐기 (v1 → v2) O
레거시 코드 단계적 제거 O
언어/런타임 마이그레이션 (JS → TS, Python 2 → 3) O
DB 스키마 대규모 변경 O
인프라 전환 (온프렘 → 클라우드) O
단순 리팩토링 (이름 변경, 파일 이동) X — 일반 리팩토링
새 기능 추가 X

CRITICAL: First Actions

1. Print Intro

Deprecation & Migration — 코드 부채 정리
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
순서: Audit → Plan → Deprecate → Migrate → Verify → Cleanup

2. 현재 상태 스캔

# 1. @deprecated 어노테이션/주석 찾기
echo "=== @deprecated ==="
grep -rn "@deprecated\|@Deprecated\|# deprecated\|// deprecated\|DEPRECATED" \
  --include="*.{ts,tsx,js,jsx,py,java,go,rb,cs,kt,rs}" . 2>/dev/null | head -30

# 2. TODO/FIXME/HACK 찾기
echo "=== TODO/FIXME/HACK ==="
grep -rn "TODO\|FIXME\|HACK\|XXX\|WORKAROUND" \
  --include="*.{ts,tsx,js,jsx,py,java,go,rb,cs,kt,rs}" . 2>/dev/null | wc -l

# 3. 오래된 의존성 확인
echo "=== Outdated Dependencies ==="
npm outdated 2>/dev/null || pip list --outdated 2>/dev/null || \
  go list -m -u all 2>/dev/null | grep '\[' | head -20

# 4. Dead code 후보 (export되지만 import 안 되는 것)
echo "=== Unused Exports (sample) ==="
grep -rn "^export " --include="*.{ts,tsx,js,jsx}" . 2>/dev/null | head -10

Step 1: 기술 부채 감사 (Audit)

부채 분류 매트릭스

카테고리 예시 리스크 우선순위 기준
보안 부채 패치 안 된 의존성, 취약한 암호화 높음 즉시
호환성 부채 EOL 런타임, 폐기 예정 API 높음 분기 내
성능 부채 N+1 쿼리, 불필요한 번들 중간 다음 스프린트
가독성 부채 죽은 코드, 혼란스러운 네이밍 낮음 여유 시

Read the full file on GitHub · 353 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. 2mo ago First seen · 353 lines · 74 tokens per session scan A 4294fd6da7ee

Subscribe to this mod's changes

deprecation-and-migration is a skill published in the GitHub repository Dannykkh/skill-olympus (9 stars, last pushed 6d ago), licensed MIT. It adds 74 tokens to every session and 3,119 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

deprecation-and-migration compared with skills from other repositories

deprecation-and-migration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deprecation-and-migrationDannykkh/skill-olympusSkill96d agoMITA74Claude Code, Codex
error-analyzerclaude-hangar/claude-hangarSkill15mo agoMITA46Claude Code
debug-teamclaude-hangar/claude-hangarSkill15mo agoMITA35Claude Code
audit-projectluiseiman/dotforgeSkill826d agoMITA26Claude Code
init-projectluiseiman/dotforgeSkill826d agoMITA28Claude Code
domain-extractluiseiman/dotforgeSkill826d agoMITA24Claude Code
rule-effectivenessluiseiman/dotforgeSkill826d agoMITA47Claude Code