Official agent skill

Wizard Development

by PostHog in PostHog/wizard

Architectural guidance for changes to the PostHog Wizard: program and framework boundaries, agent routing, gateway admission, security, and TUI state.

OfficialMITAuto-check passed

Install Wizard Development

skills CLI
$ npx skills add PostHog/wizard --skill wizard-development -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install PostHog/wizard wizard-development --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/PostHog/wizard.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/wizard-development .claude/skills/wizard-development && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
wizard-development
GitHub stars
197
Token cost
~2.4k tokens
SKILL.md length
891 words
Files
4 (incl. references)
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Architectural guidance for changes to the PostHog Wizard: program and framework boundaries, agent routing, gateway admission, security, and TUI state.

  • Works in 4 steps: Define the Wizard model ID and… → Check the PostHog mint's… → Check the gateway's provider/catalog… → …
  • SKILL.md covers Execution policy and model…, Choose the extension surface, Lifecycle and security and Verification and maintenance
  • Calls pnpm

What it does

Wizard Development is an agent skill from PostHog/wizard, published by the product's own GitHub organization. Architectural guidance for changes to the PostHog Wizard: program and framework boundaries, agent routing, gateway admission, security, and TUI state. Read before structural changes, then load the relevant procedural skill.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/ANTI-PATTERNS.md`, `references/ARCHITECTURE.md` and `references/MAINTAINING-SKILLS.md`). Compatibility notes: Coding agents working in the PostHog Wizard repository.

It works with PostHog. The repository describes itself as: Quickly add PostHog to your project using the setup wizard ✨. The licence is MIT.

Example prompts

  • “/wizard-development”

Requirements

  • Compatibility (from SKILL.md): Coding agents working in the PostHog Wizard repository.

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Define the Wizard model ID and capabilities in
  2. Check the PostHog mint's WIZARD_MODEL_ALLOWLIST and allowed efforts. The
  3. Check the gateway's provider/catalog support and **required Wizard
  4. Verify the chosen harness transport and effective effort with the same

What it can do on your machine

Read from SKILL.md and the folder at commit 08c70dd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Coding agents working in the PostHog Wizard repository.

    From compatibility in the SKILL.md frontmatter.

Context cost

Wizard Development loads about 2.4k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 61 tokens; SKILL.md has 891 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~11k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from PostHog/wizard at commit 08c70dd, republished under its MIT licence (© PostHog). 891 words, ~2,430 tokens.

Download SKILL.mdSave it as .claude/skills/wizard-development/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
wizard-development
description
Architectural guidance for changes to the PostHog Wizard: program and framework boundaries, agent routing, gateway admission, security, and TUI state. Read before structural changes, then load the relevant procedural skill.
compatibility
Coding agents working in the PostHog Wizard repository.
metadata.author
posthog
metadata.version
2.2

Wizard development

Ask who owns the concern and what they should need to understand to change it. Product knowledge belongs behind typed configuration boundaries; runner and UI infrastructure should consume those boundaries.

ConcernOwner
Framework detection, context, env conventionsFrameworkConfig and framework configs
Integration instructions and orchestrator flows/taskscontext-mill
Programs: detection, runs, prerequisites and outcomesOne folder per program in programs, entered through its index.ts
Tools: commands that run no agenttools, entered through @tools, with their screens in TUI tools
Program screens, flows and decksTUI programs
Sequence, harness, model and effort selectionswitchboard
Local tool permissions and scanner adaptersagent-interface, YARA hooks, Pi security
Scanner ruleswarlock
Token admission and budgetsPostHog mint endpoint and ai-gateway
Screen resolution and renderingTUI through its store
Layer import boundariesOne tsconfig project per layer, checked by pnpm typecheck, and ESLint rules for the paths the compiler can't see; see layer boundaries

Execution policy and model admission

  • Pi is the default choice for new work. Harness choice and model provider are separate: Pi supports gateway-backed Anthropic and OpenAI transports.
  • Prefer orchestration. A seed agent plans work, then task agents execute focused conversations. Start from metrics and its context-mill flow.
  • Linear is for very simple tasks and legacy support. Composed program sub-runs are also structurally clamped to linear; orchestration cannot nest through that seam.
  • Anthropic Agent SDK remains supported as a legacy fallback, deprecated as the default. Retain it for major Pi vulnerabilities or missing support for new Anthropic models.

DEFAULT_BINDING selects Pi + linear for a program whose config sets no binding; flags and development overrides sit on top. Set new bindings explicitly. Migrating an existing program requires checking its flow, tasks, and lifecycle hooks; changing the default constant alone is insufficient. Both harnesses implement run and runTask.

Adding a model or effort is a cross-repository change:

  1. Define the Wizard model ID and capabilities in constants and models; select it through the switchboard or supported context-mill stage metadata.
  2. Check the PostHog mint's WIZARD_MODEL_ALLOWLIST and allowed efforts. The token's policy is enforced by the gateway; a local constant or CLI override cannot authorize a model.
  3. Check the gateway's provider/catalog support and required Wizard system-prompt policy, including the security-triage request shape. A model not supported by that infrastructure needs a coordinated gateway/mint change before use.
  4. Verify the chosen harness transport and effective effort with the same admission policy used by the target environment.

Local commandments provide runtime and tool guidance. They do not replace the gateway's required safety prompt. Keep gateway policy owned there rather than copying it into skills. Do not infer per-model effort authorization merely from the local capabilities table.

Choose the extension surface

  • For a framework, follow adding-framework-support. Detection is pure; use bounded filesystem helpers and preserve specific-before-generic ordering.
  • For a capability, follow adding-skill-program. Prefer a context-mill command within an existing family when that is sufficient. A native command needs a command module in src/cli/commands/ and registration in runCli (src/cli/index.ts), as well as program registration.
  • For a command that runs no agent, such as mcp add or doctor, follow Add a tool. A tool never goes through runProgram, and no program imports one.
  • For screens or primitives, follow ink-tui. A program's flow in src/tui/programs/<id>/ drives its screen sequence. Programs never use the UI; they get a runner context. TUI code takes the store it reports through as an argument, and session mutations use store setters that emit changes.
  • For headless exploration, follow exploring-the-wizard. Drive current legal actions and inspect error outros and pending questions throughout execution.

For a new concern, first look for an existing typed surface. Add an abstraction only when it gives a real owner a smaller, reusable boundary.

Show full SKILL.md (277 more words)Show less

Lifecycle and security

runner/index.ts resolves the route from RunConfig.routing, bootstraps, and dispatches to a sequence. Sequences own their lifecycle; harnesses own SDK calls. ProgramRun.postRun, buildOutroData, customPrompt, and abortCases are consumed by the linear sequence, not by the orchestrator. Put orchestrated work in its flow/tasks and inspect its completion path when extending it.

Keep tool enforcement at the boundary: shared permissions, harness-specific adapters, and warlock scanning. Scanner failure must not silently allow an unsafe operation. Review each adapter's blocking and termination behavior rather than assuming every rejection terminates the run. New scanner rules belong in warlock; changes to how a match is handled belong in Wizard.

User-provided secrets should travel through secret-vault references. Tool implementations resolve values host-side where they are used; they must not return the raw value to the model. Inspect the wizard-tools implementations and the Pi adapter when extending this shared tool surface.

Verification and maintenance

Reuse existing tests for routing, registration, detection, state transitions, and security behavior. Add a focused regression only when it protects a meaningful failure mode that existing checks do not cover. Avoid tests of prose, duplicated shape checks, and assertions already enforced by TypeScript.

For docs, verify local links and claimed APIs, then format edited files. For code, run pnpm typecheck and the relevant existing Vitest files; build when the change affects bundling or runtime behavior. pnpm test already builds. Avoid repository-wide pnpm fix for a scoped edit. Keep new code comments to one line.

Keep desired design policy distinguishable from current runtime behavior.

Read references as needed:

© PostHog, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in .claude/skills/wizard-development of PostHog/wizard.

  • SKILL.md
  • references/ANTI-PATTERNS.md
  • references/ARCHITECTURE.md
  • references/MAINTAINING-SKILLS.md

Open the folder on GitHubat commit 08c70dd

Compare with similar skills

Wizard Development next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Wizard Development compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Wizard Development this skillPostHog/wizard197—~2.4kAutomated safety check: PassMIT
Opik Analytics Instrumentationcomet-ml/opik22k—~4.4kAutomated safety check: PassApache-2.0
C15tc15t/c15t1.9k1 repos~1.6kAutomated safety check: PassApache-2.0
Define Feature Flagmacro-inc/macro4.6k—~780Automated safety check: PassAGPL-3.0
Soku CLIAbout-Intelligence/soku-cli304—~2.4kAutomated safety check: PassMIT
Compare Array Bundle SizePostHog/posthog-js613—~599Automated safety check: PassCustom licence

Similar skills

  • Shows how to add product analytics events to Opik's frontend, Java backend and Python SDK, all reporting through Segment to PostHog with an opik_ name prefix.

    22k GitHub stars~4.4k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • C15t

    c15t/c15t

    Work with c15t consent management docs, APIs, and integrations for Next.js, React, and JavaScript.

    1.9k GitHub starsUsed in 1 repo~1.6k tokens
    Legal & ComplianceAuto-check passed
  • Define Feature Flag

    macro-inc/macro

    Define a frontend feature flag with defineFlag and wire its readers.

    4.6k GitHub stars~780 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Soku CLI

    About-Intelligence/soku-cli

    Guides an agent through the soku command line tool for ads, GA4 and PostHog data reads, ads writes, SEO hosting, automations, files and skill management.

    304 GitHub stars~2.4k tokensUpdated 2 days ago
    Marketing & SEOAuto-check passed
  • Compare Array Bundle Size

    PostHog/posthog-js

    Official

    Quickly compare the posthog-js array.js bundle size in the current working tree against a git baseline using the repository's esbuild proxy.

    613 GitHub stars~599 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Telemetry Analytics

    OpenHands/OpenHands

    This skill should be used when the user asks to "add tracking", "add a PostHog event", "change telemetry consent", "instrument onboarding", "debug analytics", or changes telemetry.ts…

    90k GitHub stars~305 tokensUpdated today
    DevOps & CloudAuto-check passed

More from PostHog/wizard

  • Ink Tui

    PostHog/wizard

    Official

    Build or modify the PostHog wizard's Ink screens, primitives, keyboard interactions, and session-driven screen flow.

    197 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Official

    Add or extend language and framework support in the PostHog wizard, including detection, framework configuration, registration, and matching context-mill content.

    197 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Exploring The Wizard

    PostHog/wizard

    Official

    Drive the PostHog wizard headlessly against a throwaway app through wizard-ci MCP tools, inspect decisions, and capture the real TUI.

    197 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Adding Skill Program

    PostHog/wizard

    Official

    Add a PostHog wizard capability backed by context-mill content.

    197 GitHub stars~2.6k tokensUpdated today
    Auto-check passed

Works with

Questions about Wizard Development

What does Wizard Development do?

Architectural guidance for changes to the PostHog Wizard: program and framework boundaries, agent routing, gateway admission, security, and TUI state. Wizard Development is an agent skill from PostHog/wizard, published by the product's own GitHub organization. Architectural guidance for changes to the PostHog Wizard: program and framework boundaries, agent routing, gateway admission, security, and TUI state.

How do I install Wizard Development in Claude Code?

Run `npx skills add PostHog/wizard --skill wizard-development -a claude-code`. Or copy the skill folder (.claude/skills/wizard-development in PostHog/wizard) into .claude/skills/wizard-development in your project. Claude Code loads it when a task matches its description.

How do I install Wizard Development in Codex?

Run `npx skills add PostHog/wizard --skill wizard-development -a codex`. Or copy the skill folder (.claude/skills/wizard-development in PostHog/wizard) into .agents/skills/wizard-development in your project. Codex loads it when a task matches its description.

Can I use Wizard Development in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PostHog/wizard --skill wizard-development -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/wizard-development, .gemini/skills/wizard-development, .github/skills/wizard-development and .opencode/skills/wizard-development in your project.

What does Wizard Development need to run?

Going by SKILL.md and its folder, Wizard Development needs the command-line tools its instructions call (pnpm). Compatibility (from SKILL.md): Coding agents working in the PostHog Wizard repository..

Does Wizard Development access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Wizard Development safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Wizard Development use?

Wizard Development is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Wizard Development use?

About 2.4k tokens (SKILL.md is roughly 9.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.9k tokens, read only when the agent opens those files.

What are the alternatives to Wizard Development?

Skills that share tags, products or a category with Wizard Development: Opik Analytics Instrumentation (comet-ml/opik, 22k stars), C15t (c15t/c15t, 1.9k stars), Define Feature Flag (macro-inc/macro, 4.6k stars) and Soku CLI (About-Intelligence/soku-cli, 304 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Wizard Development?

PostHog (a GitHub organization, an official publisher) maintains it in PostHog/wizard, which has 197 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 6, 2026.

Source: PostHog/wizard on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.