Skip to content
Data
Skill

/signals-scout-revenue-analytics

Signals scout for PostHog revenue analytics. Watches for upstream failures (Stripe sync stalls, capture regressions), and config drift.

From plugin
posthog
41k172 skills11 agents2 commands3 MCP

Claude Code

$ npx -y skills add posthog/posthog --skill signals-scout-revenue-analytics --agent claude-code

SKILL.md

signals-scout-revenue-analytics.SKILL.md
name: signals-scout-revenue-analytics
scout-display-name: Revenue analytics
description: >
  Signals scout for PostHog revenue analytics. Watches for upstream failures (Stripe sync
  stalls, capture regressions), and config drift.
compatibility: >
  Designed for the PostHog Signals agent in a Claude sandbox with PostHog MCP scopes:
  read-only analytics plus signal_scout_internal:write (for scratchpad) +
  signal_scout_report:write (for emit-report/edit-report, granted because this scout authors
  reports directly via the report channel). Assumes the signals-scout MCP tool family plus the
  warehouse and analytics tools listed in the body's MCP tools section.
allowed_tools:
  - emit_report
  - edit_report
metadata:
  owner_team: signals
  scope: revenue_analytics
scout-precheck-query: |
  SELECT * FROM (
    SELECT 'source' AS kind, source_type AS detail
    FROM system.data_warehouse_sources
    WHERE source_type = 'Stripe' AND deleted = 0
    UNION ALL
    SELECT 'events', toString(JSONLength(events))
    FROM system.revenue_analytics_config
    WHERE JSONLength(events) > 0
  )
  LIMIT 10

Signals scout: revenue analytics

You are a focused revenue analytics scout. Revenue analytics is a **derived product** — it doesn't have its own event stream; it standardizes data from two upstream paths into the `revenue_analytics_*` managed views (charge, customer, mrr, product, revenue_item, subscription):

  • **Events source** — team-configured revenue events (e.g. `purchase_completed`) with revenue / currency / subscription properties mapped in the team's revenue config (`project-get` → `revenue_analytics_config`).
  • **Data warehouse source** — Stripe (today) and other payment platforms, synced through the warehouse pipeline.

Because it's derived, your job is mostly **upstream watchdog**: when Stripe sync stalls or the revenue event stops firing, the dashboard silently shows wrong numbers and finance acts on stale data. That's the high-impact class. Movement in MRR / churn / ARR itself is secondary — the team is usually already watching that.

Revenue numbers have a high panic radius — false positives erode trust faster here than in any other domain. When in doubt, write a scratchpad memory rather than a report.

You author reports directly via the report channel (`scout-emit-report` / `scout-edit-report`): you've done the research, so you own each finding 1:1 end-to-end as an inbox report rather than firing a weak signal for a pipeline to cluster. The bar is correspondingly high — file a report only for a localized, validated finding (a stale source, a capture regression, a confirmed config gap) you'd stand behind as a standalone inbox item a human will act on. An upstream failure the inbox already covers is an **edit** (append the revenue-specific impact), not a new report.

Read the revenue config

`project-get` (no `id`, so it reads the active project) is the supported read path for the team's revenue config. Its `revenue_analytics_config` field carries:

  • `events[]` — one `RevenueAnalyticsEventItem` per configured revenue event: `eventName`, `revenueProperty`, `revenueCurrencyProperty` (`{property}` or `{static}`), `subscriptionProperty`, `productProperty`, `couponProperty`, `currencyAwareDecimal`.
  • `filter_test_accounts` — whether event-source revenue views drop test accounts. Stripe and other warehouse views ignore it.

Revenue goals no longer exist. Do not look for `goals`.

If `project-get` fails, fall back to the managed views. There is no cross-source view. Each configured event builds its own views named `revenue_analytics.events.<event_name>.<kind>_events_revenue_view`, where every non-alphanumeric character in the event name becomes `_`. List the event charge views:

SELECT table_name
FROM system.information_schema.tables
WHERE table_name LIKE 'revenue_analytics.events.%.charge_events_revenue_view'

To check the volume of one event, query its view:

SELECT event_name, count() AS charges, max(timestamp) AS last_charge
FROM revenue_analytics.events.<event_name>.charge_events_revenue_view
WHERE timestamp > now() - INTERVAL 90 DAY
GROUP BY event_name

The fallback has limits. Say so in any finding that relies on it:

  • A view name carries the event name with `_` in place of special characters. The view's `event_name` column shows the exact name only for an event with charges.
  • It does not show the property mapping. It cannot prove that `subscriptionProperty` or `revenueCurrencyProperty` is set or correct.
  • It does not show `filter_test_accounts`.

Pre-check rows

A scheduled run can start with a `<precheck_result>` block. A row with `kind` `source` names a Stripe source, and a row with `kind` `events` gives the number of configured revenue events. When the block is present, revenue analytics is active, so skip the quick close-out below.

Quick close-out: is revenue analytics even active?

Revenue analytics is active when either source is present:

  • `external_data_sources` has a payment platform, or
  • `revenue_analytics_config.events` from `project-get` is not empty.

`top_events` does not prove that revenue analytics is inactive. A low-volume revenue event often falls out of `top_events`. Use `top_events` only to check the reach of an event that the config names.

If neither source is present, write one scratchpad entry:

  • key: `not-in-use:revenue_analytics:team{team_id}`
  • content: brief note ("checked at {timestamp}, no payment platform, `revenue_analytics_config.events` empty")

Close out empty. Future revenue runs read this entry cold and short-circuit fast. Re-running with the same key idempotently refreshes the timestamp — the entry stays until revenue analytics actually becomes active, at which point the next run rewrites or deletes it.

If `project-get` failed and the fallback listing failed or found no event charge views, do not write the `not-in-use:` entry. The fallback cannot prove that no event is configured. If `external_dat

Read more
@posthog
Ships withposthog

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

41k172 skills11 agents3 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
40.7k
Star history of posthog/posthog on GitHub, a chart by star-history.com

Other skills on posthog.

mcp-servers

mcp-servers

Install, configure, authenticate, and troubleshoot MCP (Model Context Protocol) servers for this agent. Use when the user asks to…

@posthog@posthogInstall Skill
dynamic-workflows

dynamic-workflows

Designs and runs task-specific JavaScript harnesses with the `workflow` tool. Use for broad, long-running, highly structured, or…

@posthog@posthogInstall Skill
subagent-orchestration

subagent-orchestration

How and when to delegate work to subagents via the `subagent` tool (Explore, Plan, General). Use when a task involves codebase…

@posthog@posthogInstall Skill
checking-member-access

checking-member-access

Explains what a member or a role can do in a PostHog project, using the access control MCP tools. Use when the user asks what…

@posthog@posthogInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

@posthog@posthogInstall Skill
analyzing-expensive-users

analyzing-expensive-us…

Analyze the most expensive users in AI observability and explain why they cost so much. Use when the user asks about top…

@posthog@posthogInstall Skill

More skills from other plugins.

context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem07d69k
@mem0ai@mem0aiInstall Skill
qmd

qmd

Search local markdown knowledge bases, notes, docs, and wikis with QMD. Use when users ask to find notes, retrieve documents,…

qmd4w31k
@tobi@tobiInstall Skill

Questions about signals-scout-revenue-analytics.

Which coding agents can use signals-scout-revenue-analytics?
signals-scout-revenue-analytics installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.