Skip to content

: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.

fix(llma): use catalog template + params for skill deep links (#68456)

posthog[bot]8b1856cb0ecc
diff --git a/products/ai_observability/skills/creating-online-evaluations/SKILL.md b/products/ai_observability/skills/creating-online-evaluations/SKILL.md
index dd0327cf5696..a058f3a305fc 100644
--- a/products/ai_observability/skills/creating-online-evaluations/SKILL.md
+++ b/products/ai_observability/skills/creating-online-evaluations/SKILL.md
@@ -155,10 +155,10 @@ only `rollout_percentage` (0–100). Property filters use the standard PostHog s
## Constructing UI links
Build links with `posthog:generate-app-url` — never hand-write the host or the `/project/<id>/` prefix.
-Pass the canonical path templates:
+The `url` must be a canonical catalog template; pass concrete ids via `params`, never inline them into the path.
- **Evaluations list:** `generate-app-url {url: "/ai-evals/evaluations"}`
-- **Single evaluation:** `generate-app-url {url: "/ai-evals/evaluations/<evaluation_id>"}`
+- **Single evaluation:** `generate-app-url {url: "/ai-evals/evaluations/{id}", params: {id: "<evaluation_id>"}}`
These resolve to the correct region host and project prefix (e.g.
`https://us.posthog.com/project/<id>/ai-evals/evaluations/<evaluation_id>`). Surface the link after
diff --git a/products/ai_observability/skills/exploring-ai-failures/SKILL.md b/products/ai_observability/skills/exploring-ai-failures/SKILL.md
index 658af7fe7c41..f074ce38070a 100644
--- a/products/ai_observability/skills/exploring-ai-failures/SKILL.md
+++ b/products/ai_observability/skills/exploring-ai-failures/SKILL.md
@@ -135,11 +135,12 @@ niche domains.
## Constructing UI links
`query-llm-trace` does not return a `_posthogUrl`, so build links with `posthog:generate-app-url` —
-never hand-write the host or the `/project/<id>/` prefix. Pass the canonical path templates:
+never hand-write the host or the `/project/<id>/` prefix. The `url` must be a canonical catalog
+template; pass concrete ids via `params`, never inline them into the path.
- **Traces list:** `generate-app-url {url: "/ai-observability/traces"}` (then filter to your use case)
-- **Single trace:** `generate-app-url {url: "/ai-observability/traces/<trace_id>"}`, then append
- `?timestamp=<url_encoded_timestamp>` to the returned URL (the timestamp isn't expressible via the tool).
+- **Single trace:** `generate-app-url {url: "/ai-observability/traces/{id}", params: {id: "<trace_id>"}}`,
+ then append `?timestamp=<url_encoded_timestamp>` to the returned URL (the timestamp isn't expressible via the tool).
These resolve to the correct region host and project prefix (e.g.
`https://us.posthog.com/project/<id>/ai-observability/traces/<trace_id>`), so a user not already on the