creating-box-plot-insights — Claude Code skill: install
The creating-box-plot-insights Claude Code skill builds box plot insights in PostHog from product analytics or SQL. It runs on requests to chart a numeric distribution, compare medians, or save an insight.
no license 148 installs ★ 101 updated 2026-10-24
npx skills add PostHog/ai-plugin --skill creating-box-plot-insights -a claude-codeWhat creating-box-plot-insights does
The skill chooses between a standard Trends query and a SQL visualization in PostHog. For Trends, it sets the event property, time interval, and BoxPlot display, runs the query, saves the result, then checks the saved insight.
A SQL chart needs precomputed minimum, quartiles, median, mean, and maximum values. The skill checks the statistics, grouping, and series and cell limits before saving and querying the visualization again. Use the querying-posthog-data skill before writing or changing HogQL. PostHog can omit a box when its row contains an invalid summary.
What it helps with
- chart an event property's numeric distribution
- compare distributions across dates or groups
- turn SQL query results into a box plot
- validate and save a PostHog visualization
Example prompts for the agent
- Create a PostHog box plot for an event's numeric property.
- Compare group medians with SQL and save the chart in PostHog.
- Validate and save a box plot for the values in this date range.
How to install creating-box-plot-insights
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill creating-box-plot-insights -a claude-code2Manually: put the files in place
~/.claude/skills/creating-box-plot-insights/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/creating-box-plot-insights/
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill creating-box-plot-insights -a codex2Manually: put the files in place
.agents/skills/creating-box-plot-insights/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill creating-box-plot-insights -a cursor2Manually: put the files in place
.cursor/skills/creating-box-plot-insights/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install PostHog/ai-plugin skills/creating-box-plot-insights2Manually: put the files in place
.github/skills/creating-box-plot-insights/SKILL.md1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill creating-box-plot-insights -a gemini-cli2Platform CLI
gemini skills install https://github.com/PostHog/ai-plugin --path skills/creating-box-plot-insightsManually: put the files in place
.devin/skills/creating-box-plot-insights/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill creating-box-plot-insights -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about creating-box-plot-insights
How do I install creating-box-plot-insights in Claude Code?
Run npx skills add PostHog/ai-plugin --skill creating-box-plot-insights -a claude-code. The skill file is at ~/.claude/skills/creating-box-plot-insights/SKILL.md.
What does creating-box-plot-insights do?
It creates a PostHog box plot from Trends data or SQL, checks the result, and saves the insight.
Which skill is needed for the SQL workflow?
Use querying-posthog-data before writing or editing HogQL.