Saltar al contenido
Skillpedia
Análisis y hojas de cálculo41 mil · #6941

signals-scout-revenue-analytics

Qué hace

Este scout comprueba que siguen llegando los datos que alimentan tu analítica de ingresos, como las sincronizaciones de Stripe y los eventos de ingresos. Está pensado para equipos de finanzas y de crecimiento que necesitan cifras de ingresos en las que puedan confiar.

Cuándo usarla

  • ✓Cuando una sincronización de Stripe deja de actualizarse y tus cifras de ingresos pueden estar desfasadas.
  • ✓Cuando deja de registrarse un evento de ingresos del que depende tu panel.
  • ✓Cuando la configuración de ingresos de PostHog ya no coincide con los datos que llegan.

Link de la skill

https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-revenue-analytics/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-revenue-analytics/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“¿Siguen actualizadas mis cifras de ingresos, o alguna fuente de datos de pagos ha dejado de alimentarlas?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Comprueba que las fuentes de origen, como las sincronizaciones de pagos y los eventos de ingresos, no se detengan ni caigan. Como una falsa alarma sobre los ingresos es costosa, mantiene los casos poco claros como notas en lugar de informes.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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[] — 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.

Preguntas frecuentes

¿Informa por sí mismo de cambios en los ingresos?

El movimiento de los ingresos es secundario. Su función principal es detectar fuentes rotas que hacen que las cifras sean incorrectas.

¿Por qué a veces escribe notas en lugar de informes?

Las falsas alarmas sobre ingresos erosionan la confianza rápidamente, así que los casos poco claros se guardan como notas hasta que se confirman.

¿Qué fuentes comprueba?

Comprueba los eventos de ingresos del proyecto y de plataformas de pago como Stripe.

Detalles

Descripción original del autor

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

repo: PostHog/posthog

Popularidad

Estrellas en GitHub
41 mil
Posición en el ranking
#6941
Licencia
—
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas