signals-scout-customer-analytics-billing-and-usage
Ce qu’il fait
Ce scout vérifie l'usage de chaque produit pour chaque compte client important et signale un produit qui évolue fortement alors que le total du compte reste plat. Il s'adresse aux responsables de comptes qui veulent détecter un départ silencieux ou une facture inattendue.
Quand l’utiliser
- ✓Quand un produit d'un compte clé chute fortement alors que le total du compte reste identique.
- ✓Quand un produit d'un compte clé explose et peut faire grimper une facture inattendue.
- ✓Quand vous voulez être alerté tôt d'un client susceptible d'arrêter un produit.
Lien du skill
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-customer-analytics-billing-and-usage/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Certains de mes comptes clés abandonnent-ils discrètement un produit alors que leur total reste stable ?”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
Le scout compare l'usage et le chiffre d'affaires prévu de chaque produit au même jour de la semaine sur les quatre dernières semaines. Il pondère chaque variation selon l'importance de ce produit dans la facture du compte.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes
Pourquoi pondérer la variation par la part du chiffre d'affaires ?
Une forte variation sur un produit qui représente la plus grande partie de la facture compte davantage que la même variation sur un produit secondaire.
Quels comptes vérifie-t-il ?
Seulement les comptes qui ont une personne responsable ou un enregistrement CRM lié, car ils ont besoin d'un suivi.
Pourquoi signaler aussi les hausses ?
Un pic inattendu peut faire grimper une facture et mécontenter un client, ce qui peut provoquer un départ tout comme une baisse.
Détails
Description originale de l’auteur
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
Popularité
- Étoiles GitHub
- 41k
- Position au classement
- #6923
- Licence
- —
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
depot-ci
41kAide votre agent à configurer et exécuter des workflows Depot CI, alternative à GitHub Actions, en migrant les workflows existants et en lisant les journaux.
depot-container-builds
41kAide votre agent à construire des images Docker sur les constructeurs distants de Depot, y compris les images multiplateformes et la correction des échecs.
depot-github-runners
41kAide votre agent à faire tourner les jobs GitHub Actions sur les machines gérées par Depot, à choisir la taille des runners et leurs labels, et à résoudre les problèmes de configuration.
editing-agents-md
41kAide votre agent à décider si une règle doit figurer dans un fichier AGENTS.md ou CLAUDE.md, et à la rédiger pour qu'elle soit suivie sans alourdir le fichier.
Skills similaires
gitcrawl
394kPermet à votre agent de chercher dans une archive de tickets et pull requests GitHub, de regrouper les doublons et de vérifier leur statut actuel.
slacrawl
394kPermet à votre agent de chercher et de compter des messages dans une archive Slack locale, de vérifier sa fraîcheur et de la rafraîchir au besoin.
goplaces
394kAide votre agent à rechercher des lieux, obtenir leurs détails et avis, et identifier des noms de lieux avec Google Places, avec une sortie JSON pour les scripts.