migrate-waniwani-sdk-0.17-to-0.18

migrate-waniwani-sdk-0.17-to-0.18 is a skill for Claude Code, Codex from WaniWani-AI/sdk. It costs 172 tokens per session (1,604 once invoked), scanned A, original, MIT.

A migration guide for moving a project from version 0.17.x to version 0.18.0 of the Waniwani SDK, a software library. It handles the removal of several generic tracking events, related types, and legacy input fields.

In plain words
What is it for?
Use it only when the project uses @waniwani/sdk 0.17.x and is moving to 0.18.0; projects on older or newer versions need a different migration path.
Why use it?
It identifies code that depended on the removed events and applies the documented breaking-change migration for this specific version jump. A breaking change means existing code may need edits to work with the newer version.

Skill for Claude CodeCodex

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

Good fit Use it only when the project uses @waniwani/sdk 0.17.x and is moving to 0.18.0; projects on older or newer versions need a different migration path.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/waniwani-ai/sdk/migrate-waniwani-sdk-0.17-to-0.18
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 WaniWani-AI/sdk --skill migrate-waniwani-sdk-0.17-to-0.18
Clone the repo
git clone --depth 1 https://github.com/WaniWani-AI/sdk

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 migrate-waniwani-sdk-0.17-to-0.18

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/waniwani-ai/sdk/migrate-waniwani-sdk-0.17-to-0.18"><img src="https://agentmods.dev/badge/skills/waniwani-ai/sdk/migrate-waniwani-sdk-0.17-to-0.18.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 172 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,604 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 pass 7 Sept 2026
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.00172 $0.01604
Opus 5 $0.00086 $0.00802
Sonnet 5 $0.00034 $0.00321
Haiku 4.5 $0.00017 $0.00160

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

Security

Grade A, and why

migrate-waniwani-sdk-0.17-to-0.18 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 12d 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/migrate-waniwani-sdk-0.17-to-0.18/SKILL.md · 118 lines

How it starts

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

Migrate @waniwani/sdk 0.17 → 0.18

A self-contained migration for the single hop from 0.17.x to 0.18.0. Apply it when a project on 0.17 is moving to 0.18. It covers only that jump; for other version boundaries use the matching migrate-waniwani-sdk-<from>-to-<to> skill, or the general procedure in the SDK's changelog.

Precondition: the project is on @waniwani/[email protected]. If it is on an older version, migrate up to 0.17 first (each jump ships its own migration skill); if it is already on 0.18+, there is nothing to do here.

What 0.18 changes

The generic funnel events quote.requested, quote.succeeded, quote.failed, and purchase.completed are removed from EVENT_TYPES and the TrackEvent union. They predate the typed revenue taxonomy (price_shown, prices_compared, option_selected, lead_qualified, converted), which models the same funnel stages with typed properties and flat track.* helpers.

Removed with them:

  • The type exports QuoteSucceededProperties and PurchaseCompletedProperties (from @waniwani/sdk and @waniwani/sdk/mcp's tracking surface)
  • The legacy input fields quoteAmount, quoteCurrency, purchaseAmount, purchaseCurrency on LegacyTrackEvent

Not affected: link.clicked (and LinkClickedProperties, legacy linkUrl) stays a first-class event, on both track() and the chat widget's separate host-page onEvent channel.

Unlike the 0.17 hop, this break is visible to tsc: every removed event name and type import surfaces as a type error after the bump, so the compiler output is the complete call-site list.

Procedure

  1. Bump the dependency.
    bun add @waniwani/sdk@^0.18.0
    
  2. Collect the call sites. Run the type checker and/or grep:
    bun run typecheck
    rg "quote\.requested|quote\.succeeded|quote\.failed|purchase\.completed|QuoteSucceededProperties|PurchaseCompletedProperties|quoteAmount|purchaseAmount"
    
  3. Apply the rewrites below to every hit. The track surface is the same on all four clients (server waniwani(), scoped context.waniwani, useWaniwani(), chat.track), so the rewrites are identical everywhere.
  4. Verify — this is the completion check.
    bun run typecheck
    bun test
    
  5. Report which rewrite each call site took.

Read the full file on GitHub · 118 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. 12d ago First seen · 118 lines · 172 tokens per session scan A f2e0d69ee334

Subscribe to this mod's changes

migrate-waniwani-sdk-0.17-to-0.18 is a skill published in the GitHub repository WaniWani-AI/sdk (17 stars, last pushed yesterday), licensed MIT. It adds 172 tokens to every session and 1,604 once invoked, about $0.0009 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.

Related

Other skills, from other repositories

add-export

Add a new subpath export to the @cyanheads/mcp-ts-core package. Use when creating a new public API surface that consumers import from a dedicated subpath (e.g., @cyanheads/mcp-ts-core/newutil).

cyanheads/mcp-ts-core · 50 tokens

fluent-development

This skill should be used when the user asks to "build a fluent app", "create a servicenow app in typescript", or mentions "servicenow sdk", "now-sdk", "fluent", "scoped app as code", or "pro-code development" — or when the working directory contains a now.config.json or .now.ts files.

serac-labs/serac · 77 tokens

implementing-jsc-classes-rust

Creates JavaScript classes using Bun's Rust bindings generator (.classes.ts). Use when implementing new JS APIs in Rust with JSC integration, prototypes, or constructors.

twaldin/hone · 41 tokens

sdk

Guide users building apps, scripts, CI pipelines, or automations on top of the Cursor TypeScript SDK (@cursor/sdk). Use when the user mentions integrating, installing, or writing code against the Cursor SDK; says Agent.create, Agent.prompt, Agent.resume, agent.send, run.stream, CursorAgentError, or @cursor/sdk; asks…

Kevin-Liu-01/Agent-Machines · 178 tokens

typescript-lsp

Search TypeScript SYMBOLS (functions, types, classes) - NOT text. Use Glob to find files, Grep for text search, LSP for symbol search. Provides type-aware results that understand imports, exports, and relationships.

youdotcom-oss/dx-toolkit · 51 tokens

kernelcad-authoring

Author or modify kernelCAD models in TypeScript. Scripts live in .kcad.ts files; the kernelCAD CLI (kernelcad evaluate and kernelcad export stl|step|dxf|3mf|glb -o ) executes them via an OpenCASCADE WASM kernel.

w1ne/kernelCAD-web · 55 tokens