Automated summary
Builds a PostHog analytics plan for a project: funnel events, KPI benchmarks, and lean-startup kill/iterate/scale decision thresholds.
Strengths
- Maps a full Awareness → Referral funnel into concrete PostHog events with triggers and properties
- Forces explicit reasoning about the North Star metric, leading/lagging indicators, and vanity metrics to avoid
- Ships benchmark tables with kill and scale thresholds per stage, adjustable for B2C/B2B and mobile/web
- Detects the platform (iOS, web, or both) and handles cross-platform identity resolution
Limitations
- Provided benchmarks are generic mobile/SaaS averages that still need recalibration
- It produces a plan only — no data is collected or validated until events are implemented in PostHog
- Heavily dependent on the project's PRD and CLAUDE.md; missing files require manual answers via AskUserQuestion
- Does not cover SEO metrics, which are explicitly redirected to /seo-audit
Use it at project kickoff or after a pivot, when you need to decide which events to instrument and what thresholds trigger kill, iterate, or scale decisions.
Don't use it for SEO performance analysis or for exploring analytics data that has already been collected.
Security analysis
SafeThe skill is a pure planning/documentation generator. Its declared tools (Read, Grep, Glob, Write, AskUserQuestion, kb_search) are benign, and the only write target is a predictable docs/metrics-plan.md file. There are no shell invocations, network fetches, credential handling, obfuscated payloads, or attempts to bypass safety controls. The embedded code snippets are inert illustrative PostHog examples, not executed.
No concerns found
How this analysis is madeExamples
Set up metrics tracking for my iOS app HabitLoop — read the PRD and CLAUDE.md, then define the PostHog event funnel, KPI targets, and kill/scale thresholds.Track KPIs for our web SaaS: define the PostHog JS events for signup → activation → paid, plus D1/D7/D30 retention benchmarks.Help me decide when to kill or scale my side project — build a weekly metrics review with kill/iterate/scale thresholds based on our activation and retention numbers.name: solo-metrics-track description: Set up PostHog metrics plan with event funnel, KPI benchmarks, and kill/iterate/scale decision thresholds. Use when user says "set up metrics", "track KPIs", "PostHog events", "funnel analysis", "when to kill or scale", or "success metrics". Do NOT use for SEO metrics (use /seo-audit). license: MIT metadata: author: fortunto2 version: "1.1.1" openclaw: emoji: "📈" allowed-tools: Read, Grep, Glob, Write, AskUserQuestion, mcp__solograph__kb_search argument-hint: "<project-name>"
/metrics-track
Set up a metrics tracking plan for a project. Defines PostHog event funnel, KPI benchmarks, and kill/iterate/scale decision thresholds based on lean startup principles.
MCP Tools (use if available)
kb_search(query)— find PostHog methodology, analytics patterns
If MCP tools are not available, fall back to Grep + Read.
Methodology Reference
This skill implements metrics tracking based on lean startup principles:
- Relative metrics vs niche benchmarks — compare against your own trajectory, not vanity averages
- Kill/iterate/scale decision rules — data-driven thresholds for product decisions (see step 7 below)
Steps
-
Parse project from
$ARGUMENTS.- Read PRD for features, ICP, monetization model.
- Read CLAUDE.md for stack (iOS/Web/both).
- If empty: ask via AskUserQuestion.
-
Detect platform:
- iOS app → PostHog iOS SDK events
- Web app → PostHog JS SDK events
- Both → cross-platform identity (shared user ID across platforms)
-
Load PostHog methodology:
- If MCP available:
kb_search("PostHog analytics events funnel identity") - Otherwise: check project docs for existing analytics configuration
- Extract: event naming conventions, identity resolution, funnel pattern
- If MCP available:
-
Define event funnel based on PRD features:
Standard funnel stages (adapt per product):
Awareness → Acquisition → Activation → Revenue → Retention → ReferralMap to concrete events:
| Stage | Event Name | Trigger | Properties | |-------|-----------|---------|------------| | Awareness |
page_viewed| Landing page visit |source,utm_*| | Acquisition |app_installedorsigned_up| First install/signup |platform,source| | Activation |core_action_completed| First key action |feature,duration_ms| | Revenue |purchase_completed| First payment |plan,amount,currency| | Retention |session_started| Return visit (D1/D7/D30) |session_number,days_since_install| | Referral |invite_sent| Shared or referred |channel,referral_code| -
Forced reasoning — metrics selection: Before defining KPIs, write out:
- North Star Metric: The ONE number that matters most (e.g., "weekly active users who completed core action")
- Leading indicators: What predicts the North Star? (e.g., "activation rate D1")
- Lagging indicators: What confirms success? (e.g., "MRR", "retention D30")
- Vanity metrics to AVOID: (e.g., total downloads without activation)
-
Set KPI benchmarks per stage:
| KPI | Target | Kill Threshold | Scale Threshold | Source | |-----|--------|---------------|-----------------|--------| | Landing → Signup | 3-5% | < 1% | > 8% | Industry avg | | Signup → Activation | 20-40% | < 10% | > 50% | Product benchmark | | D1 Retention | 25-40% | < 15% | > 50% | Mobile avg | | D7 Retention | 10-20% | < 5% | > 25% | Mobile avg | | D30 Retention | 5-10% | < 2% | > 15% | Mobile avg | | Trial → Paid | 2-5% | < 1% | > 8% | SaaS avg |
Adjust based on product type (B2C vs B2B, free vs paid, mobile vs web).
-
Define decision rules (lean startup kill/iterate/scale):
## Decision Framework **Review cadence:** Weekly (Fridays) ### KILL signals (any 2 = kill) - [ ] Activation rate < {kill_threshold} after 2 weeks - [ ] D7 retention < {kill_threshold} after 1 month - [ ] Zero organic signups after 2 weeks of distribution - [ ] CAC > 3x LTV estimate ### ITERATE signals - [ ] Metrics between kill and scale thresholds - [ ] Qualitative feedback suggests product-market fit issues - [ ] One stage of funnel is dramatically worse than others ### SCALE signals (all 3 = scale) - [ ] Activation rate > {scale_threshold} - [ ] D7 retention > {scale_threshold} - [ ] Organic growth > 10% week-over-week -
Generate PostHog implementation snippets:
For iOS (Swift):
// Event tracking examples PostHogSDK.shared.capture("core_action_completed", properties: [ "feature": "scan_receipt", "duration_ms": elapsed ])For Web (TypeScript):
// Event tracking examples posthog.capture('signed_up', { source: searchParams.get('utm_source') ?? 'direct', plan: 'free' }) -
Write metrics plan to
docs/metrics-plan.md:# Metrics Plan: {Project Name} **Generated:** {YYYY-MM-DD} **Platform:** {iOS / Web / Both} **North Star:** {north star metric} ## Event Funnel | Stage | Event | Properties | |-------|-------|------------| {event table from step 4} ## KPIs & Thresholds | KPI | Target | Kill | Scale | |-----|--------|------|-------| {benchmark table from step 6} ## Decision Rules {framework from step 7} ## Implementation ### PostHog Setup - Project: {project name} (EU region) - SDK: {posthog-ios / posthog-js} - Identity: {anonymous → identified on signup} ### Code Snippets {snippets from step 8} ## Dashboard Template - Funnel: {stage1} → {stage2} → ... → {stageN} - Retention: D1 / D7 / D30 cohort chart - Revenue: MRR trend + trial conversion --- *Generated by /metrics-track. Implement events, then review weekly.* -
Output summary — North Star metric, key thresholds, first event to implement.
Notes
- PostHog EU hosting for privacy compliance
- Use
$setfor user properties,capturefor events - Identity: start anonymous,
identify()on signup with user ID - Cross-platform: same PostHog project, same user ID → unified journey
- Review dashboard weekly, make kill/iterate/scale decision monthly
Common Issues
Wrong platform detected
Cause: Project has both web and iOS indicators. Fix: Skill checks package manifests. If both exist, it generates cross-platform identity setup. Verify the detected platform in the output.
KPI thresholds too aggressive
Cause: Default thresholds are industry averages.
Fix: Adjust thresholds in docs/metrics-plan.md based on your niche. B2B typically has lower volume but higher conversion.
PostHog SDK not in project
Cause: Metrics plan generated but SDK not installed.
Fix: This skill generates the PLAN only. Install PostHog SDK separately: pnpm add posthog-js (web) or add posthog-ios via SPM (iOS).
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/posthog-metrics-tracking-setup-mma3jrp9/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/posthog-metrics-tracking-setup-mma3jrp9' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/posthog-metrics-tracking-setup-mma3jrp9/download' --output '.skill-downloads/posthog-metrics-tracking-setup-mma3jrp9/SKILL.md.part' && mv '.skill-downloads/posthog-metrics-tracking-setup-mma3jrp9/SKILL.md.part' '.skill-downloads/posthog-metrics-tracking-setup-mma3jrp9/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Read, Grep, Glob, Write, AskUserQuestion, mcp__solograph__kb_search
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/posthog-metrics-tracking-setup-mma3jrp9/SKILL.md' && test -s '.skill-downloads/posthog-metrics-tracking-setup-mma3jrp9/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/solo-metrics-track' && cp -R '.skill-downloads/posthog-metrics-tracking-setup-mma3jrp9' '.claude/skills/solo-metrics-track'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/posthog-metrics-tracking-setup-mma3jrp9'openskills read 'posthog-metrics-tracking-setup-mma3jrp9'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/posthog-metrics-tracking-setup-mma3jrp9/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Create Interactive Maps with kepler.gl
Data & AI
Create interactive map visualizations and export standalone HTML using the keplergl Python package. Use to plot geospatial data from DataFrames, GeoJSON, or CSV.
Agent-Driven Parameter Optimization
Data & AI
Guide for optimizing configurable systems with a measurable objective, using bounded trials and evidence-based recommendations.
ICP Visitor Outreach
Data & AI
Identify signed-up users matching the ideal customer profile but stalled, and draft personalized outreach to re-engage them.