migrate-waniwani-sdk-0.18-to-0.19

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

A migration guide for moving projects from version 0.18 of the Waniwani SDK to version 0.19. The main required change is adding an origin field to clicked suggestion events.

In plain words
What is it for?
Updating projects that handle Waniwani chat suggestion.clicked events by adding the required origin value: channel, page, flow, or followup.
Why use it?
It explains the one required event-data change that can cause type or runtime issues after upgrading.

Skill for Claude CodeCodex

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

Good fit Updating projects that handle Waniwani chat suggestion.clicked events by adding the required origin value: channel, page, flow, or followup.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/waniwani-ai/sdk/migrate-waniwani-sdk-0.18-to-0.19"><img src="https://agentmods.dev/badge/skills/waniwani-ai/sdk/migrate-waniwani-sdk-0.18-to-0.19.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 181 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,657 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.00181 $0.01657
Opus 5 $0.00090 $0.00829
Sonnet 5 $0.00036 $0.00331
Haiku 4.5 $0.00018 $0.00166

Measured 12d ago against content hash f38f8445a562, 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.18-to-0.19 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.18-to-0.19/SKILL.md · 110 lines

How it starts

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

Migrate @waniwani/sdk 0.18 → 0.19

A self-contained migration for the single hop from 0.18.x to 0.19.x (the first published 0.19 release is 0.19.1; 0.19.0 was never published to npm). Apply it when a project on 0.18 is moving to 0.19. 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.18 first (each jump ships its own migration skill); if it is already on 0.19+, there is nothing to do here.

What 0.19 changes

Flow interrupt({ suggestions }) values now also render as clickable pills above the input in the Waniwani chat widget, gated by a named origin list. Almost all of it is additive; the one break:

  • suggestion.clicked gained a required properties.origin field"channel" | "page" | "flow" | "followup", reporting which provider supplied the clicked pill. On 0.18.x the payload was { text, index }. The field is part of WidgetEventDetail / WidgetEvent from @waniwani/sdk/chat.

Also shipped (no action required):

  • SuggestionsConfig.origins (SuggestionOrigin[]) replaces the dynamic boolean on the <ChatEmbed> primitive. dynamic is deprecated but still works: true maps to every origin, false to none, origins wins when both are set.
  • suggestionOrigins on <WaniwaniChat> overrides and data-suggestion-origins on the <script> embed. Default everywhere is ["channel", "page", "followup"] — flow-driven pills stay opt-in.
  • Flow tool results always carry _meta["waniwani/suggestions"] (exported as SUGGESTIONS_META_KEY / SuggestionsMeta). Additive; hosts that ignore _meta are unaffected.

Not affected: reading widget events through onEventorigin is a new, always-populated field, so existing readers keep compiling and running. Other MCP hosts (ChatGPT, Claude) see no behavior change.

Read the full file on GitHub · 110 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 · 110 lines · 181 tokens per session scan A f38f8445a562

Subscribe to this mod's changes

migrate-waniwani-sdk-0.18-to-0.19 is a skill published in the GitHub repository WaniWani-AI/sdk (17 stars, last pushed yesterday), licensed MIT. It adds 181 tokens to every session and 1,657 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