migrate-waniwani-sdk-0.15-to-0.16

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

A migration guide for updating projects from version 0.15.x to 0.16.0 of the @waniwani/sdk, a software library for Waniwani integrations.

In plain words
What is it for?
Use it to update the dependency, replace removed tracking APIs, adjust tool-response metadata, and run type checks and tests.
Why use it?
It applies the release's breaking changes so old tracking calls and metadata formats do not fail after the upgrade.

Skill for Claude CodeCodex

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

Good fit Use it to update the dependency, replace removed tracking APIs, adjust tool-response metadata, and run type checks and tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/waniwani-ai/sdk/migrate-waniwani-sdk-0.15-to-0.16
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.15-to-0.16
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.15-to-0.16

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/waniwani-ai/sdk/migrate-waniwani-sdk-0.15-to-0.16"><img src="https://agentmods.dev/badge/skills/waniwani-ai/sdk/migrate-waniwani-sdk-0.15-to-0.16.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,952 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.00150 $0.01952
Opus 5 $0.00075 $0.00976
Sonnet 5 $0.00030 $0.00390
Haiku 4.5 $0.00015 $0.00195

Measured 12d ago against content hash 6cca3c3cc334, 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.15-to-0.16 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.15-to-0.16/SKILL.md · 115 lines

How it starts

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

Migrate @waniwani/sdk 0.15 → 0.16

A self-contained migration for the single hop from 0.15.x to 0.16.0. Apply it when a project on 0.15 is moving to 0.16. 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.15 first (that jump ships its own migration); if it is already on 0.16+, there is nothing to do here.

What 0.16 changes

Tracking becomes one typed track client on four surfaces (server waniwani(), the scoped client in tool handlers and flow nodes, useWaniwani() in MCP-app widgets, and chat.track on chat host pages), each attaching session identity automatically. Five breaking changes result, all mechanical.

Procedure

  1. Bump the dependency.
    bun add @waniwani/sdk@^0.16.0
    
  2. Apply changes 1–5 below. Skip any with no matching call sites and note it in the report.
  3. Verify — this is the completion check.
    bun run typecheck
    bun test
    
    Every remaining type error points at a call site the new API rejects; each is one of the changes below.
  4. Report which changes applied, which were skipped for lack of call sites, and anything that needed a judgment call (a string track() name with no typed equivalent).

1. useWaniwani() returns the typed server track surface

useWaniwani() now returns { sessionId, track, identify, flush }, where track is the same TrackFn as the server client. Removed: string-based track(name, properties), step(name, meta), conversion(name, data), the capture option, and all DOM auto-capture (a single widget_render event still fires automatically on mount).

Auto-fix, in order:

  1. Delete any capture option passed to useWaniwani({ ... }).
  2. Replace wani.step(<name>, <meta>) and wani.conversion(<name>, <data>) with the typed revenue helper for that funnel stage:
    • price shown → wani.track.priceShown({ amount, currency })
    • options compared → wani.track.pricesCompared({ options })
    • a choice made → wani.track.optionSelected({ id, amount, currency })
    • qualification bar met → wani.track.leadQualified({ externalId?, email?, name? })
    • a conversion → wani.track.converted({ amount, currency })
  3. Rewrite string calls wani.track("<name>", <props>):
    • <name> is a typed event (quote.requested, quote.succeeded, quote.failed, link.clicked, purchase.completed, or a revenue event) → object form: wani.track({ event: "<name>", properties: <props> }).
    • otherwise → pick the closest typed event; custom event names are not part of the typed surface (flag these in the report).
  4. Remove any imports of AutoCaptureToggles or WidgetTrackFn; the widget track is the same TrackFn type as the server client (from @waniwani/sdk).

Read the full file on GitHub · 115 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 · 115 lines · 150 tokens per session scan A 6cca3c3cc334

Subscribe to this mod's changes

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

codex-with-chatgpt

A connection that lets ChatGPT help plan and review coding work while Codex edits files, runs commands, tests code, and handles execution.

XiaoDuoYa/codex-with-chatgpt · 90 tokens

codexless-browser-repair

Diagnose and temporarily repair Codexless Browser compatibility after a Codex, Chrome Skill, or Browser runtime update when Codexless Browser stopped working. Use for current-version Codexless Browser compatibility drift, not ordinary website bugs, general Browser operation, Codexless install/update work, or long-term…

liyana31811/Codexless · 70 tokens

add-widget

Add a new widget (React UI + MCP tool) to this template. Use when asked to "add a widget", "add a new tool with UI", "create a new widget", "scaffold a widget", or "build a new MCP App feature".

pomerium/mcp-app-typescript-template · 56 tokens

create-mcp-tool

Add a plain (text-only) or UI-enhanced MCP tool to this template's server. Use when asked to "add a tool", "add an MCP tool", "create a new tool", "add a server-side tool without a widget", "add a tool with a UI", "add a tool with a widget", or "create a tool and a widget".

pomerium/mcp-app-typescript-template · 80 tokens

threebrowser-studio-mcp

Author, inspect, render, validate, animate, and save Three.js WebGPU projects in the native ThreeBrowser Studio through its real threestudio MCP tools. Use whenever Codex is asked to build or edit a ThreeBrowser Studio scene, material, Blender-style shader or texture graph, animation, lighting setup, camera, or…

SamG-Coder/ThreeBrowserStudio · 122 tokens

install-shellby-mcp

Install and verify Shellby MCP on a Mac using terminal access only. Use when a user asks an agent to install, set up, configure, or finish a new Shellby MCP installation from this repository.

serbyte-development/shellby-mcp · 47 tokens