PostHog CLI

Query events, manage feature flags, and pull analytics data. Use when an agent needs to query product analytics, toggle feature flags, or pull PostHog event data.

composio-community 844c434 577 B Updated

File contents

PostHog CLI

Query events, manage feature flags, and pull analytics data.

Key Commands

posthog events query --event "page_view" --days 7
posthog feature-flags list
posthog feature-flags toggle <flag-key> --enable

Agent-Friendly Features

  • API key auth
  • JSON output for analytics queries
  • Feature flag management

composio-community/awesome-agent-clis/tree/main/posthog-cli commit 844c434201

Frequently asked questions

npx skillmds@latest add composio-community/posthog-cli