What problem does it solve?
Over time, PostHog projects accumulate endpoints that are never called, materialisations that silently fail, and old materialised versions that waste storage and compute. This Skill performs a read-only, project-wide audit that surfaces exactly what can be cleaned up, grouped and prioritised by issue type.
Core Features & Use Cases
- Inventory and usage cross-referencing: Queries
system.data_modeling_endpoints and query_log via HogQL to find endpoints that were never called or have gone stale (no calls in 30+ days).
- Materialisation health checks: Detects failing materialisations via
endpoint-materialization-status and unused materialised versions via per-version last_executed_at from endpoint-versions.
- Prioritised, read-only report: Produces a grouped report (failing materialisations, never called, unused versions, stale) with recommended actions, and never modifies anything without explicit user confirmation.
- Use Case: You inherit a PostHog project with dozens of endpoints and ask for an audit; the Skill reports one failing materialisation, three never-called endpoints, and one unused materialised version, then offers to hand off the failure to a diagnosis flow or clean up with your confirmation.
Quick Start
Ask the agent to audit my PostHog endpoints and tell me which ones I can clean up.