adding-warehouse-perso…
Sync columns from a synced data warehouse table onto PostHog person or group properties, so warehouse data becomes usable anywhere person and group properties…
Help users debug PostHog Error Tracking stack-trace symbolication for any supported platform — JavaScript/TypeScript web, React Native (Hermes), Android (Proguard / R8), or iOS / macOS (dSYM). The PostHog symbol-set lookup flow is universal across platforms; build-tool and
$ npx -y skills add PostHog/ai-plugin --skill diagnosing-stacktrace-symbolication --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/diagnosing-stacktrace-symbolicationContext preview
The summary Claude sees to decide when to auto-load this skill.
Help users debug PostHog Error Tracking stack-trace symbolication for any supported platform — JavaScript/TypeScript web, React Native (Hermes), Android (Proguard / R8), or iOS / macOS (dSYM). The PostHog symbol-set lookup flow is universal across platforms; build-tool and
name: diagnosing-stacktrace-symbolication description: > Help users debug PostHog Error Tracking stack-trace symbolication for any supported platform — JavaScript/TypeScript web, React Native (Hermes), Android (Proguard / R8), or iOS / macOS (dSYM). The PostHog symbol-set lookup flow is universal across platforms; build-tool and artifact details live in per-platform references (JavaScript is fleshed out, others come as we encounter them). Use when stack frames stay minified or obfuscated after symbols are uploaded, PostHog symbol sets show last_used but frames are not readable, chunk IDs or dSYM UUIDs do not match, "Token not found" appears, uploaded source maps / dSYMs / Proguard mappings look empty, or bundler / symbol-upload configuration needs troubleshooting.
Symbolication is the cross-platform name for what JavaScript source-map lookup, Hermes function-offset resolution, Proguard / R8 demangling, and dSYM address-to-line lookup all do — turn a minified or obfuscated frame back into a readable file, function, and line.
Work through the user's build and PostHog symbol sets as one pipeline: build config -> generated symbol artifacts (JavaScript source maps, Hermes maps, Proguard mappings, or dSYM bundles) -> uploaded symbol set in PostHog -> captured error frame. Most failures become obvious once those four pieces are checked in order.
| Platform | Symbol-data type | Reference | | --------------------------- | ---------------- | ------------------------------------------- | | JavaScript / TypeScript web | source-and-map | [javascript.md](./references/javascript.md) | | React Native (Hermes) | hermes | _coming soon_ | | Android (Proguard / R8) | proguard | _coming soon_ | | iOS / macOS (dSYM) | apple-dsym | _coming soon_ |
Step 3 of the workflow (symbol-set lookup in PostHog) is identical across platforms — `posthog-cli symbol-sets extract` handles all four container types. Steps 1, 2, and the platform-specific failure modes live in the per-platform reference.
Look at the app repo's build scripts and PostHog upload config. Confirm which PostHog package handles the upload (`@posthog/rollup-plugin`, `@posthog/webpack-plugin`, `@posthog/nextjs-config`, `@posthog/nuxt`, or direct `posthog-cli`) and which directory or asset it processes. See the platform reference for build-tool-specific config inspection.
For debugging, prefer a build where symbol artifacts remain on disk after upload so you can compare local artifacts against what PostHog received. JavaScript example with the Vite plugin (the platform reference covers the equivalent setting for other build tools):
sourcemaps: {
enabled: true,
deleteAfterUpload: false,
}Run the production build that uploads symbols, then inspect the emitted files locally. The exact files and helper invocation differ per platform — see the platform reference for the helper command, expected file shape, and common build-time pitfalls (notably empty-mappings false positives that look like upload bugs but are actually bundler config issues).
If local artifacts already look wrong, fix the build before debugging the PostHog upload.
Look up the symbol set whose `ref` matches the captured frame's `chunk_id` using the dedicated MCP tools — they handle auth, project scoping, and pagination automatically:
symbol-data file. Download it immediately; do not echo the URL back unless the user explicitly asks.
If MCP access is not available, the same data is in **Project settings > Error tracking > Symbol sets** in the PostHog UI.
Interpret the row:
The downloaded file is a PostHog symbol-data container (compressed Rust-encoded payload), not plain JSON. Extract it with `posthog-cli`:
posthog-cli symbol-sets extract symbolset.bin -o ./extracted # or, without installing globally: # npx @posthog/cli symbol-sets extract symbolset.bin -o ./extracted # bunx @posthog/cli symbol-sets extract symbolset.bin -o ./extracted
`posthog-cli symbol-sets extract` handles all four symbol-set types (source-and-map, hermes, proguard, dSYM) and writes the extracted files into the output directory. Once extracted, summarize using the platform reference's helper.
Use the failure location to decide what to compare:
binary that was uploaded with the symbols.
the uploaded artifact. Usually points to a changed binary after upload, wrong line / column capture (JavaScript) or wrong frame offset (Hermes / dSYM), or a symbol-covera
Official PostHog plugin for AI clients. Access PostHog products directly from your AI coding tool.
Repo: PostHog/ai-plugin
Sync columns from a synced data warehouse table onto PostHog person or group properties, so warehouse data becomes usable anywhere person and group properties…
Analyze the most expensive users in AI observability and explain why they cost so much. Use when the user asks about top spenders, expensive users, per-user…
Analyze session replay patterns across experiment variants to understand user behavior differences. Use when the user wants to see how users interact with…
Split a completed PostHog task run into activity records — what the agent tried, whether it worked, what blocked it — and record each one through the…
Assesses what a page's heatmap is telling you and recommends concrete changes. Pulls click / rageclick / scroll-depth data for a URL, names the hot elements by…
Audit every endpoint in a PostHog project for staleness, failed materialisations, and unused materialised versions. Use when the user asks "what endpoints can…