What problem does it solve?
Wiring a PostHog product surface into the PostHog AI agent requires choosing the correct frontend seam, and mistakes like injecting user data into trusted context or sending full object shapes cause prompt-injection risks and per-turn token bloat.
Core Features & Use Cases
- Context and instruction injection: Attach scene or entity context and trusted instructions so the agent knows what the user is viewing and how to behave on the page.
- Tool-event reactions: Listen to the tool-stream bus or use apply-back hooks so open pages update when the agent calls MCP tools.
- Tool card rendering: Register renderers so product tool calls display as rich cards with permission previews instead of generic fallbacks.
- Use Case: A developer building the workflows scene uses
useSceneAgentPanel to attach live editor state, injects the product's skill and MCP tool catalog as trusted instructions, and applies agent edits back into the open form.
Quick Start
Ask the agent to integrate your PostHog product scene with PostHog AI by attaching context, injecting instructions, and reacting to tool calls using the seams in this skill.