sdk: Skill for Claude Code

.claude/skills/release-migration/SKILL.md

release-migration is a skill for Claude Code from WaniWani-AI/sdk. It costs 71 tokens per session (1,330 once invoked), scanned A, original, MIT.

A release workflow for updating the @waniwani/sdk version while providing a documented path for users to upgrade. The SDK is a software development kit, and its 0.x minor versions may still include breaking changes.

In plain words
What is it for?
Use it for SDK version bumps, breaking API changes, changelog entries, deprecations, removals, and release preparation, including the required migration materials.
Why use it?
It ensures a breaking public API change is not released without an explanation and a mechanical migration that an agent or user can apply. Internal-only changes are identified as not needing a migration.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

This is WaniWani-AI/sdk's own configuration. It tells Claude Code how to work on sdk itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sdk configures →

Reuse

Borrowing it

Nothing to install: this file belongs to WaniWani-AI/sdk. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/WaniWani-AI/sdk/main/.claude/skills/release-migration/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/WaniWani-AI/sdk

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/waniwani-ai/sdk/release-migration"><img src="https://agentmods.dev/badge/skills/waniwani-ai/sdk/release-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,330 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Anti-Refusal · line 28
    Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.
    Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
  • medium Agent Snooping · line 31
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 69
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium MCP Rug Pull · line 30
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00071 $0.01330
Opus 5 $0.00036 $0.00665
Sonnet 5 $0.00014 $0.00266
Haiku 4.5 $0.00007 $0.00133

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

Security

Grade A, and why

release-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.

.claude/skills/release-migration/SKILL.md · 75 lines

How it starts

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

Release migration

@waniwani/sdk is 0.x, so minor bumps can break the public API. The principle behind this skill: a version bump is not finished until a user (or their agent) can upgrade to it without reading the source. Every breaking change ships with a mechanical, agent-applicable migration. This holds at every version boundary — 0.15, 1.0, and 15.0 alike.

Inspired by how the AI SDK ships migrate-* skills for each major: we keep the equivalent baked into the SDK's own docs so upgrading is a one-pass, auto-applied operation.

When to run

  • Bumping the version in package.json
  • Landing any change to the public API tiers (see CLAUDE.md — OSS / Free tier / Legacy surfaces)
  • Preparing changelog / release notes
  • Deprecating or removing an exported symbol

If the change is purely internal (no exported symbol, type, or documented behavior changes), no migration is needed — say so and stop.

The rule

A release that breaks the public API must ship all three of these before it is done:

  1. Changelog entry — a ## <version>: section in the docs changelog (sdk/changelog.mdx in the docs repo, published at docs.waniwani.ai/sdk/changelog) with:
    • a before/after code snippet, and
    • a mechanical migration an agent can apply without judgment (a codemod recipe, not "update your calls").
    • Also add a row to the Breaking changes at a glance table.
    • A <Tip> at the top of the section linking the version-specific migration skill (deliverable 2): npx skills add Waniwani-AI/sdk -s migrate-waniwani-sdk-<from>-to-<to>, so a reader can run the migration, not just read it.
  2. A version-specific migration skill — a self-contained sibling skill skills/migrate-waniwani-sdk-<from>-to-<to>/SKILL.md covering exactly this hop (one skill per version boundary, the way Vercel ships a migrate-* skill per major). It restates every breaking change of the release as a numbered, apply-without-judgment recipe, ends with bun run typecheck && bun test as the completion check, and does not try to handle other version deltas. Copy the newest existing migrate-waniwani-sdk-* skill as the template. Add a one-line pointer to it from skills/waniwani-sdk/SKILL.md's upgrade section.
  3. Deprecation shim (where feasible) — keep the old signature/export working behind a @deprecated JSDoc that names the removal version. This turns a hard break into a soft one; users get warnings before errors. Not always possible (a surface that never worked is deleted outright, not shimmed).

Read the full file on GitHub · 75 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. 9d ago First seen · 75 lines · 71 tokens per session scan A 608aaae389d3

Subscribe to this mod's changes

release-migration is a skill published in the GitHub repository WaniWani-AI/sdk (17 stars, last pushed 2d ago), licensed MIT. It adds 71 tokens to every session and 1,330 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-30.