understanding-billing-usage
하는 일
이 스킬은 시간에 따른 PostHog 청구 사용량을 읽고 무엇이 어디서 바뀌었는지 설명합니다. 사용량 알림이나 예상보다 높은 청구서를 이해하려는 계정 소유자를 위한 것입니다.
사용하는 경우
- ✓사용량 알림을 받았고 그 급증이 실제인지 알고 싶을 때.
- ✓PostHog 지출이 예상보다 높아서 어떤 프로젝트가 원인인지 알고 싶을 때.
- ✓사용 유형이 무엇을 뜻하는지, 그리고 어떻게 줄이는지 이해하고 싶을 때.
스킬 링크
https://github.com/PostHog/posthog/blob/master/products/billing/skills/understanding-billing-usage/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“지난주에 PostHog 사용량이 왜 급증했고, 어떤 프로젝트가 원인인가요?”
매주 새 스킬 5개. 읽는 데 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
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
depot-ci
41k에이전트가 GitHub Actions 대안인 Depot CI 워크플로를 설정하고 실행하도록 돕습니다. 기존 워크플로 이전과 실행 로그 읽기를 포함합니다.
depot-container-builds
41k에이전트가 Depot 원격 빌더에서 Docker 이미지를 빌드하도록 돕습니다. 다중 플랫폼 이미지, 레지스트리 푸시, 빌드 실패 수정을 포함합니다.
depot-github-runners
41k에이전트가 GitHub Actions 작업을 Depot 관리형 러너로 옮기고, 러너 크기와 라벨을 고르도록 돕습니다.
editing-agents-md
41k에이전트가 규칙을 AGENTS.md나 CLAUDE.md 중 어디에 둘지 정하고, 파일을 키우지 않으면서 잘 지켜지도록 쓰게 돕습니다.