Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

creating-box-plot-insights

Skill by PostHog

Creates standard Trends or SQL-backed box plot insights in PostHog. Built for users who want to visualize a numeric distribution, compare quartiles or medians, or turn SQL results into a box plot.

  • Score 87
  • 41k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install creating-box-plot-insights

Built from the published package, never by AI.

git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/products/product_analytics/skills/creating-box-plot-insights ~/.claude/skills/creating-box-plot-insights

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install creating-box-plot-insights in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill helps an AI assistant create box plot insights in PostHog. Box plots need distribution data, not an already aggregated average or total, so the skill first picks the simplest query type that fits the question. A standard product analytics box plot uses a Trends query with a numeric property, while a SQL box plot is used for custom grouping, joins, derived values, or bespoke SQL.

For SQL box plots, the query must return one pre-aggregated row per X-axis and series pair with minimum, quartile, median, mean and maximum values. The skill checks the HogQL with posthog:execute-sql before saving, saves the insight, and then reads it back to verify it. It is intended for users who want to create, save, or verify box plots from product analytics or SQL results.

Written from the project's SKILL.md and checked against it.

What it can do

  • Choose query typePicks a standard Trends box plot or a SQL box plot based on the user's question.
  • posthog:query-trendsRuns a Trends query with the box plot display and a numeric math property.
  • posthog:execute-sqlValidates the HogQL used for a SQL box plot before the insight is saved.
  • posthog:insight-createSaves a standard or SQL box plot insight in PostHog.
  • posthog:insight-getReads back a saved insight to confirm its property, interval, and display.
  • posthog:insight-queryRuns a saved insight to confirm the expected columns and one row per box.

What you need

  • The querying-posthog-data skill, required for writing or changing HogQL
  • PostHog access through the posthog tools used by this skill

Try asking

  • Create a PostHog box plot of session duration by day for the last 30 days
  • Turn this SQL result into a saved PostHog box plot with quartiles and median
  • Compare median order value across user groups as a box plot in PostHog

Good to know

  • A box plot without a numeric math_property is invalid.
  • SQL box plots allow at most 200 series and 10,000 X-axis by series cells.
  • PostHog omits individual boxes with missing or invalid summaries while keeping valid boxes.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: products/product_analytics/skills/creating-box-plot-insights/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md4 KB
  • references/sql-examples.md3 KB

Alternatives to creating-box-plot-insights

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

creating-box-plot-insights: common questions

When should I use a SQL box plot instead of a standard Trends box plot?

Use a SQL box plot when the user needs custom grouping, joins, derived values, or bespoke SQL. Do not use SQL only to reproduce a standard Trends query.

What columns does a SQL box plot need?

The source suggests the aliases x, series, min, p25, median, mean, p75 and max. The x and series columns are optional and can be set to null.

How does the skill verify a saved box plot?

It reads the saved insight with posthog:insight-get, runs it with posthog:insight-query, and confirms the expected columns and one row per box.

How do I install creating-box-plot-insights?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is creating-box-plot-insights free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is creating-box-plot-insights safe to use?

It scores 87 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to creating-box-plot-insights?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

creating-box-plot-insights Install

Add to stack

Loading.