wizard: Skill for Claude Code

.claude/skills/ink-tui/SKILL.md

ink-tui is a skill for Claude Code from PostHog/wizard. It costs 36 tokens per session (1,149 once invoked), scanned A, original, MIT.

A pattern for building multi-step terminal interfaces with Ink, a tool that lets Node.js and TypeScript command-line apps use React-style components. It describes reactive wizards whose screens change in response to stored session state.

In plain words
What is it for?
Use it to build command-line installation wizards, setup flows, progress screens, or other interactive Node.js and TypeScript terminal applications.
Why use it?
It provides a consistent way to manage screens, choices, progress, and navigation as a wizard grows. Keeping the flow declarative makes the display and behavior easier to follow.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is PostHog/wizard's own configuration. It tells Claude Code how to work on wizard 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 wizard configures →

Reuse

Borrowing it

Nothing to install: this file belongs to PostHog/wizard. 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/PostHog/wizard/main/.claude/skills/ink-tui/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/PostHog/wizard

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 ink-tui

README.md
[![agentmods](https://agentmods.dev/badge/skills/posthog/wizard/ink-tui/github.svg)](https://agentmods.dev/skills/posthog/wizard/ink-tui)
Your own site
<a href="https://agentmods.dev/skills/posthog/wizard/ink-tui"><img src="https://agentmods.dev/badge/skills/posthog/wizard/ink-tui/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 ink-tui

Your own site · 80×15
<a href="https://agentmods.dev/skills/posthog/wizard/ink-tui"><img src="https://agentmods.dev/badge/skills/posthog/wizard/ink-tui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,149 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: 1 finding, up to medium

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 →

  • medium Prompt Injection · line 72
    Subtle instructions detected that may alter agent decision-making or introduce hidden biases.
    Fix: Review content for implicit steering or bias. Ensure instructions are explicit and align with the skill's stated purpose.
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.00036 $0.01149
Opus 5.5 $0.00014 $0.00460
Sonnet 5.5 $0.00007 $0.00230
Haiku 4.5 $0.00004 $0.00115

Measured 14d ago against content hash 176cbec3960a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ink-tui 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 14d 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/ink-tui/SKILL.md · 97 lines

How it starts

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

Ink TUI

The wizard renders its terminal interface with Ink and React. Pi is an agent harness; it does not replace this renderer. Read wizard-development for architecture and harness/sequence policy before structural changes.

Start with the existing surface

package.json owns supported versions: currently Node ≥22.22.0, Ink ^6.8.0, React ^19.2.4, and @inkjs/ui ^2.0.0. Use installed package types for API details; keep this skill focused on the wizard's conventions rather than copying upstream component manuals.

Add a screen

A screen one program owns:

  1. Create the component in src/tui/programs/<id>/screens/.
  2. Add its id to that folder's screen-ids.ts.
  3. Map the id to the component in the screens of the folder's entry (index.ts(x)), and add its commits to the harness action registry, or list it in NO_ACTION_SCREENS if it has none. The registry's exhaustiveness test in e2e-harness/__tests__/wizard-ci-driver.test.ts fails a screen in neither.
  4. Reference it through screenId in the program's flow (flow.ts, or the AGENT_SKILL_STEPS a skill program adapts), with the appropriate visibility, completion, and gate predicates.

A tool's screens follow the same steps in src/tui/tools/<id>/, whose entry exports TUI_TOOLS; see src/tools.

A screen several programs or the core use lives in screens, with its id in screen-ids.ts and its mount in screen-registry.tsx. Screen sequences derive from each program's flow. Do not hand-maintain a second sequence array or add program navigation to the router. Additional state or service wiring depends on the screen's needs; App remains the shared shell.

Read the full file on GitHub · 97 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 14d ago Changed 176cbec3960a
  2. 1mo ago Changed · +18 lines 360149409ce0
  3. 1mo ago Changed 23a785b15a66
  4. 1mo ago Changed · -78 lines · -56 tokens per session 0444f7bacd3c
  5. 2mo ago First seen · 157 lines · 92 tokens per session scan A caeaa1da57d6

Subscribe to this mod's changes

ink-tui is a skill published in the GitHub repository PostHog/wizard (201 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 1,149 once invoked, about $0.0001 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-08-30.

Related

ink-tui compared with skills from other repositories

ink-tui next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ink-tuiPostHog/wizardSkill201yesterdayMITA36Claude Code
cep-wizardlinkpranay-ai/context-engineering-protocolSkill101mo agoApache-2.0A168Claude Code, Codex
suanfish-design-systemSuanFishXYY/suanfish-design-systemSkill84mo agononeA293Claude Code, Codex
analytics-productsickn33/agentic-awesome-skillsSkill49kyesterdayMITA35Claude Code
cudaq-guideNVIDIA/skillsSkill3.9kyesterdayApache-2.0A26Claude Code, Codex
cudaq-guideNVIDIA/cuda-quantumSkill1.2kyesterdayApache-2.0A26Claude Code, Codex
hr-onboardingnexu-io/html-anythingSkill9.4k24d agoApache-2.0A21Claude Code, Codex