signals-scout-customer-analytics-billing-and-usage
Что он делает
Этот скаут проверяет использование каждого важного клиентского аккаунта по каждому продукту и отмечает продукт, который резко меняется, пока общий итог аккаунта остаётся ровным. Он предназначен для менеджеров по работе с клиентами, которым нужно замечать скрытый отток или неожиданные счета.
Когда использовать
- ✓Когда один продукт в ключевом аккаунте резко падает, а общий итог остаётся прежним.
- ✓Когда продукт в ключевом аккаунте резко растёт и может привести к неожиданному счёту.
- ✓Когда вы хотите раннее предупреждение о клиенте, который может отказаться от одного продукта.
Ссылка на скилл
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-customer-analytics-billing-and-usage/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Есть ли какие-то из наших ключевых аккаунтов, которые тихо отказываются от одного продукта, пока их общий итог стабилен?”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скаут сравнивает использование каждого продукта и прогнозную выручку с тем же днём недели за последние четыре недели. Он взвешивает каждое изменение по тому, какую долю в счёте аккаунта составляет этот продукт.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с 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
Частые вопросы
Почему изменение взвешивается по доле выручки?
Большое изменение в продукте, который составляет большую часть счёта, важнее того же изменения в незначительном продукте.
Какие аккаунты он проверяет?
Только аккаунты, за которые отвечает конкретный человек или которые связаны с записью CRM, потому что им нужно сопровождение.
Почему отмечаются и всплески?
Неожиданный всплеск может повысить счёт и расстроить клиента, а это может привести к оттоку так же, как и падение.
Подробности
Оригинальное описание автора
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
Популярность
- Звёзды на GitHub
- 41k
- Место в рейтинге
- #6923
- Лицензия
- —
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
depot-ci
41kПомогает агенту настроить и запускать workflow в Depot CI, альтернативе GitHub Actions, включая перенос существующих workflow и чтение логов запусков.
depot-container-builds
41kПомогает агенту собирать Docker-образы на удалённых сборщиках Depot, включая мультиплатформенные образы, отправку в реестры и исправление ошибок сборки.
depot-github-runners
41kПомогает агенту переносить задачи GitHub Actions на раннеры Depot: выбирать размер и метки раннера и устранять проблемы настройки.
editing-agents-md
41kПомогает агенту решить, нужно ли правило в файле AGENTS.md или CLAUDE.md, и записать его так, чтобы оно работало, не раздувая файл.
Похожие скиллы
gitcrawl
394kПозволяет агенту искать в сохраненном архиве задач и запросов на слияние GitHub, объединять дубликаты и проверять их текущий статус на GitHub.
slacrawl
394kПозволяет агенту искать и считать сообщения в локальном архиве Slack, проверять его свежесть и при необходимости обновлять архив.
goplaces
394kПомогает агенту искать места, получать их подробности и отзывы и определять названия мест через Google Places, с выводом в JSON для скриптов.