signals-scout-revenue-analytics
하는 일
이 스카우트는 매출 분석에 들어가는 데이터, 예를 들어 Stripe 동기화와 매출 이벤트가 계속 들어오는지 확인합니다. 믿을 수 있는 매출 수치가 필요한 재무팀과 성장팀을 위한 기능입니다.
사용하는 경우
- ✓Stripe 동기화가 업데이트를 멈춰서 매출 수치가 오래되었을 수 있을 때.
- ✓대시보드가 의존하는 매출 이벤트가 더 이상 기록되지 않을 때.
- ✓PostHog의 매출 설정이 들어오는 데이터와 더 이상 맞지 않을 때.
스킬 링크
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-revenue-analytics/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“내 매출 수치는 아직 최신인가요, 아니면 결제 데이터 공급원이 멈췄나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
결제 동기화와 매출 이벤트 같은 상위 공급원에서 멈춤이나 감소가 있는지 확인합니다. 매출에 대한 잘못된 경고는 비용이 크므로, 판단이 애매한 경우는 보고서 대신 메모로 남깁니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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.
자주 묻는 질문
매출 자체의 변화도 보고하나요?
매출 변화는 부차적입니다. 주된 역할은 수치를 틀리게 만드는 고장난 공급원을 잡는 것입니다.
왜 가끔 보고서 대신 메모를 남기나요?
매출에 대한 잘못된 경고는 신뢰를 빠르게 떨어뜨리므로, 확인되기 전까지 애매한 경우는 메모로 둡니다.
어떤 공급원을 확인하나요?
프로젝트의 매출 이벤트와 Stripe 같은 결제 플랫폼의 데이터를 확인합니다.
상세 정보
작성자의 원본 설명
Signals scout for PostHog revenue analytics. Watches for upstream failures (Stripe sync stalls, capture regressions), and config drift.
repo: PostHog/posthog
인기도
- GitHub 스타
- 41k
- 순위
- #6941
- 라이선스
- —
- 업데이트
- 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
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.