signals-scout-revenue-analytics
What it does
This scout checks that the data feeding your revenue analytics is still arriving, such as Stripe syncs and revenue events. It is for finance and growth teams who need revenue numbers they can trust.
When to use it
- βWhen a Stripe sync stops updating and your revenue numbers may be out of date.
- βWhen a revenue event that your dashboard depends on stops being recorded.
- βWhen the revenue settings in PostHog no longer match the data that is arriving.
Skill link
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-revenue-analytics/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βAre my revenue numbers still up to date, or has a payment data source stopped feeding them?β
5 new skills a week. 1 minute to read.
How it works
It checks the upstream sources, such as payment syncs and revenue events, for stalls and drops. Because a false alarm about revenue is costly, it keeps unclear cases as notes instead of reports.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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[]β oneRevenueAnalyticsEventItemper 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'sevent_namecolumn shows the exact name only for an event with charges. - It does not show the property mapping. It cannot prove that
subscriptionPropertyorrevenueCurrencyPropertyis 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_sourceshas a payment platform, orrevenue_analytics_config.eventsfromproject-getis 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.eventsempty")
Close out empty. Future revenue runs read this entry cold and short-circuit fast.
FAQ
Does it report changes in revenue itself?
Revenue movement is secondary. Its main job is catching broken sources that make the numbers wrong.
Why does it sometimes write notes instead of reports?
False alarms about revenue erode trust quickly, so unclear cases are kept as notes until they are confirmed.
Which sources does it check?
It checks revenue events from the project and payment platforms such as Stripe.
Details
Original description by the author
Signals scout for PostHog revenue analytics. Watches for upstream failures (Stripe sync stalls, capture regressions), and config drift.
repo: PostHog/posthog
Popularity
- GitHub stars
- 41k
- Ranking position
- #6941
- License
- β
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
depot-ci
41kHelps your agent set up and run Depot CI workflows, a GitHub Actions alternative, including migrating existing workflows and reading run logs.
depot-container-builds
41kHelps your agent build Docker images on Depot's remote builders, including multi-platform images, pushing to registries, and fixing build failures.
depot-github-runners
41kHelps your agent move GitHub Actions jobs to Depot-managed runners, choosing runner sizes and labels, and troubleshooting runner setup issues.
editing-agents-md
41kHelps your agent decide whether a rule belongs in an AGENTS.md or CLAUDE.md file, and write it so it sticks without bloating the file.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.