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.
npx skills add PostHog/posthog-foss --skill working-with-chartsgit clone --depth 1 https://github.com/PostHog/posthog-fossWrote 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.
[](https://agentmods.dev/skills/posthog/posthog-foss/working-with-charts)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
metafor 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
NaNfor 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 |
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.
- 1mo ago Changed · +6 lines d65273657af1
- 1mo ago Changed 7f2a3a08f41e
- 2mo ago First seen · 58 lines · 73 tokens per session scan A c592eb979980
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.
working-with-charts compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| working-with-chartsPostHog/posthog-foss | Skill | 736 | today | MIT | A | 73 | Claude Code, Codex |
| anti-slop-designsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 34 | Claude Code |
| chakra-ui-builderchakra-ui/chakra-ui | Skill | 41k | today | MIT | A | 214 | Claude Code, Codex |
| visual-ralphYeachan-Heo/oh-my-codex | Skill | 34k | 2d ago | MIT | A | 52 | Codex |
| prototype-webnexu-io/html-anything | Skill | 17k | 5d ago | Apache-2.0 | A | 24 | Claude Code, Codex |
| open-design-setupcompozy/compozy | Skill | 2.9k | today | MIT | A | 67 | Claude Code, Codex |
| edit-sitemicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 104 | Claude Code |