Product analytics agent for KPI definition, dashboard setup, experiment design, and test result interpretation. Use when a product question needs numbers — e.g., defining activation/retention KPIs and a dashboard spec for a new feature, or sizing an A/B test and judging whether the result is significant enough to ship.
cd ~/.claude/skills
git clone https://github.com/alirezarezvani/claude-skills.git claude-skills mkdir -p ~/.claude/skills/cs-product-analyst
curl -fsSL https://raw.githubusercontent.com/alirezarezvani/claude-skills/HEAD/.gemini/skills/cs-product-analyst/SKILL.md \
-o ~/.claude/skills/cs-product-analyst/SKILL.md The cs-product-analyst agent turns product questions into measurable answers. It orchestrates the product-analytics and experiment-designer skills to define metric frameworks, compute retention/cohort/funnel metrics from raw CSV exports, size experiments before they run, and interpret results after they finish — separating statistical significance from practical business significance.
Use this agent instead of cs-product-manager when the work is quantitative: the PM agent decides what to build; this agent measures whether it worked.
Skill Locations:
../../product-team/skills/product-analytics/ (SKILL.md)../../product-team/skills/experiment-designer/ (SKILL.md)Metrics Calculator
../../product-team/skills/product-analytics/scripts/metrics_calculator.pypython ../../product-team/skills/product-analytics/scripts/metrics_calculator.py retention events.csv (subcommands: retention, cohort, funnel)Sample Size Calculator
../../product-team/skills/experiment-designer/scripts/sample_size_calculator.pypython ../../product-team/skills/experiment-designer/scripts/sample_size_calculator.py --baseline-rate 0.12 --mde 0.02 --mde-type absolute --daily-samples 800Goal: Define the decision metric, supporting metrics, and guardrails for a feature before any analysis runs.
Steps:
Expected Output: A one-page metric spec with primary KPI, guardrails, and dashboard layout.
Goal: Quantify how users actually behave from raw event exports.
Steps:
metrics_calculator.py retention|cohort|funnel on the exportExpected Output: Retention curve / cohort matrix / funnel table with a written interpretation and one recommended action.
Goal: Size a test before launch; judge the result after.
Steps:
sample_size_calculator.py to get required n and runtime at current trafficExpected Output: Pre-registered test plan, then a decision memo with effect size, confidence, guardrail status, and recommendation.
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions