Skip to main content
skill CX Codex

building-a-dashboard — Claude Code skill: what it does, how to install

building-a-dashboard — a skill for Claude Code, Codex, and Cursor that builds and updates PostHog dashboards via MCP tools. Coordinates insight reuse and grid layout.

no license 208 installs ★ 101 updated 2026-11-10

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add PostHog/ai-plugin --skill building-a-dashboard -a claude-code
Open on GitHub

What building-a-dashboard does

Runs across Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. It guides an agent through PostHog dashboard operations by running dashboards-get-all before making changes, inspecting candidate templates with dashboard-templates-retrieve, and checking for existing graphs via insights-list.

Canonical metric definitions rely entirely on PostHog's Data Catalog via posthog:metric-list and posthog:metric-describe. The agent is instructed never to treat agent_context notes as official metric governance when a catalog entry is missing.

Layout updates pass through dashboard-update on a standard 12-column grid. Insights favor native typed runners like funnels, retention, and paths, keeping raw SQL insights reserved for specific custom joins.

What it helps with

  • build a fresh analytics dashboard in PostHog over MCP
  • update existing dashboard tiles without clearing the whole layout
  • verify canonical metrics against the PostHog Data Catalog
  • position insight tiles across the PostHog 12-column grid

Example prompts for the agent

  • Assemble a retention and activation dashboard in PostHog
  • Add a 7-day stickiness chart to my existing product dashboard
  • Replace the old signups tile on the team overview dashboard

How to install building-a-dashboard

1Skills CLI (Vercel)

npx skills add PostHog/ai-plugin --skill building-a-dashboard -a claude-code

2Manually: put the files in place

~/.claude/skills/building-a-dashboard/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/building-a-dashboard/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about building-a-dashboard

How to install building-a-dashboard in Claude Code?

Run npx skills add PostHog/ai-plugin --skill building-a-dashboard -a claude-code in your terminal.

What does building-a-dashboard do?

It orchestrates PostHog dashboard setup through MCP tools, preventing duplicate insights and enforcing proper layout structure.

Can it invent metric definitions inside dashboard notes?

No, it requires approved definitions from PostHog Data Catalog and forbids using agent_context as a substitute for official metric definitions.

Similar skills

All skills for Data and databases →
measure-dashboard-requirements product-on-purpose measure-dashboard-requirements is a Claude Code skill that turns a dashboard request into a specification for its questions, metrics, charts, filters, and data sources. It activates for new dashboards and formalized reporting. CX Codex +1 847installs signals-scout-anomaly-detection PostHog signals-scout-anomaly-detection — a skill for Claude Code detects anomalies across saved PostHog insights, including sudden spikes, metric drops, and broken trends. Tracks key dashboards against seasonality-matched baselines. CX Codex +1 318installs firecrawl-dashboard-reporting firecrawl firecrawl-dashboard-reporting reads metrics from public or signed-in web dashboards through Firecrawl and turns them into reports, summaries, or date-range tables. CX Codex +1 32,000installs corezoid-dashboard-manager Corezoid corezoid-dashboard-manager is a Claude Code skill that builds Corezoid dashboards via cz-dashboards, mapping process node task counters to charts and setting grid layouts. CX Codex +1 ★ 74repo stars signals-scout-observability-gaps PostHog The signals-scout-observability-gaps skill finds meaningful events without insight, dashboard, or alert coverage. Use it to review analytics coverage as a product changes. CX Codex +1 316installs affiliate-performance-dashboard Maya-Beth Finotti affiliate-performance-dashboard is a Claude Code skill that turns reporting requirements into an affiliate dashboard spec with metric formulas, audience views, and alert thresholds. CX Codex +1 17,600installs

From the same set82

The whole set →
authoring-error-tracking-alerts authoring-error-tracking-alerts guides your agent in configuring PostHog error tracking notifications, selecting lifecycle triggers, and connecting them to Slack or webhooks. CX Codex +1 209installs filtering-bot-traffic filtering-bot-traffic splits human traffic from bots and AI crawlers in PostHog. Use it to clean a metric or to see how much of the traffic runs on autopilot. CX Codex +1 208installs investigating-metric-anomalies investigating-metric-anomalies turns a PostHog Metrics symptom (rising lag, error spike, falling throughput) into a probable cause backed by logs and traces. CX Codex +1 206installs choosing-trend-or-slope-view choosing-trend-or-slope-view — a skill that settles what “change over time” means before a chart gets built: the full trend interval by interval, or only the gap between the two ends. CX Codex +1 204installs auditing-warehouse-source-health auditing-warehouse-source-health audits PostHog data warehouse sources and syncs to pinpoint broken connectors, failed schemas, and degraded webhooks. CX Codex +1 204installs signals-scout-product-analytics signals-scout-product-analytics — a skill for Claude Code and Codex monitoring core product analytics flows in PostHog. Detects derived-rate regressions across funnels and retention while entrant volume holds steady. CX Codex +1 204installs auditing-warehouse-view-health auditing-warehouse-view-health runs a project-wide check on PostHog materialized views: lists the ones that failed to refresh and points at materialized views nobody queries. CX Codex +1 204installs building-workflows building-workflows is a Claude Code skill for building, patching, and testing PostHog automation graphs over MCP before publishing them in the visual editor. CX Codex +1 204installs

Project sponsors

Companies that keep this analytics open