adding-dashboard-v2-content

adding-dashboard-v2-content is a skill for Claude Code, Codex from PostHog/posthog-foss. It costs 146 tokens per session (445 once invoked), scanned A, original, MIT.

A development guide for adding new content to version 2 of a dashboard, such as a chart, a product-specific React component, or a reusable panel type. It first helps choose the appropriate implementation path before building it.

In plain words
What is it for?
Use it to add charts, custom React dashboard content, or new reusable panel types with their configuration and loading behavior.
Why use it?
It reduces the risk of adding dashboard content in the wrong way or taking on more shared infrastructure than necessary. The choice depends on whether the content is a chart, belongs to one product, or should be reusable by every dashboard host.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to add charts, custom React dashboard content, or new reusable panel types with their configuration and loading behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/posthog/posthog-foss/adding-dashboard-v2-content
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 adding-dashboard-v2-content
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 adding-dashboard-v2-content

README.md
[![agentmods](https://agentmods.dev/badge/skills/posthog/posthog-foss/adding-dashboard-v2-content/github.svg)](https://agentmods.dev/skills/posthog/posthog-foss/adding-dashboard-v2-content)
Your own site
<a href="https://agentmods.dev/skills/posthog/posthog-foss/adding-dashboard-v2-content"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/adding-dashboard-v2-content/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 adding-dashboard-v2-content

Your own site · 80×15
<a href="https://agentmods.dev/skills/posthog/posthog-foss/adding-dashboard-v2-content"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/adding-dashboard-v2-content.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 445 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.
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.00146 $0.00445
Opus 5.5 $0.00058 $0.00178
Sonnet 5.5 $0.00029 $0.00089
Haiku 4.5 $0.00015 $0.00044

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

Security

Grade A, and why

adding-dashboard-v2-content 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.

.agents/skills/adding-dashboard-v2-content/SKILL.md · 27 lines

What it actually says

Adding content to a dashboards v2 tile

Read products/dashboards_v2/.agents/primitives.md ("Which to build for new content") and .agents/composing.md first.

Intake: pick the path

Ask in order and stop at the first yes. If the request doesn't answer a question, ask the person rather than guess.

  1. Does it draw a query result as a chart, number or table? Add a chart kind, as composing.md describes in "Your own kind of chart". Charts get sample data, filters, image export and the chart menu for free. This skill ends here.
  2. Is it one product's own component, such as a setup prompt, checklist, list with actions, banner or a control that changes the dashboard's filters? Make it custom content: follow references/custom-content.md.
  3. Is it a new kind of content that every host could use, with its own saved config and loading, such as markdown? Add a panel type: follow references/panel-type.md.

A panel type costs the most, because its type and config are saved in documents forever and it owns loading, filters, snapshots and performance. When unsure between 2 and 3, pick custom content.

Say which path you picked and why in one line before you build.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 First seen · 27 lines · 146 tokens per session scan A b4e4507c2a73

Subscribe to this mod's changes

adding-dashboard-v2-content is a skill published in the GitHub repository PostHog/posthog-foss (736 stars, last pushed today), licensed MIT. It adds 146 tokens to every session and 445 once invoked, about $0.0006 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-12-04.

Related

adding-dashboard-v2-content compared with skills from other repositories

adding-dashboard-v2-content next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adding-dashboard-v2-contentPostHog/posthog-fossSkill736todayMITA146Claude Code, Codex
build-ghost-appTryGhost/GhostSkill56ktodayMITA44Claude Code, Codex
material-ui-tailwindmui/material-uiSkill99kyesterdayMITA67Claude Code, Codex
fuzzy-rankingTanStack/tableSkill29k2d agoMITA62Claude Code, Codex
r3f-best-practiceszebbern/claude-code-guideSkill4.7ktodayMITA74Claude Code, Codex
git-safetytamagui/tamaguiSkill14k3d agoMITA42Claude Code
remotion-best-practicesguanyang/open-agent-hubSkill1.0ktodayMITA116Claude Code