signals-scout-customer-analytics-billing-and-usage
できること
このスカウトは、重要な顧客アカウントごとに製品ごとの利用量を確認し、アカウント全体の合計は横ばいなのに、ある製品が大きく動いている場合にフラグを立てます。見えない解約や予想外の請求を早期に検出したいアカウントマネジャー向けです。
使う場面
- ✓重要なアカウントで、アカウントの合計は同じなのに1つの製品が大きく下がったとき。
- ✓重要なアカウントで製品が急増し、予想外の請求を生む可能性があるとき。
- ✓顧客が1つの製品を解約しそうな兆候について、早期の警告がほしいとき。
スキルのリンク
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-customer-analytics-billing-and-usage/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“重要な顧客アカウントの中で、合計は安定しているのに、静かに1つの製品の利用を減らしているものはありますか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
各製品の利用量と予測収益を、過去4週間の同じ曜日と比べます。その変化を、その製品がアカウントの請求額にどれだけ重要かで重み付けします。
技術的な内容(元の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
- ライセンス
- —
- 更新日
- 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のどちらにルールを書くべきかを判断し、ファイルを膨らませずに守られやすい形で書けるよう支援します。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。