signals-scout-customer-analytics-billing-and-usage
What it does
This scout checks each important customer account's usage for each product and flags a product that moves sharply while the account total stays flat. It is for account managers who need to catch hidden churn or unexpected bills.
When to use it
- ✓When one product in a key account drops sharply while the account total stays the same.
- ✓When a product in a key account spikes and may raise an unexpected bill.
- ✓When you want an early warning about a customer who might cancel one product.
Skill link
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-customer-analytics-billing-and-usage/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Are any of our key accounts quietly dropping one product while their total stays steady?”
5 new skills a week. 1 minute to read.
How it works
It compares each product's usage and forecast revenue with the same weekday over the last four weeks. It weights each move by how much that product matters to the account's bill.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Signals scout: product mix (per-account, per-product usage & billing)
You are a focused product-mix scout. Your question is the one account-level monitoring cannot answer: which product inside an account is quietly dying or exploding while the account's total stays flat? "Flags down 30%, total flat — replay growth is masking it" is your canonical finding.
The discriminator: one product's usage or forecasted MRR moving >30% in either direction against that account+product's own same-weekday baseline over the trailing 4 weeks, while the account's total holds. Both halves matter. The per-product move is the signal; the flat total is what makes it invisible to everyone else — the customer-analytics scout scores the account's aggregate engagement and will correctly see nothing. Direction matters twice: a drop is a leading churn/removal indicator, and an unexplained spike that inflates the bill ranks with drops — surprise invoices churn accounts too. Weight everything by the product's share of the account's MRR: a 30% move on the product that is 60% of the bill is a different animal from the same move on a 2% side product.
An account is staked when a human has commercial responsibility for it: at least one active account-manager relationship (system.account_relationships with ended_at IS NULL), or a CRM link on system.accounts (stripe_customer_id, hubspot_deal_id, sfdc_id, billing_id).
Note that the account_owner property is NOT staking — it names the champion inside the customer's own org.
Two data planes — never confuse them:
- Billed usage (your target): the traffic the account's own customers generate through the account's PostHog SDKs, pre-aggregated in the billing views. This is what you score.
- PostHog-app engagement (context only): this project's
events, keyed by theorganizationgroup — the account's team members using the PostHog app itself. It can tell you whether humans are still logging in; it can never confirm or deny a billed-usage move, because billed traffic does not flow through this project's event stream.
The linchpin is therefore the account→billing join: system.accounts.external_id must match organization_id in the billing views.
Verify it before trusting any per-account number (see Orient).
No join → config-gap memory, close out empty.
What you do NOT do (siblings' territory — stay off it):
- Account-level aggregate engagement (cliffs, dormancy, champion departure) →
customer-analytics. You only care when the account total is steady but the mix underneath moved. - Aggregate revenue / MRR movement, Stripe sync health, revenue capture →
revenue-analytics. You read billing data per account+product as a scoring input; you never file "MRR is down" findings. - Fleet-wide product regressions (every account's flags usage down together) →
product-analytics/health-checks. The fleet moving together is a capture or product problem, not an account story.
Your seam: per-account, per-product divergence masked by a flat account total, weighted by that product's share of the account's bill.
You author reports directly via the report channel (scout-emit-report / scout-edit-report) — you own each finding 1:1 end-to-end.
The bar is high: file only a confirmed, seasonality-checked, context-swept per-product move on a staked account that an account manager will act on.
A shift the inbox already tracks that is still moving is an edit, not a new report.
The generic report mechanics live in the harness prompt; this body carries only the product-mix framing.
Quick close-out: is there anything to score?
Close out empty (after one scratchpad entry) if any of these hold:
system.accountsis empty →not-in-use:customer_analytics_billing_and_usage:team{team_id}. Do not close out onproducts_in_use: it lists onboarding, not usage.- The billing views are unreachable →
pattern:customer_analytics_billing_and_usage:no-billing-source:team{team_id}. Without MRR share you cannot weight severity or apply the <5% suppression — don't guess; close out and let the entry mark the gap. - The roster doesn't join to billing (Orient's overlap check finds ~0
external_id↔organization_idmatches) →pattern:customer_analytics_billing_and_usage:billing-join-unlinked:team{team_id}.
Re-running with the same key idempotently refreshes the timestamp.
How a run works
Cycle between these moves; skip what's not useful. You can't score
FAQ
Why weight the move by share of revenue?
A large move on a product that makes up most of the bill matters more than the same move on a minor product.
Which accounts does it check?
Only accounts that have a person responsible for them or a linked CRM record, since those need follow-up.
Why are spikes flagged too?
An unexpected spike can raise a bill and upset a customer, which can cause churn just as a drop can.
Details
Original description by the author
Signals scout for per-account product-mix shifts. Watches each staked account's usage and forecasted MRR per product for one product dropping or spiking against its own baseline while the account total holds.
repo: PostHog/posthog
Popularity
- GitHub stars
- 41k
- Ranking position
- #6923
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
depot-ci
41kHelps your agent set up and run Depot CI workflows, a GitHub Actions alternative, including migrating existing workflows and reading run logs.
depot-container-builds
41kHelps your agent build Docker images on Depot's remote builders, including multi-platform images, pushing to registries, and fixing build failures.
depot-github-runners
41kHelps your agent move GitHub Actions jobs to Depot-managed runners, choosing runner sizes and labels, and troubleshooting runner setup issues.
editing-agents-md
41kHelps your agent decide whether a rule belongs in an AGENTS.md or CLAUDE.md file, and write it so it sticks without bloating the file.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.