building-a-dashboard

building-a-dashboard is a skill for Claude Code, Codex from PostHog/posthog-foss. It costs 128 tokens per session (2,367 once invoked), scanned A, original, MIT.

A guide for creating or updating a dashboard, which is one page containing several metric and chart tiles. It helps decide which existing insights belong together and which missing ones need to be created.

In plain words
What is it for?
Use it to assemble dashboards for topics such as product analytics, retention, or other sets of related metrics.
Why use it?
It avoids making duplicate dashboards or adding unrelated charts. Reviewing the current dashboard first keeps updates focused and preserves useful existing work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to assemble dashboards for topics such as product analytics, retention, or other sets of related metrics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/posthog/posthog-foss/building-a-dashboard
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PostHog/posthog-foss --skill building-a-dashboard
Clone the repo
git clone --depth 1 https://github.com/PostHog/posthog-foss

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for building-a-dashboard

README.md
[![agentmods](https://agentmods.dev/badge/skills/posthog/posthog-foss/building-a-dashboard/github.svg)](https://agentmods.dev/skills/posthog/posthog-foss/building-a-dashboard)
Your own site
<a href="https://agentmods.dev/skills/posthog/posthog-foss/building-a-dashboard"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/building-a-dashboard/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for building-a-dashboard

Your own site · 80×15
<a href="https://agentmods.dev/skills/posthog/posthog-foss/building-a-dashboard"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/building-a-dashboard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,367 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00128 $0.02367
Opus 5.5 $0.00051 $0.00947
Sonnet 5.5 $0.00026 $0.00473
Haiku 4.5 $0.00013 $0.00237

Measured today against content hash 8f696bba69e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

building-a-dashboard scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

products/dashboards/skills/building-a-dashboard/SKILL.md · 147 lines

How it starts

The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Building a dashboard

A dashboard is a collection of insight tiles on one page. Your job is to figure out which insights belong on it, reuse what already exists, create what's missing, and lay them out sensibly — not to blindly generate charts.

When the dashboard needs explanatory text, keep user copy and agent context separate. Use the writing-simplified-technical-english skill for text that people read. Use agent_context for information that an agent needs to maintain the dashboard.

PostHog's Data Catalog is the semantic layer. Store canonical metric definitions there. Never use agent_context as a substitute for a Data Catalog metric.

Create vs update

First work out whether you're creating a new dashboard or changing an existing one.

  • Search existing dashboards with dashboards-get-all (its search param does fuzzy name/description matching). If the user is clearly describing something that already exists, they probably want an update.
  • Read a candidate with dashboard-get to see its current tiles before you change anything.
  • If the request is ambiguous — "get my financial metrics together" could mean build new or add to an existing one — ask a short clarifying question rather than guessing.

Use templates as reference

PostHog ships vetted dashboard templates for common topics, and orgs can share their own. Consult them before you build — they're a strong signal of which insights pair well on a topic.

  1. dashboard-templates-list — browse templates (use search for a topic, scope to narrow to global / team / organization). This returns names, descriptions, and tags only.
  2. dashboard-templates-retrieve — open the closest template to see its tiles: which insights it groups together and how each is queried.

Treat templates as examples, not a spec. Take inspiration from the insights and their groupings, but tailor every insight to the user's own events, properties, and intent. Don't copy a template verbatim, and don't force a template onto a request it doesn't fit — a good bespoke dashboard beats a mismatched template every time.

Read the full file on GitHub · 147 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +2 lines 8f696bba69e8
  2. 23d ago Changed · +6 lines 5f9d930b499c
  3. 1mo ago Changed · +9 lines f138234c166c
  4. 1mo ago Changed · +8 lines be725dd8265e
  5. 2mo ago Changed · +41 lines 72109f0faa5a
  6. 2mo ago Changed · +2 lines ffdd53d2b60a
  7. 2mo ago Changed · +8 lines 14692d53340e
  8. 2mo ago First seen · 71 lines · 128 tokens per session scan A 504240dcfae4

Subscribe to this mod's changes

building-a-dashboard is a skill published in the GitHub repository PostHog/posthog-foss (734 stars, last pushed today), licensed MIT. It adds 128 tokens to every session and 2,367 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

building-a-dashboard compared with skills from other repositories

building-a-dashboard next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
building-a-dashboardPostHog/posthog-fossSkill734todayMITA128Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144kyesterdayMITA95Claude Code