AGENT SKILL
posthog-cli
Use this skill when the user wants to query product analytics events, manage feature flags, or pull analytics data from PostHog.
适用职业数据分析师
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- posthog-cli
- description
- Use this skill when the user wants to query product analytics events, manage feature flags, or pull analytics data from PostHog.
03 SKILL.md 正文
PostHog CLI
Query events, manage feature flags, and pull analytics data from the terminal.
Commands
posthog-cli events query— Query PostHog eventsposthog-cli flags list— List feature flagsposthog-cli _ _— Passthrough to posthog CLI
Installation
npm i -g @posthog/cli
Authentication
Set POSTHOG_API_KEY and POSTHOG_PROJECT_ID environment variables.
Usage Examples
- "Query page views from last 7 days"
- "List all feature flags"
- "Toggle a feature flag on"
- "Pull analytics data"
Key Commands
# Query events
posthog events query --event "page_view" --days 7
# List feature flags
posthog feature-flags list
# Toggle feature flag
posthog feature-flags toggle <flag-key> --enable
Key Features
- Event Queries - Query product analytics
- Feature Flags - Manage flags
- JSON Output - Structured data
- API Key Auth - Simple auth
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57