: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(signals): document config-create flow and description field in scout skills (#62930)
Andrew Maguirefe824c0601f4
diff --git a/products/signals/skills/authoring-signals-scouts/SKILL.md b/products/signals/skills/authoring-signals-scouts/SKILL.mdindex 5606d2088c17..6238034e1c5d 100644--- a/products/signals/skills/authoring-signals-scouts/SKILL.md+++ b/products/signals/skills/authoring-signals-scouts/SKILL.md@@ -42,8 +42,10 @@ only as good as its fit to the data it watches.specific event, confirm it exists and check its shape with `posthog:read-data-schema`.A scout for an event the project doesn't capture is dead on arrival.2. **See what already runs.** `posthog:signals-scout-config-list` lists every existing- scout on the project with its schedule, `enabled`, and `emit` posture. Don't duplicate- a surface a canonical scout already covers — adapt that one instead.+ scout on the project with its schedule, `enabled`, and `emit` posture, plus each scout's+ `description` (pulled from the skill's frontmatter) so you can tell what a scout watches+ without loading its body. Don't duplicate a surface a canonical scout already covers —+ adapt that one instead.3. **Read the closest canonical scout.** It's your template and your reference shape. Pullit with `posthog:llma-skill-get {"skill_name": "signals-scout-<x>"}` (per-team rows) orread it from the repo at `products/signals/skills/signals-scout-*/`. The generalist@@ -69,10 +71,10 @@ There are two independent decisions: **what** you're building, and **where** it### Where-| Path | Mechanism | Use when |-| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- |-| **Per-team** (the common user path) | Create/edit a `signals-scout-*` `LLMSkill` row in the project's skills store via `posthog:llma-skill-create` / `-update` / `-file-create`. | Customizing for one project. The harness globs the row in on the next tick; canonical sync leaves your edited ("diverged") row alone. |-| **Canonical** (PostHog contributors) | Edit disk under `products/signals/skills/signals-scout-*/`, lint/build, open a PR. | Improving a scout for _every_ enrolled project. `lazy_seed` mirrors it onto all enrolled teams on the next tick. |+| Path | Mechanism | Use when |+| ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |+| **Per-team** (the common user path) | Create/edit a `signals-scout-*` `LLMSkill` row in the project's skills store via `posthog:llma-skill-create` / `-update` / `-file-create`, then register its config immediately via `posthog:signals-scout-config-create`. | Customizing for one project. The harness globs the row in on the next tick; canonical sync leaves your edited ("diverged") row alone. |+| **Canonical** (PostHog contributors) | Edit disk under `products/signals/skills/signals-scout-*/`, lint/build, open a PR. | Improving a scout for _every_ enrolled project. `lazy_seed` mirrors it onto all enrolled teams on the next tick. |**Adapting-in-place tradeoff:** editing a canonical scout's row for your team marks it**diverged** — you stop receiving upstream improvements to that scout. If you only need an@@ -119,8 +121,13 @@ body so every run anchors on it.## Run posture (config)A scout's schedule and emit behavior live on its `SignalScoutConfig`, separate from the-skill body. Tune with `posthog:signals-scout-config-update` (find the `id` via-`-config-list`):+skill body. For a **brand-new scout**, register the config immediately after creating the+skill with `posthog:signals-scout-config-create {"skill_name": "signals-scout-<scope>", ...}`,+setting any of the fields below in the same call — including creating it disabled or in+dry-run **before it ever runs**. (It's an upsert: if the coordinator already auto-registered+the row, your fields are applied to it.) Otherwise the coordinator auto-registers an enabled+hourly default on its next tick (up to ~30 min). For an **existing scout**, tune with+`posthog:signals-scout-config-update` (find the `id` via `-config-list`):- `run_interval_minutes` — 10 to 43200. Default 60 (hourly). Slow a chatty or expensivescout by raising this.@@ -139,7 +146,10 @@ loop is **emit + inspect**: ship the scout live, let it emit, and calibrate agaiactually lands.1. Ship the scout (the default `emit=true`) with a short `run_interval_minutes` so it fires- soon.+ soon — set it at creation via+ `posthog:signals-scout-config-create {"skill_name": ..., "run_interval_minutes": 10}`+ right after `llma-skill-create`, rather than waiting for the coordinator to+ auto-register an hourly default.2. After a tick, read what it did: `posthog:inbox-reports-list` (the findings it actuallyemitted), `posthog:signals-scout-runs-list` (run summaries), `-runs-retrieve` (fullreasoning for one run), and `-scratchpad-search` (the durable memory it wrote).@@ -148,7 +158,8 @@ actually lands.4. Once it's landing the right findings, restore the interval to something sustainable(hourly+).-**Want to be extra careful?** Set `emit=false` to dry-run first — the scout runs and logs+**Want to be extra careful?** Set `emit=false` to dry-run first — create the config with+`emit=false` via `-config-create` so the scout never has a live first run; it runs and logswhat it _would_ have emitted (visible via `-runs-list` / `-runs-retrieve`) without writing tothe inbox. Inspect, refine, then flip `emit=true`. Worth it for a scout you expect to bechatty, expensive, or high-stakes; otherwise just emitting and watching the inbox is thediff --git a/products/signals/skills/authoring-signals-scouts/references/lifecycle-and-testing.md b/products/signals/skills/authoring-signals-scouts/references/lifecycle-and-testing.mdindex 83bb672fdbf7..e52e0ae599bd 100644--- a/products/signals/skills/authoring-signals-scouts/references/lifecycle-and-testing.md+++ b/products/signals/skills/authoring-signals-scouts/references/lifecycle-and-testing.md@@ -14,7 +14,8 @@ exact mechanics; and how to test a scout in each.scout immediately (instead of waiting for the tick), register the config yourself with`posthog:signals-scout-config-create`, setting the schedule / emit posture in the samecall; until one of those happens, the scout has no config row and won't show in- `-config-list`.+ `-config-list`. Config responses also carry the scout's `description`, read live from the+ skill's frontmatter — not a config field you set.- **Coordinator.** A periodic Temporal workflow ticks (~every 30 min). Each tick it boundscandidates to projects enrolled via the `signals-scout` feature-flag allowlist, thendispatches every **enabled** scout whose schedule is **due** (`last_run_at is None`, ordiff --git a/products/signals/skills/authoring-signals-scouts/references/scout-anatomy.md b/products/signals/skills/authoring-signals-scouts/references/scout-anatomy.mdindex 2ffa1bf8f18b..3956c44af662 100644--- a/products/signals/skills/authoring-signals-scouts/references/scout-anatomy.md+++ b/products/signals/skills/authoring-signals-scouts/references/scout-anatomy.md@@ -48,6 +48,11 @@ metadata:`metadata` are optional but conventional — `compatibility` documents the scopes/tools thescout assumes; `metadata.scope` gives downstream tooling a short label.+The `description` does double duty: beyond skill discovery, it is surfaced verbatim as the+scout's `description` on the config API (`signals-scout-config-list` / `-create` / `-update`+responses) — it's how the fleet roster reads to agents and the UI without opening each+scout's body. Write it to stand alone in that listing.+## Body structureThe canonical body is a workflow, not a script — it reads like how an experienced analystdiff --git a/products/signals/skills/exploring-signals-scouts/SKILL.md b/products/signals/skills/exploring-signals-scouts/SKILL.mdindex 159fde3d0f6c..00846765e12c 100644--- a/products/signals/skills/exploring-signals-scouts/SKILL.md+++ b/products/signals/skills/exploring-signals-scouts/SKILL.md@@ -25,7 +25,9 @@ logs, AI observability, experiments, feature flags, session replay, web analyticmore). A project may also have **custom scouts** beyond the canonical fleet — any`signals-scout-*` skill a team authored (e.g. `-brand-mentions`, `-mcp-feedback`) shows up heretoo, so don't assume a fixed roster: `signals-scout-config-list` is the authoritative roster for-a project.+a project. (One caveat: a just-authored scout has no config row until the coordinator's next+tick auto-registers one — or until someone registers it via the write-side+`signals-scout-config-create` — so a brand-new scout may briefly be missing from the list.)This skill helps you **understand and explore what a project's scouts are doing and how they'reperforming** — entirely through read-only MCP tools. It is the observability counterpart to@@ -36,7 +38,7 @@ There are five things you can observe about the fleet, each with its own tool:| What you want to know | Tool | What it tells you || -------------------------------------------- | ---------------------------------------- | ------------------------------------------------------------------------------- |-| Which scouts run, how often, in what posture | `signals-scout-config-list` | One row per scout: schedule, `enabled`, `emit`, `last_run_at` |+| Which scouts run, how often, in what posture | `signals-scout-config-list` | One row per scout: schedule, `enabled`, `emit`, `last_run_at`, `description` || What the scouts actually did, run by run | `signals-scout-runs-list` / `-retrieve` | Per-run status, timing, end-of-run summary, `emitted_count`, deep-link || What the fleet has learned across runs | `signals-scout-scratchpad-search` | Durable per-team memory (baselines, noise, allowlists) || What the scouts actually **emitted** | `execute-sql` over `document_embeddings` | The authoritative per-finding record (weight, severity, confidence) — see below |