working-with-charts

working-with-charts is a skill for Claude Code, Codex from PostHog/posthog-foss. It costs 73 tokens per session (850 once invoked), scanned A, original, MIT.

A guide for using the Quill Charts package to add or change charts in a web application. It explains how to choose a chart, provide data and dimensions, and handle themes, labels, tooltips, and interactions.

In plain words
What is it for?
Use it when building time-series, labelled, or interactive charts with `@posthog/quill-charts`, including their axes, legends, overlays, and click behaviour.
Why use it?
It helps you follow the package's supported usage instead of relying on internal code or creating inconsistent chart setups.

Skill for Claude CodeCodex

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

Good fit Use it when building time-series, labelled, or interactive charts with @posthog/quill-charts, including their axes, legends, overlays, and click behaviour.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/posthog/posthog-foss/working-with-charts
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 working-with-charts
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 working-with-charts

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/posthog/posthog-foss/working-with-charts"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/working-with-charts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 850 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.00073 $0.00850
Opus 5.5 $0.00029 $0.00340
Sonnet 5.5 $0.00015 $0.00170
Haiku 4.5 $0.00007 $0.00085

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

Security

Grade A, and why

working-with-charts 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 1mo ago.

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/working-with-charts/SKILL.md · 64 lines

How it starts

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

Consuming quill-charts

Use the package's components and defaults before writing custom chart code. Read only the example or topic needed for the task. For changes inside the library, use CONTRIBUTING.md instead.

Choose a component

Use the chart-selection table, then read a matching package story. For a date axis, start with DateAxis in TimeSeriesLineChart stories. Import components and types from @posthog/quill-charts, not internal source paths.

Supply data, theme, and dimensions

  • Use stable series keys and typed meta for tooltip or click data.
  • For label-based charts, keep labels unique and align each series' data with them.
  • Use ISO date labels with TimeSeries* charts; format ticks through the axis config.
  • Use NaN for missing numeric series values, not zero.
  • Keep series, config, and callbacks stable across unrelated renders.
  • Give charts that fill their container a parent with real dimensions, including a nonzero height.

Reuse the host's existing chart theme setup. For a new host without chart theming, use the package's useChartTheme hook. Follow the setup and theme docs for tokens and CSS. Omit series colors to use the theme palette; resolve CSS variables before passing explicit canvas colors. Read the selected chart's props and the Series type for its data contract.

Configure before customizing

Prefer the selected chart's built-in tooltip and legend. Use config options and exported overlays before custom renderers. Load only the relevant topic:

Task Package docs
Axis formatting, ranges, or multiple axes Axes
Bar layouts or per-bar styling Bars
Tooltip formatting or content Tooltips
Legend visibility or interaction Legend
Reference lines, labels, or custom overlays Overlays
Clicks, zoom, or selection Interactions

Read the full file on GitHub · 64 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. 1mo ago Changed · +6 lines d65273657af1
  2. 1mo ago Changed 7f2a3a08f41e
  3. 2mo ago First seen · 58 lines · 73 tokens per session scan A c592eb979980

Subscribe to this mod's changes

working-with-charts is a skill published in the GitHub repository PostHog/posthog-foss (736 stars, last pushed today), licensed MIT. It adds 73 tokens to every session and 850 once invoked, about $0.0003 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-09.

Related

working-with-charts compared with skills from other repositories

working-with-charts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
working-with-chartsPostHog/posthog-fossSkill736todayMITA73Claude Code, Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill51ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k2d agoMITA52Codex
prototype-webnexu-io/html-anythingSkill17k5d agoApache-2.0A24Claude Code, Codex
open-design-setupcompozy/compozySkill2.9ktodayMITA67Claude Code, Codex
edit-sitemicrosoft/power-platform-skillsSkill1.2ktodayMITA104Claude Code