understanding-billing-usage
यह क्या करती है
यह स्किल समय के साथ आपके PostHog बिलिंग उपयोग को पढ़ती है और बताती है कि क्या बदला और कहाँ। यह उन खाता मालिकों के लिए है जो उपयोग की चेतावनी या उम्मीद से ज़्यादा बिल को समझना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आपको उपयोग की चेतावनी मिली हो और जानना हो कि उछाल असली था या नहीं।
- ✓जब आपका PostHog खर्च उम्मीद से ज़्यादा हो और आप जानना चाहें कि किस प्रोजेक्ट से यह बढ़ा।
- ✓जब आप समझना चाहें कि कोई उपयोग प्रकार क्या है और उसे कैसे घटाया जा सकता है।
Skill का लिंक
https://github.com/PostHog/posthog/blob/master/products/billing/skills/understanding-billing-usage/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“पिछले हफ़्ते मेरा PostHog उपयोग क्यों बढ़ गया, और कौन सा प्रोजेक्ट इसका कारण है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह चुनी हुई अवधि में दिन, उपयोग प्रकार और प्रोजेक्ट के हिसाब से उपयोग देखती है, और सबसे बड़े बदलाव की ओर इशारा करती है। जब कारण किसी फ़ीचर के भीतर हो, तो मूल कारण उत्पाद-विशेष टूल को सौंप दिया जाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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.
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.
If a billing tool returns a permission error, read the error detail before deciding what to do. Stop only when it says the user does not have billing access. Say the current PostHog user does not have billing access for this organization and should ask someone with billing access to run it or update their role.
If the permission error points to requested projects or team_ids, correct the
project filter once if the user provided the wrong project context. Do not
describe that as missing billing access unless the tool says it is.
Some clients expose PostHog MCP tools through mcp__posthog__exec instead of direct
posthog:* tool names. If the direct billing tools are not visible, search for
billing, inspect the relevant tool schema, and call the billing tool through the
dispatcher before deciding billing usage investigation is unavailable.
Read references/spike-alert-mechanics.md when the prompt comes from a usage alert
email or dashboard link and you need URL parameter or weekday/weekend baseline guidance.
Read references/usage-type-routing.md before doing product-specific drilldown.
Inputs to look for
The best input is a Billing usage dashboard URL, but the skill should also work from a product name, usage type, project, or date in a normal user prompt. Extract whatever is available:
usage_types: JSON array of billing usage type identifiers, for example["event_count_in_period"]date_to: the end of the chart window, or the alert day for alert linksdate_from: the start of the chart windowinterval: normallyday- Product or usage type names from the dashboard, email copy, or prompt
- Project/team names or IDs if the user already has a suspected project
If the usage type is missing but the user named a product, map it to the closest billing usage type and say what you inferred. If the date range is missing, use the last 30 days and say so. Only ask for more context when the prompt is too vague to choose a product or time window.
Workflow
Step 1. Classify the question
Choose the smallest path that answers the user:
- High/current usage: identify the product, project, and current-period context.
- Spend question: include spend, but keep usage as the diagnostic source.
- Usage change: compare the changed period to a sensible baseline.
- Alert email: follow the usage-change path and apply the alert-specific rules below.
- Reduction question: identify the driver first, then suggest product-specific reductions.
Step 2. Recreate the Billing view
Call posthog:billing-usage-get using the dashboard or prompt parameters:
start_date: `
अक्सर पूछे जाने वाले सवाल
क्या यह मेरा इनवॉइस समझाती है?
नहीं। यह उपयोग और खर्च के व्यवहार पर केंद्रित है, इनवॉइस, रिफ़ंड, प्लान या अनुबंध पर नहीं।
क्या यह बता सकती है कि किसी फ़ीचर के इवेंट क्यों बढ़े?
यह पता लगाती है कि बदलाव कब और कहाँ हुआ, फिर उसका कारण समझाने के लिए उत्पाद टूल इस्तेमाल करती है।
क्या यह उपयोग कम करने में मदद कर सकती है?
यह दिखा सकती है कि कौन से उपयोग प्रकार आपका खर्च बढ़ाते हैं, ताकि आप तय कर सकें कि कहाँ कटौती करें।
जानकारी
लेखक का मूल विवरण
Explains PostHog billing usage and spend from the customer's visible Billing MCP tools. Use when the user asks why usage or spend is high, which product or project is driving usage, what a usage type means, how to reduce usage, what changed over time, why they got a usage change alert, or whether a spike/drop alert was real or noisy. Also use before product-specific analytics skills when the user names a billable PostHog product metric such as events, recordings, feature flag requests, exceptions, survey responses, synced rows, logs, AI events, AI credits, or Inbox credits. Starts from Billing
repo: PostHog/posthog
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #6837
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
depot-ci
41kयह आपके एजेंट को Depot CI वर्कफ़्लो सेट अप करने, चलाने और माइग्रेट करने में मदद करती है, साथ ही रन के लॉग पढ़ने में।
depot-container-builds
41kयह आपके एजेंट को Depot के रिमोट बिल्डर पर Docker इमेज बनाने में मदद करती है, जिसमें मल्टी-प्लेटफ़ॉर्म इमेज और बिल्ड सुधार शामिल हैं।
depot-github-runners
41kयह आपके एजेंट को GitHub Actions जॉब Depot के मैनेज्ड रनर पर ले जाने, रनर का साइज़ और लेबल चुनने, और रनर सेटअप की समस्याएँ ठीक करने में मदद करती है।
editing-agents-md
41kयह आपके एजेंट को तय करने में मदद करती है कि कोई नियम AGENTS.md या CLAUDE.md में जाए या नहीं, और उसे ऐसे लिखे कि फ़ाइल भारी न हो।
मिलती-जुलती skills
blucli
394kयह आपके एजेंट को blu कमांड से Bluesound और NAD स्पीकर खोजने, चलाने, रोकने, समूह बनाने और वॉल्यूम बदलने में मदद करती है।
camsnap
394kयह आपके एजेंट को नेटवर्क कैमरों और लोकल webcam से स्नैपशॉट, छोटी क्लिप या मोशन इवेंट लेने में मदद करती है, जो आपने सेट किए हों।
eightctl
394kयह आपके एजेंट को Eight Sleep pod की जांच और नियंत्रण करने में मदद करती है, जिसमें तापमान, अलार्म और नींद की समय-सारणी शामिल हैं।