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 understanding-billing-usagegit 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/understanding-billing-usage)<a href="https://agentmods.dev/skills/posthog/posthog-foss/understanding-billing-usage"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/understanding-billing-usage/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/understanding-billing-usage"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/understanding-billing-usage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00180 | $0.02964 |
| Opus 5.5 | $0.00072 | $0.01186 |
| Sonnet 5.5 | $0.00036 | $0.00593 |
| Haiku 4.5 | $0.00018 | $0.00296 |
Grade A, and why
understanding-billing-usage 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- understanding-billing-usage — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 270 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Understanding billing usage
Use this skill for customer-facing "what am I using and why?" Billing usage workflows. The question may come from the Billing usage dashboard, a usage alert email, an AI chat prompt, or a user who noticed high usage, spend, a spike, or a drop.
The core rule:
Billing tools explain what changed, when, and which project drove it. Product tools explain why it happened.
If a prompt sounds like "why are my events high?" or "why did recordings/logs/AI credits increase?" and Billing tools are available, start here rather than jumping straight to the product-specific metric skill. Once the billable usage type, project, and window are known, hand off to the relevant product tools or skill for the root-cause drilldown.
This skill is not meant for broad invoice, plan, refund, contractual credit, subscription, or contract questions. Keep it focused on usage and spend behavior.
Read references/self-host-or-build.md when the user asks what an event costs or what
it would take to self-host PostHog or build their own pipeline instead.
Available tools
| Tool | Purpose |
|---|---|
posthog:billing-overview-get |
Org billing context, subscribed products, team names, and usage summary |
posthog:billing-usage-get |
Time-series usage by day, usage type, and team |
posthog:billing-spend-get |
Optional spend context when the user asks about dollars |
| Product-specific MCP tools | Follow-up investigation inside the affected product/project |
Only use this skill when the billing read tools above are available. If the user asks about billing usage and those tools are not available, do not continue with this workflow. Briefly say that billing usage investigation is not enabled for this organization or MCP session.
What ships with it
3 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.
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.
- today Changed · +2 lines 5cf1e6f9adff
- 12d ago Changed · +1 lines 3102cb796045
- 14d ago Changed · +15 lines · +32 tokens per session f7badead24b7
- 1mo ago Changed · +1 lines 7dca25dbdff7
- 1mo ago Changed abf1ddcd532d
- 2mo ago Changed · -3 lines 2205179e19f6
- 2mo ago Changed · +8 lines c2fb9c1d4962
- 2mo ago First seen · 246 lines · 148 tokens per session scan A 1d1438893747
understanding-billing-usage is a skill published in the GitHub repository PostHog/posthog-foss (734 stars, last pushed today), licensed MIT. It adds 180 tokens to every session and 2,964 once invoked, about $0.0007 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.
understanding-billing-usage compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| understanding-billing-usagePostHog/posthog-foss | Skill | 734 | today | MIT | A | 180 | Claude Code, Codex |
| sector-rotationHKUDS/Vibe-Trading | Skill | 39k | today | MIT | A | 39 | Claude Code, Codex |
| strategy-pivot-designertradermonty/claude-trading-skills | Skill | 9.2k | today | MIT | A | 28 | Claude Code, Codex |
| twitter-readerhimself65/finance-skills | Skill | 3.6k | 26d ago | MIT | A | 110 | Claude Code |
| energy-procurementhashgraph-online/awesome-codex-plugins | Skill | 1.6k | today | Apache-2.0 | A | 93 | Claude Code, Codex |
| airdrop-hunting-guidenirholas/three.ws | Skill | 289 | today | Apache-2.0 | A | 54 | Claude Code, Codex |
| multi-expert-analyzerdigoal/blog | Skill | 8.6k | today | GPL-2.0 | A | 292 | Codex |