understanding-billing-usage
Skill by PostHog
Explains PostHog billing usage and spend using the customer's Billing MCP tools. Useful for teams asking why usage is high, which project drives it, or whether a usage alert was real.
Install understanding-billing-usage
Built from the published package, never by AI.
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/products/billing/skills/understanding-billing-usage ~/.claude/skills/understanding-billing-usageRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install understanding-billing-usage in Claude Code
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/posthog/products/billing/skills/understanding-billing-usage ~/.gemini/antigravity-cli/skills/understanding-billing-usageAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install understanding-billing-usage in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill helps answer questions about PostHog usage and spend. It starts with the Billing usage and spend tools to show which usage type, product, and project changed, and when. It then routes to the customer's own product MCP tools, such as events, feature flags, or session replay, to explain why the change happened.
It covers high or changed usage, what a usage type means, how to reduce usage, and whether a spike or drop alert was real. It is meant for PostHog customers who can access billing data for their organization. It does not cover invoices, plans, refunds, or contracts.
Written from the project's SKILL.md and checked against it.
What it can do
- posthog:billing-overview-getReturns org billing context, subscribed products, team names, and a usage summary.
- posthog:billing-usage-getReturns time-series usage by day, usage type, and team.
- posthog:billing-spend-getReturns optional spend context when the user asks about dollars.
- Alert day comparisonCompares an alert day with prior weekday or weekend days to judge whether an alert was real.
- Product drilldown routingHands off to customer-visible product MCP tools to find the root cause of a usage change.
What you need
- PostHog MCP with the Billing read tools available
- Billing access for the PostHog organization
- Access to the affected project in PostHog
Try asking
- Why did my event usage increase last week?
- Which project is driving my recordings usage this month?
- Was this usage spike alert real or just noise?
Good to know
- Only runs when the Billing read tools are available in the session.
- Does not cover invoices, plans, refunds, contractual credits, subscriptions, or contracts.
- Deeper investigation only uses data the customer can access in their own project.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: products/billing/skills/understanding-billing-usage/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB -
references/spike-alert-mechanics.md1 KB -
references/usage-type-routing.md15 KB
Alternatives to understanding-billing-usage
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
understanding-billing-usage: common questions
Why does PostHog usage look high?
The skill uses Billing usage and spend data to show which usage type, product, and project drove the increase. It then checks the affected project's product data to explain why.
Can this skill tell if a usage alert was real?
Yes. It compares the alert day with prior days in the same class, such as weekdays or weekends, and reports the direction, baseline, and delta.
Does this skill need billing permissions?
Yes. If the user does not have billing access for the organization, the skill stops and says they should ask someone with billing access.
How do I install understanding-billing-usage?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is understanding-billing-usage free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is understanding-billing-usage safe to use?
It scores 86 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to understanding-billing-usage?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
