signals-scout-customer-analytics-billing-and-usage
O que ela faz
Este scout verifica o uso de cada conta importante de cliente por produto e sinaliza um produto que se move bruscamente enquanto o total da conta permanece estável. É para gestores de contas que precisam identificar churn escondido ou faturas inesperadas.
Quando usar
- ✓Quando um produto de uma conta importante cai bruscamente enquanto o total da conta continua o mesmo.
- ✓Quando um produto de uma conta importante dispara e pode gerar uma fatura inesperada.
- ✓Quando você quer um alerta antecipado sobre um cliente que pode cancelar um produto.
Link da skill
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-customer-analytics-billing-and-usage/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Alguma das nossas contas importantes está deixando um produto de lado discretamente enquanto o total continua estável?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
Ele compara o uso de cada produto e a receita prevista com o mesmo dia da semana nas últimas quatro semanas. Pondera cada variação pelo peso daquele produto na fatura da conta.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
Por que ponderar a variação pela parcela da receita?
Uma grande variação em um produto que representa a maior parte da fatura importa mais do que a mesma variação em um produto menor.
Quais contas ele verifica?
Apenas contas que têm uma pessoa responsável ou um registro vinculado no CRM, pois elas precisam de acompanhamento.
Por que picos também são sinalizados?
Um pico inesperado pode aumentar uma fatura e incomodar o cliente, o que pode causar churn da mesma forma que uma queda.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 41 mil
- Posição no ranking
- #6923
- Licença
- —
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
depot-ci
41 milAjuda seu agente a configurar e executar fluxos de trabalho do Depot CI, uma alternativa ao GitHub Actions, incluindo a migração de fluxos existentes e a leitura dos logs de execução.
depot-container-builds
41 milAjuda seu agente a criar imagens Docker nos builders remotos do Depot, incluindo imagens multiplataforma, envio para registros e correção de falhas de build.
depot-github-runners
41 milAjuda seu agente a levar tarefas do GitHub Actions para runners gerenciados pelo Depot, escolhendo os tamanhos e os rótulos dos runners e resolvendo problemas de configuração.
editing-agents-md
41 milAjuda seu agente a decidir se uma regra deve ficar em um arquivo AGENTS.md ou CLAUDE.md, e a escrevê-la de forma que seja seguida sem deixar o arquivo inchado.
Skills parecidas
gitcrawl
394 milPermite que seu agente pesquise um arquivo salvo de issues e pull requests do GitHub, agrupe os duplicados e verifique o status atual deles no GitHub.
slacrawl
394 milPermite que seu agente pesquise e conte mensagens em um arquivo local do Slack, verifique quão atualizado ele está e o atualize quando necessário.
goplaces
394 milAjuda seu agente a buscar lugares, obter detalhes e avaliações e identificar nomes de lugares usando o Google Places, com saída em JSON para scripts.