: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(skills): prefer dashboard subscriptions for recurring reports (#80066)
Paul D'Ambra24df895d3165
diff --git a/products/posthog_ai/skills/managing-subscriptions/SKILL.md b/products/posthog_ai/skills/managing-subscriptions/SKILL.mdindex 5679b5362ac2..14aa012d33e4 100644--- a/products/posthog_ai/skills/managing-subscriptions/SKILL.md+++ b/products/posthog_ai/skills/managing-subscriptions/SKILL.md@@ -15,6 +15,7 @@ Use this skill when the user:- Wants to "track", "follow", "subscribe to", or "get updates" about an insight or dashboard- Asks for "daily updates", "weekly reports", or "send me this every morning"- Wants an **AI-written summary** attached to each delivery of an insight or dashboard (see step 6)+- Asks to "post", "send", or "share" the key numbers from an existing dashboard or insight to a channel on a schedule — even when phrased as "set up a scout/bot to post this daily" (a recurring message like this is usually a better fit for a dashboard/insight subscription than a Signals scout; when it's unclear which they want, confirm before building — see the happy path below)- Wants to know what subscriptions they have- Asks to stop, pause, or unsubscribe from something- Wants to change who receives an update or how often@@ -29,6 +30,19 @@ Subscriptions and alerts serve different purposes:If the user says "notify me when this drops below 100", use alerts.If the user says "send me this every morning", use subscriptions.+## The happy path: recurring numbers from a dashboard or insight++When someone wants the **key numbers from an existing dashboard or insight** posted to a channel on a schedule — "post the top-line from this dashboard in #launch once a day", "send the team these metrics every morning", or even "set up a scout/bot to post this daily" — the right tool is a **dashboard (or insight) subscription**, and an AI summary is its natural companion:++- Set `dashboard` (or `insight`) and deliver to Slack or email. For a **dashboard** subscription, pick the tiles via `dashboard_export_insights` — that field is dashboard-only, and an insight subscription is rejected if you send it (an insight subscription needs no tile list).+- **Offer the AI summary, don't assume it.** Per step 6, ask before enabling it, then set `summary_enabled: true` once the user agrees — it has AI-consent, quota, and budget gates that can reject the create, so keep it opt-in.+- The attached **tile snapshots are exact**. The AI summary text is model-written, so treat any figure it quotes as approximate (the same drift caveat as a prompt subscription) and lean on the snapshot for exact numbers.++Usually a better fit than a **prompt subscription** (`creating-ai-subscription`) or a **Signals scout**.+A prompt subscription composes its own HogQL and can drift from the dashboard's numbers; a scout is for open-ended watching that decides what's worth surfacing, not scheduled delivery of a fixed, user-specified metric set.+Don't override a user who's certain they want one of those — but when the ask is ambiguous (e.g. "set up a scout to post this daily"), suggest the subscription and confirm before building: _"A dashboard subscription is a better fit for a recurring message. Want me to set that up?"_+Reach for a prompt subscription when the user specifically asks for a free-text AI report, or when no existing insight/dashboard covers the ask.+## Workflow### Listing existing subscriptions@@ -100,7 +114,7 @@ For an insight subscription via email:}```-For a dashboard subscription (requires selecting which insights to include, max 6):+For a dashboard subscription (requires selecting which insights to include, max 10):```json{@@ -189,4 +203,4 @@ When the user doesn't specify details:- **Duplicate check**: If a subscription already exists for the same insight/dashboard and channel, inform the user and offer to update it rather than creating a duplicate- **Slack not connected**: If a Slack subscription is requested but no Slack integration exists, explain that Slack must be connected in [Project settings > Integrations](/settings/integrations) first, then offer email as an alternative. Do not attempt to create the subscription — it will fail with a validation error- **Slack integration wrong team**: The Slack integration must belong to the same PostHog team. If `integrations-list` returns Slack integrations but creation still fails, the integration may be misconfigured-- **Dashboard insights**: Dashboard subscriptions require at least 1 and at most 6 insights selected via `dashboard_export_insights`. If the user doesn't specify which insights, fetch the dashboard with `dashboard-get` and select the first 6 insights from its tiles+- **Dashboard insights**: Dashboard subscriptions require at least 1 and at most 10 insights selected via `dashboard_export_insights`. If the user doesn't specify which insights, fetch the dashboard with `dashboard-get` and select up to the first 10 insights from its tilesdiff --git a/products/signals/skills/authoring-scouts/SKILL.md b/products/signals/skills/authoring-scouts/SKILL.mdindex 4017e0ce587d..6e456318ddcc 100644--- a/products/signals/skills/authoring-scouts/SKILL.md+++ b/products/signals/skills/authoring-scouts/SKILL.md@@ -33,6 +33,10 @@ A scout is just an `LLMSkill` whose name starts with `signals-scout-`.The harness discovers scouts by globbing `signals-scout-*` over the project's skills, loads the body **verbatim** as the agent's system prompt, and progressively reads any bundled reference files on demand.**The `signals-scout-` name prefix is load-bearing: a skill named anything else will never run as a scout.**+> **Not everything phrased as a scout is a scout.**+> If the ask is to deliver the key numbers from an **existing dashboard or insight** to a channel on a fixed schedule ("set up a scout to post the top-line from this dashboard in #launch once a day"), a **dashboard (or insight) subscription with the AI summary enabled** is usually the better fit — scouts are for open-ended watching that decides what's worth surfacing, not scheduled delivery of a fixed, user-specified metric set.+> Respect a user who's certain they want a scout; when it's ambiguous, suggest the subscription and confirm first ("A dashboard subscription is a better fit for a recurring message — want me to set that up?"), and route to `managing-subscriptions`.+## The job before the writingDon't write a scout in the abstract.diff --git a/products/signals/skills/working-with-scouts/SKILL.md b/products/signals/skills/working-with-scouts/SKILL.mdindex 48b367e5a139..9833dcf428dc 100644--- a/products/signals/skills/working-with-scouts/SKILL.md+++ b/products/signals/skills/working-with-scouts/SKILL.md@@ -31,6 +31,10 @@ Three sibling skills carry the mechanics — reach for them when a workflow belo| `exploring-scouts` | Read-only observability: the fleet roster, run history, scratchpad memory, health assessment || `inbox-exploration` | The inbox itself: triaging, drilling into, acting on, and resolving / dismissing / snoozing reports |+> **Before delegating: is this actually a scout job?**+> If the user wants the key numbers from an **existing dashboard or insight** posted to a channel on a fixed schedule ("have a scout post the top-line from this dashboard in #launch once a day"), a **dashboard (or insight) subscription with the AI summary enabled** is usually the better fit — scouts are for open-ended watching that decides what's worth surfacing, not scheduled delivery of a fixed, user-specified metric set.+> Respect a user who's certain they want a scout; when it's ambiguous, suggest the subscription and confirm first ("A dashboard subscription is a better fit for a recurring message — want me to set that up?"), and route to `managing-subscriptions`.+## First: is the fleet running?Don't delegate to a fleet that isn't there.diff --git a/products/subscriptions/skills/creating-ai-subscription/SKILL.md b/products/subscriptions/skills/creating-ai-subscription/SKILL.mdindex 85b56a8112ac..3ab37900501e 100644--- a/products/subscriptions/skills/creating-ai-subscription/SKILL.md+++ b/products/subscriptions/skills/creating-ai-subscription/SKILL.md@@ -31,6 +31,18 @@ value is the _analysis itself_ (the LLM deciding what to query and writing it upnot a fixed chart they already built. For an insight/dashboard subscription, set`insight`/`dashboard` instead of `prompt` and the AI gates below don't apply.+> **Prefer a dashboard or insight subscription first.** A prompt subscription is the+> heaviest option, and the LLM composes its own HogQL, so its numbers can drift from+> what a saved insight or dashboard already shows. Reach for it only when (a) the user+> **specifically asks** for a free-text / AI-written report, or (b) no existing insight+> or dashboard covers the ask and the value really is the analysis itself. If the user+> wants the key numbers from an **existing dashboard or insight** delivered on a+> schedule — even phrased as "set up a scout/bot to post this daily" — a+> **dashboard (or insight) subscription with `summary_enabled: true`** is usually the+> better fit. Respect a user who's sure they want a prompt subscription, but when it's+> ambiguous, suggest that and confirm first. See `managing-subscriptions` for the happy+> path.+This skill covers **creating** the subscription. Once it exists you manage itslifecycle with the same `subscriptions-*` tools (see below): list it, edit/disable/re-enable it, send a test delivery, or delete it.