← Back to Skills Marketplace
Posthog Analytics
by
Solomon Neas
· GitHub ↗
· v1.2.0
· MIT-0
141
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install posthog-analytics
Description
Automate PostHog dashboard creation, sync, update, and export via API. Covers dashboard CRUD, insight creation, cohort management, and API-driven analytics w...
Usage Guidance
This skill appears to do what it claims (manage PostHog dashboards) and the included script is readable and scoped. However: (1) the registry metadata failing to declare POSTHOG_PERSONAL_API_KEY and the primary credential is an inconsistency — confirm the registry/author lists the API key as required before installing. (2) Review the script locally before running and run it with a minimal-permission PostHog API key (only the org/project needed), and avoid running as root. (3) jq and curl are required; ensure they come from trusted sources. (4) Note the script will update the JSON config file you pass (it writes dashboard_id back into it); keep backups if needed. (5) If you have any doubt about the source (homepage unknown, source unknown), consider testing in a disposable project or environment first and rotate the API key after initial use.
Capability Analysis
Type: OpenClaw Skill
Name: posthog-analytics
Version: 1.2.0
The skill is a legitimate tool for automating PostHog dashboard and insight management via the PostHog API. The primary script, `scripts/posthog_sync.sh`, uses standard utilities like `curl` and `jq` to perform CRUD operations on dashboards, with all network traffic directed to the user-configured PostHog host. No evidence of data exfiltration, malicious execution, or prompt injection was found.
Capability Assessment
Purpose & Capability
The SKILL.md and included Bash script implement PostHog dashboard/insight create/sync/update/export via the PostHog API, which matches the skill name and description. However, registry metadata lists no required environment variables or primary credential while the SKILL.md and script require POSTHOG_PERSONAL_API_KEY — this mismatch is unexpected and should be corrected.
Instruction Scope
Runtime instructions and the script are narrowly scoped to: read a JSON config, call the PostHog API (host configurable via POSTHOG_HOST), create/update/export dashboards/insights, and write the dashboard_id back to the provided config file. The instructions do not reference unrelated system files, other credentials, or external endpoints outside the configured PostHog hosts.
Install Mechanism
No install spec is provided (instruction-only). The script depends on standard tools (curl, jq, bash). No downloads or archive extraction are performed by the skill itself.
Credentials
The script and SKILL.md require POSTHOG_PERSONAL_API_KEY (with read/write access) and optional POSTHOG_HOST/POSTHOG_UI_HOST. Registry metadata (as reported) declares no required env vars or primary credential — this is a discrepancy. The required API key is appropriate for the described functionality, but the missing declaration in the registry is a red flag and should be fixed so installers know what sensitive credential will be used.
Persistence & Privilege
The skill does not request permanent installation privileges (always:false). The script modifies only the config file you pass it (it writes dashboard_id back into that file via a safe tmp file). It does not change other skills, global agent config, or request elevated system privileges.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install posthog-analytics - After installation, invoke the skill by name or use
/posthog-analytics - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.2.0
Added missing scripts and example files, declared env vars in metadata
v1.0.0
PostHog Analytics Skill 1.1.0: Adds automated dashboard and analytics management via PostHog API.
- Automate creation, sync, update, and export of PostHog dashboards using bash scripts.
- Supports dashboard CRUD, insight creation, cohort management, and API-driven analytics workflows.
- Includes a clear quick start guide, example configurations, and detailed reference for setup and usage.
- Environment variable options now documented for flexible API and UI host settings.
- Provides example scripts and config files for immediate onboarding.
Metadata
Frequently Asked Questions
What is Posthog Analytics?
Automate PostHog dashboard creation, sync, update, and export via API. Covers dashboard CRUD, insight creation, cohort management, and API-driven analytics w... It is an AI Agent Skill for Claude Code / OpenClaw, with 141 downloads so far.
How do I install Posthog Analytics?
Run "/install posthog-analytics" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Posthog Analytics free?
Yes, Posthog Analytics is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Posthog Analytics support?
Posthog Analytics is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Posthog Analytics?
It is built and maintained by Solomon Neas (@solomonneas); the current version is v1.2.0.
More Skills