Opik Analytics Instrumentation
comet-ml/opik
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.
Architectural guidance for changes to the PostHog Wizard: program and framework boundaries, agent routing, gateway admission, security, and TUI state.
$ npx skills add PostHog/wizard --skill wizard-development -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install PostHog/wizard wizard-development --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ 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-srcUse ~/.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/
Install the "wizard-development" agent skill from https://github.com/PostHog/wizard/tree/main/.claude/skills/wizard-development into .claude/skills/wizard-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "wizard-development", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/PostHog/wizard/tree/main/.claude/skills/wizard-developmentType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add PostHog/wizard --skill wizard-development -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install PostHog/wizard wizard-development --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PostHog/wizard.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/wizard-development .agents/skills/wizard-development && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "wizard-development" agent skill from https://github.com/PostHog/wizard/tree/main/.claude/skills/wizard-development into .agents/skills/wizard-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "wizard-development", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PostHog/wizard --skill wizard-development -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install PostHog/wizard wizard-development --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PostHog/wizard.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/wizard-development .cursor/skills/wizard-development && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "wizard-development" agent skill from https://github.com/PostHog/wizard/tree/main/.claude/skills/wizard-development into .cursor/skills/wizard-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "wizard-development", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/PostHog/wizard.git --path .claude/skills/wizard-development--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add PostHog/wizard --skill wizard-development -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install PostHog/wizard wizard-development --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PostHog/wizard.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/wizard-development .gemini/skills/wizard-development && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "wizard-development" agent skill from https://github.com/PostHog/wizard/tree/main/.claude/skills/wizard-development into .gemini/skills/wizard-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "wizard-development", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install PostHog/wizard wizard-developmentInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add PostHog/wizard --skill wizard-development -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/PostHog/wizard.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/wizard-development .github/skills/wizard-development && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "wizard-development" agent skill from https://github.com/PostHog/wizard/tree/main/.claude/skills/wizard-development into .github/skills/wizard-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "wizard-development", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PostHog/wizard --skill wizard-development -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install PostHog/wizard wizard-development --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PostHog/wizard.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/wizard-development .opencode/skills/wizard-development && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "wizard-development" agent skill from https://github.com/PostHog/wizard/tree/main/.claude/skills/wizard-development into .opencode/skills/wizard-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "wizard-development", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
wizard-developmentArchitectural 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. 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.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 08c70dd. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
pnpmFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Coding agents working in the PostHog Wizard repository.
From compatibility in the SKILL.md frontmatter.
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.
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.
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.
The full file from PostHog/wizard at commit 08c70dd, republished under its MIT licence (© PostHog). 891 words, ~2,430 tokens.
.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.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.
| Concern | Owner |
|---|---|
| Framework detection, context, env conventions | FrameworkConfig and framework configs |
| Integration instructions and orchestrator flows/tasks | context-mill |
| Programs: detection, runs, prerequisites and outcomes | One folder per program in programs, entered through its index.ts |
| Tools: commands that run no agent | tools, entered through @tools, with their screens in TUI tools |
| Program screens, flows and decks | TUI programs |
| Sequence, harness, model and effort selection | switchboard |
| Local tool permissions and scanner adapters | agent-interface, YARA hooks, Pi security |
| Scanner rules | warlock |
| Token admission and budgets | PostHog mint endpoint and ai-gateway |
| Screen resolution and rendering | TUI through its store |
| Layer import boundaries | One tsconfig project per layer, checked by pnpm typecheck, and ESLint rules for the paths the compiler can't see; see layer boundaries |
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:
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.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.
src/cli/commands/ and registration
in runCli (src/cli/index.ts), as well as program registration.mcp add or doctor, follow
Add a tool. A tool never goes
through runProgram, and no program imports one.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 a new concern, first look for an existing typed surface. Add an abstraction only when it gives a real owner a smaller, reusable boundary.
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.
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
SKILL.md and 3 other files (references) in .claude/skills/wizard-development of PostHog/wizard.
Open the folder on GitHubat commit 08c70dd
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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Wizard Development this skillPostHog/wizard | 197 | — | ~2.4k | Automated safety check: Pass | MIT | |
| Opik Analytics Instrumentationcomet-ml/opik | 22k | — | ~4.4k | Automated safety check: Pass | Apache-2.0 | |
| C15tc15t/c15t | 1.9k | 1 repos | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Define Feature Flagmacro-inc/macro | 4.6k | — | ~780 | Automated safety check: Pass | AGPL-3.0 | |
| Soku CLIAbout-Intelligence/soku-cli | 304 | — | ~2.4k | Automated safety check: Pass | MIT | |
| Compare Array Bundle SizePostHog/posthog-js | 613 | — | ~599 | Automated safety check: Pass | Custom licence |
comet-ml/opik
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.
c15t/c15t
Work with c15t consent management docs, APIs, and integrations for Next.js, React, and JavaScript.
macro-inc/macro
Define a frontend feature flag with defineFlag and wire its readers.
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.
PostHog/posthog-js
Quickly compare the posthog-js array.js bundle size in the current working tree against a git baseline using the repository's esbuild proxy.
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…
PostHog/wizard
Build or modify the PostHog wizard's Ink screens, primitives, keyboard interactions, and session-driven screen flow.
PostHog/wizard
Add or extend language and framework support in the PostHog wizard, including detection, framework configuration, registration, and matching context-mill content.
PostHog/wizard
Drive the PostHog wizard headlessly against a throwaway app through wizard-ci MCP tools, inspect decisions, and capture the real TUI.
PostHog/wizard
Add a PostHog wizard capability backed by context-mill content.
Works with
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.
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.
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.
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.
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..
SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.
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.
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.
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.
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.
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.