← 返回 Skills 市场
Posthog CLI
作者
nelsongallardo
· GitHub ↗
· v1.0.0
· MIT-0
225
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install phog-cli
功能描述
Manage PostHog product analytics from the terminal. Use when the user asks about PostHog analytics, feature flags, experiments, surveys, dashboards, insights...
安全使用建议
This skill appears to be what it says: documentation for a community PostHog CLI. Before installing or using it, verify the pip package and upstream repository (the SKILL.md lists a GitHub repo) and prefer a pinned version. Use a minimally scoped API key for automation, store credentials with proper file permissions, and avoid using highly privileged account keys. Be cautious when using --yes in scripts (it suppresses confirmations) and with --json output if you plan to persist or transmit results that may contain PII; review the CLI's config file location (~/.config or similar) to ensure it does not leak keys to other processes. If you need stronger assurance, review the package source on GitHub (or the PyPI release) before pip installing.
功能分析
Type: OpenClaw Skill
Name: phog-cli
Version: 1.0.0
The skill bundle provides a legitimate interface for managing PostHog analytics via the `phog-cli` tool. It includes standard functionality for authentication, project management, feature flag control, and HogQL querying. The instructions in SKILL.md and references/commands.md are well-structured for an AI agent, focusing on automation flags (--json, --yes) and providing clear examples of intended use without any signs of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
Name/description match the commands and capabilities in SKILL.md and references/commands.md. The env vars and host/credential patterns mentioned are appropriate for a PostHog CLI.
Instruction Scope
Runtime instructions are limited to installing and using the posthog CLI, authenticating to PostHog, selecting projects, running queries, and using the raw API escape hatch. The instructions do not direct the agent to read unrelated system files or exfiltrate data to third-party endpoints. It does note config stored in the user home directory (expected for a CLI).
Install Mechanism
This is an instruction-only skill (no platform install spec). SKILL.md recommends installing via pip (pip install phog-cli) which is a common mechanism but carries normal supply-chain risk for third-party PyPI packages — the skill itself does not automatically install anything on the user's system.
Credentials
Environment variables the docs mention (POSTHOG_API_KEY, POSTHOG_HOST, POSTHOG_PROJECT_ID) are directly relevant to accessing PostHog. There are no unrelated secrets or broad credential requests.
Persistence & Privilege
The skill does not request permanent platform presence (always is false) and does not instruct modification of other skills or global agent configuration. It mentions storing CLI config under the user home directory which is typical for a CLI.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install phog-cli - 安装完成后,直接呼叫该 Skill 的名称或使用
/phog-cli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of PostHog CLI documentation.
- Provides a complete guide for installing and using `phog-cli` to manage PostHog analytics from the command line.
- Covers authentication, project selection, global flags, and all major features (activity, feature flags, experiments, insights, logs, queries).
- Includes common workflows and key HogQL query examples for product health and data analysis.
- Documents error handling and usage of raw API endpoints for full coverage.
- Notes community-built status and relevant configuration details.
元数据
常见问题
Posthog CLI 是什么?
Manage PostHog product analytics from the terminal. Use when the user asks about PostHog analytics, feature flags, experiments, surveys, dashboards, insights... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 225 次。
如何安装 Posthog CLI?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install phog-cli」即可一键安装,无需额外配置。
Posthog CLI 是免费的吗?
是的,Posthog CLI 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Posthog CLI 支持哪些平台?
Posthog CLI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Posthog CLI?
由 nelsongallardo(@nelsongallardo)开发并维护,当前版本 v1.0.0。
推荐 Skills