CLI shortcut
PostHog CLI for AI Agents
Use the PostHog CLI from KosmoKrator for headless automation, scripts, CI, coding agents, JSON output, schema discovery, and MCP gateway handoff.
Quick Command
kosmo integrations:call posthog.posthog_capture_event '{}' --json