posthog-automation
Skill by sickn33
Automates PostHog product analytics and feature flag tasks through Composio's PostHog toolkit, accessed via Rube MCP. It is for teams that want an AI assistant to capture and review events, manage flags, and inspect projects.
Install posthog-automation
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/posthog-automation ~/.claude/skills/posthog-automationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/posthog-automation ~/.gemini/antigravity-cli/skills/posthog-automationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
posthog-automation is an agent skill by sickn33 that automates PostHog product analytics and feature flag management through Composio's PostHog toolkit, accessed via Rube MCP. It covers capturing and listing events, listing, retrieving and creating feature flags, listing projects, and checking the current user or API access. The skill says to call RUBE_SEARCH_TOOLS first to get current tool schemas.
Setup requires a connected Rube MCP and an ACTIVE PostHog connection, checked with RUBE_MANAGE_CONNECTIONS using the posthog toolkit. The guidance is aimed at developers and analytics teams who run PostHog workflows from an AI assistant. It also asks users to confirm the project, event payload and flag targeting before any writes, because active flags affect real users.
Written from the project's SKILL.md and checked against it.
What it can do
- POSTHOG_CAPTURE_EVENTSends one or more events to PostHog with a distinct_id and properties.
- POSTHOG_LIST_AND_FILTER_PROJECT_EVENTSQueries project events by event name, person, and ISO 8601 date range.
- POSTHOG_LIST_AND_MANAGE_PROJECT_FEATURE_FLAGSLists the feature flags in a project.
- POSTHOG_RETRIEVE_FEATURE_FLAG_DETAILSGets the detailed configuration of a single feature flag.
- POSTHOG_CREATE_FEATURE_FLAGS_FOR_PROJECTCreates a new feature flag with a key, name, filters and active state.
- POSTHOG_LIST_PROJECTS_IN_ORGANIZATION_WITH_PAGINATIONLists projects in an organization with offset-based pagination.
- POSTHOG_WHOAMIReturns the current API user to confirm API connectivity.
- POSTHOG_RETRIEVE_CURRENT_USER_PROFILEReturns the current user's profile, permissions and organization info.
What you need
- Rube MCP connected to the client
- Active PostHog connection via RUBE_MANAGE_CONNECTIONS with toolkit posthog
- PostHog authentication completed through the returned auth link
- PostHog API key access
Try asking
- List my PostHog projects and show their numeric IDs
- Create a kebab-case feature flag with a 10% rollout
- Show the last 50 captured events named user_signed_up
Good to know
- Events are processed asynchronously, so ingestion can take seconds.
- Deleting a feature flag is permanent; the source suggests disabling it instead.
- API endpoints have per-minute rate limits and event ingestion has throughput limits.
- Adding the Rube URL alone does not grant account access; authorization must be completed.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/posthog-automation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB
Alternatives to posthog-automation
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
posthog-automation: common questions
Does this skill need a PostHog account?
Yes. It requires an active PostHog connection through Rube, completed with the auth link the Rube service returns.
Can it change live feature flags?
It can create flags and set them active. The source warns that active flags affect real users, so it asks to confirm targeting and rollout first and keep a rollback configuration.
How do I find a project ID?
Call the project listing tool and take the numeric id from the matching project. The source says most other endpoints require this ID.
How do I install posthog-automation?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is posthog-automation free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is posthog-automation safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to posthog-automation?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
