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 Updated 17.3k repo stars

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 commit 844c434201

Frequently asked questions

npx get-skill add composio-community/posthog-cli