pstack-principle-migrate-callers-then-delete-legacy-apis

pstack-principle-migrate-callers-then-delete-legacy-apis is a skill for Claude Code from dmae97/omk. It costs 48 tokens per session (133 once invoked), scanned A, original, MIT.

A refactoring method for replacing an internal programming interface: update all callers and tests, then remove the old interface in the same change.

In plain words
What is it for?
Use it during coordinated internal API changes where breaking existing callers is acceptable.
Why use it?
It avoids leaving compatibility layers and obsolete code behind when the project does not need to support outside users.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it during coordinated internal API changes where breaking existing callers is acceptable.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dmae97/omk/principle-migrate-callers-then-delete-legacy-apis
View source ↗ dmae97/omk
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 dmae97/omk --skill principle-migrate-callers-then-delete-legacy-apis
Clone the repo
git clone --depth 1 https://github.com/dmae97/omk

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 pstack-principle-migrate-callers-then-delete-legacy-apis

README.md
[![agentmods](https://agentmods.dev/badge/skills/dmae97/omk/principle-migrate-callers-then-delete-legacy-apis/github.svg)](https://agentmods.dev/skills/dmae97/omk/principle-migrate-callers-then-delete-legacy-apis)
Your own site
<a href="https://agentmods.dev/skills/dmae97/omk/principle-migrate-callers-then-delete-legacy-apis"><img src="https://agentmods.dev/badge/skills/dmae97/omk/principle-migrate-callers-then-delete-legacy-apis/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 pstack-principle-migrate-callers-then-delete-legacy-apis

Your own site · 80×15
<a href="https://agentmods.dev/skills/dmae97/omk/principle-migrate-callers-then-delete-legacy-apis"><img src="https://agentmods.dev/badge/skills/dmae97/omk/principle-migrate-callers-then-delete-legacy-apis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 133 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.00048 $0.00133
Opus 5.5 $0.00019 $0.00053
Sonnet 5.5 $0.00010 $0.00027
Haiku 4.5 $0.00005 $0.00013

Measured yesterday against content hash 5cbcf7a7e6d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pstack-principle-migrate-callers-then-delete-legacy-apis 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 yesterday.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

packages/coding-agent/resources/pstack/skills/principle-migrate-callers-then-delete-legacy-apis/SKILL.md · 15 lines

What it actually says

Migrate Callers Then Delete Legacy APIs

  • Update tests to assert the new contract, and delete tests that only protect pre-refactor implementation details

When this applies:

  • No external users depend on backward compatibility
  • The project can absorb coordinated breaking changes
  • The new API is part of a simplification or refactor initiative
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. yesterday First seen · 15 lines · 48 tokens per session scan A 5cbcf7a7e6d9

Subscribe to this mod's changes

pstack-principle-migrate-callers-then-delete-legacy-apis is a skill published in the GitHub repository dmae97/omk (151 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 133 once invoked, about $0.0002 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-10-27.

Related

Other skills, from other repositories

review-harness

Use when reviewing implementation work that ran through a /tmp Pi task harness. Checks contract drift, unsafe shortcuts, validation evidence, and status honesty.

spences10/my-pi · 33 tokens

review

Review checkpoints in SyncPoint — create review requests, add checklists, submit evidence, approve or request changes. Use when reviewing another agent's work before it can proceed.

MIK-HEAL/SyncPoint · 34 tokens

pr-review

Review Cool Workflow pull requests or branch diffs. Use when Codex must inspect code changes for bugs, regressions, FreeBSD/POLA violations, missing tests, generated artifact drift, release-contract risk, or CI implications, and return findings first with file/line citations.

coo1white/cool-workflow · 58 tokens

autofix-pr

Watch a pull request and fix it from a worktree of its own - CI failures, review feedback from trusted authors and merge conflicts are fixed, pushed to the PR branch and answered on the PR under the user's git and gh identity. Usage - /autofix-pr [ | ] [--once] [--every ] [--no-reply] [--yes] [instructions]…

QwenLM/qwen-code · 123 tokens

gh-find-prs

Survey open Codewhale PRs and triage each for mergeability and disposition against the real landing branch.

Hmbown/CodeWhale · 27 tokens

review

Diff-scoped correctness review that reads the codebase around the change — callers, contracts, and invariants — and returns line-anchored findings ranked by severity with confidence, then a merge-risk verdict. Use for reviewing a PR, diff, or named change set. Not for style review, approvals-as-rubber-stamp, or…

Hmbown/CodeWhale · 73 tokens