analytics-product
Skill by ibrdot
analytics-product is a skill for product analytics with PostHog and Mixpanel. It covers event tracking, funnels, cohort retention, North Star metrics, OKRs and product dashboards for AI assistants that support skills.
Install analytics-product
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ibrdot/swe-re-expert /tmp/swe-re-expert && mkdir -p ~/.claude/skills && cp -r /tmp/swe-re-expert/plugins/agentic-awesome-skills-claude/skills/analytics-product ~/.claude/skills/analytics-productRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ibrdot/swe-re-expert /tmp/swe-re-expert && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/swe-re-expert/plugins/agentic-awesome-skills-claude/skills/analytics-product ~/.gemini/antigravity-cli/skills/analytics-productAntigravity 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
analytics-product is a skill for product analytics work with PostHog and Mixpanel. It covers event tracking, funnels, cohorts, retention, DAU and MAU, feature flags, A/B testing, the North Star metric, OKRs and product dashboards. It includes a sample event schema, Python code for PostHog tracking, a funnel example, a weekly cohort retention function, a North Star calculation and a significance calculator for A/B tests.
Before instrumenting, the skill asks for the product decision, data source, applicable consent, timezone and analysis unit. It warns that the benchmarks and funnel numbers are hypothetical, that a single p-value does not decide a rollout, and that SDKs can send data to external services. It is for people setting up product tracking and analysis.
Written from the project's SKILL.md and checked against it.
What it can do
- Event taxonomyDefines product events using a [object]_[past_verb] naming pattern, such as user_signed_up.
- PostHog trackingProvides Python helpers to capture events and identify users with the PostHog SDK.
- Funnel analysisDescribes how to find and test drop-offs in a conversion funnel against benchmarks.
- Cohort retentionIncludes a Python function that calculates weekly cohort retention from session events.
- North Star metricSketches a North Star metric calculation with a target and week-over-week growth.
- Feature flagsShows how to check a PostHog feature flag for a user before showing a feature.
- A/B test significanceProvides a chi-square calculator that reports rates, lift and p-value for two variants.
- Suggested promptsLists suggested commands such as /funnel-analysis, /cohort-retention and /ab-test. These are prompts and do not install commands.
What you need
- PostHog API key set in the POSTHOG_API_KEY environment variable
- Python
- posthog Python SDK
- pandas and scipy
Try asking
- Calculate weekly cohort retention from my session_started events
- Analyze where users drop off in my activation funnel
- Check if my A/B test result is statistically significant
Good to know
- The targets, retention bands and assistant events in the source are hypothetical and not market benchmarks.
- The code samples depend on the project's own database and interface adapters and are not a ready application.
- SDKs can send data to external services, so consent and retention rules must be checked before enabling tracking.
- A p-value alone is not a rollout decision. The skill says to review effect size, uncertainty and guardrails.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/agentic-awesome-skills-claude/skills/analytics-product/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to analytics-product
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
analytics-product: common questions
Does analytics-product require PostHog?
The source shows PostHog code and a POSTHOG_API_KEY setting. It also mentions Mixpanel in its name and description but does not show Mixpanel code.
Are the retention and funnel numbers real benchmarks?
No. The source says the retention bands and funnel targets are illustrative and not backed by external data, so teams should replace them with their own observed baselines.
Which assistants support analytics-product?
The source lists claude-code, antigravity, cursor, gemini-cli and codex-cli as supported tools.
How do I install analytics-product?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is analytics-product free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is analytics-product safe to use?
It scores 54 of 100. Grades: maintenance B, licence A, quality C. 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 analytics-product?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
