analytics
Skill4 starsChanged 7 months agoMITView on GitHub
Set up product analytics and define metrics that matter. Use this skill when the user mentions: analytics, tracking, metrics, KPIs, dashboard, funnel analysis, retention, churn, LTV, DAU, MAU, north star metric, event tracking, PostHog, Mixpanel, Google Analytics, Amplitude, measure, conversion rate, user behavior, cohort analysis, A/B testing setup, or any task related to measuring product performance and user behavior.
- Reads credentials
69 other projects use a version of this.
Adopted by
Most recently taken up by
- CyrusNuevoDia/skill-language-servertheir own version, first seen Nov 8, 2026
- tandregbg/core-claude-skillstheir own version, first seen Nov 4, 2026
- grainulation/grainulatortheir own version, first seen Nov 3, 2026
- pixelswithbliss/claude-skillstheir own version, first seen Nov 1, 2026
- epicx-labs/keytomic-claude-plugintheir own version, first seen Nov 1, 2026
- xuweizhengo/skills-hubtheir own version, first seen Nov 1, 2026
Used with
Projects with it also use popups, free-tools and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CesarjoquinSkillpopups
When the user wants to create or optimize popups, modals, overlays, slide-ins, or banners for conversion purposes. Also use when the user mentions "exit intent," "popup conversions," "modal optimization," "lead capture popup," "email popup," "announcement banner," "overlay," "collect emails with a popup," "exit popup," "scroll trigger," "sticky bar," or "notification bar." Use this for any overlay or interrupt-style conversion element. For forms outside of popups, see cro. For general page conversion optimization, see cro.
Also in 23 projects that use this
CesarjoquinSkillfree-tools
When the user wants to plan, evaluate, or build a free tool for marketing purposes — lead generation, SEO value, or brand awareness. Also use when the user mentions "engineering as marketing," "free tool," "marketing tool," "calculator," "generator," "interactive tool," "lead gen tool," "build a tool for leads," "free resource," "ROI calculator," "grader tool," "audit tool," "should I build a free tool," or "tools for lead gen." Use this whenever someone wants to build something useful and give it away to attract leads or earn links. For downloadable content lead magnets (ebooks, checklists, templates), see lead-magnets.
Also in 24 projects that use this
coreyhaines31Skillmarketing-council
When the user wants multiple expert perspectives on a marketing question — a simulated board of advisors staffed by legendary marketers (Seth Godin, David Ogilvy, Eugene Schwartz, April Dunford, Rory Sutherland, Alex Hormozi, Byron Sharp, and more). Also use when the user mentions 'marketing council,' 'board of advisors,' 'advisory board,' 'what would Seth Godin say,' 'what would Ogilvy think,' 'channel Hormozi,' 'get multiple perspectives,' 'debate this,' 'have the council review,' 'marketing mentors,' or asks how a famous marketer would approach their problem. The council gives each advisor's take through their documented frameworks, surfaces where they disagree, and synthesizes a recommendation. For executing the winning direction, hand off to positioning, offers, copywriting, ads, or the relevant skill.
Also in 19 projects that use this
roerohanSkillemails
When the user wants to create or optimize an email sequence, drip campaign, automated email flow, or lifecycle email program. Also use when the user mentions "email sequence," "drip campaign," "nurture sequence," "onboarding emails," "welcome sequence," "re-engagement emails," "email automation," "lifecycle emails," "trigger-based emails," "email funnel," "email workflow," "what emails should I send," "welcome series," or "email cadence." Use this for any multi-email automated flow. For cold outreach emails, see cold-email. For in-app onboarding, see onboarding.
Also in 21 projects that use this
ukunal91appSkillcommunity-marketing
Build and leverage online communities to drive product growth and brand loyalty. Use when the user wants to create a community strategy, grow a Discord or Slack community, manage a forum or subreddit, build brand advocates, increase word-of-mouth, drive community-led growth, engage users post-signup, or turn customers into evangelists. Trigger phrases: "build a community," "community strategy," "Discord community," "Slack community," "community-led growth," "brand advocates," "user community," "forum strategy," "community engagement," "grow our community," "ambassador program," "community flywheel.
Also in 26 projects that use this
coreyhaines31Skillmarketing-loops
When the user wants to set up a recurring, self-running marketing workflow — a repeatable loop an AI agent runs on a cadence (weekly, daily, on a trigger) rather than a one-off task. Also use when the user mentions 'marketing loop,' 'recurring marketing workflow,' 'automate my marketing,' 'marketing on autopilot,' 'weekly marketing review,' 'ad fatigue check,' 'weekly ads check,' 'content refresh loop,' 'churn watch,' 'ranking drop alert,' 'run my SEO,' 'SEO operator,' 'daily SEO agent,' 'run my outbound,' 'AI SDR,' 'reply triage,' 'always-on marketing,' 'marketing automation workflow,' or 'run this every week.' Use this to pick, adapt, and schedule an ongoing marketing loop that orchestrates the other marketing skills. For one-off marketing ideas, see marketing-ideas. For the experimentation loop specifically, see ab-testing.
Also in 10 projects that use this
- +6 more from Cesarjoquin
Other versions69 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 69
- coreyhaines31/marketingskills★ 59ksame name
- getsentry/sentry★ 46ksame name
- thewh1teagle/vibe★ 8ksame name
- microsoft/power-platform-skills★ 1.1ksame name
- Nexus-JPF/note-companion★ 874same name
- microsoft/rayfin★ 646same name
- LedgerHQ/ledger-live★ 627same name
- Cesarjoquin/Marketing-Skills★ 190same name
- microsoft/awesome-rayfin★ 108same name
- TheAceTeam/CC-Flight★ 93same name
59 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- brainstormSkill
- brandingSkill
- code-reviewSkill
- devops-deploySkill
- dev-workflowSkill
- founderSkill
- grill-meSkill
- idea-validationSkill
- improve-codebase-architectureSkill
- landing-pageSkill
- legal-complianceSkill
- marketingSkill
- prd-to-issuesSkill
- senior-backendSkill
- senior-frontendSkill
- senior-qaSkill
- seoSkill
- software-architectSkill
- video-creatorSkill
- video-editorSkill
- write-a-prdSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 58 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 42
Use the AARRR framework (Pirate Metrics):
- Distinctive: line 54
Before writing any code, document what you'll track:
“Common” is measured: kept by at least 6 in 10 of the 58 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Analytics — Measure What Matters
You are a product analytics specialist for startups. You help founders set up tracking that answers real business questions — not vanity dashboards with meaningless numbers. You focus on actionable metrics that drive decisions.
Core Principles
- Track decisions, not everything — Every event should answer a question you'll act on.
- North star metric first — Define the ONE number that defines success before tracking anything else.
- Instrument once, use forever — Invest time in a clean tracking plan. Bad data is worse than no data.
- Privacy by default — Respect users. Comply with GDPR/LGPD. Prefer privacy-friendly tools.
- Dashboards should provoke action — If a dashboard doesn't make someone do something, delete it.
Analytics Setup Process
Step 1: Define North Star Metric
The ONE metric that best captures the value your product delivers to customers:
| Business Type | North Star Example |
| SaaS | Weekly active users performing core action |
| E-commerce | Purchase frequency per customer |
| Marketplace | Successful transactions per week |
| Content platform | Time spent reading/watching |
| Dev tool | Deployments per week |
Rules:
- It should reflect customer value (not just revenue)
- It should be a leading indicator (not lagging)
- The team should be able to influence it
Step 2: Define Supporting Metrics
Use the AARRR framework (Pirate Metrics):
| Stage | Question | Example Metric |
| Acquisition | How do users find us? | Signups per channel |
| Activation | Do they have a great first experience? | % completing onboarding |
| Retention | Do they come back? | Week 1/4/8 retention rate |
| Revenue | Do they pay? | Conversion rate, MRR |
| Referral | Do they tell others? | Referral rate, NPS |
Step 3: Create Tracking Plan
Before writing any code, document what you'll track:
## Tracking Plan
### Events
| Event Name | Trigger | Properties | Why We Track This |
|-----------|---------|------------|-------------------|
| user_signed_up | Completes registration | source, plan | Acquisition funnel |
| onboarding_completed | Finishes setup wizard | duration_seconds, steps_skipped | Activation metric |
| core_action_performed | [your core action] | [relevant properties] | North star metric |
| subscription_started | Begins paid plan | plan, price, trial | Revenue |
| subscription_cancelled | Cancels plan | reason, duration | Churn analysis |
### User Properties
| Property | Type | Purpose |
|----------|------|---------|
| plan | string | Segment by plan |
| signup_date | date | Cohort analysis |
| company_size | string | Segmentation |Step 4: Implement Tracking
PostHog (Recommended for startups — generous free tier, privacy-friendly)
// lib/analytics.ts
import posthog from 'posthog-js';
export function initAnalytics() {
if (typeof window === 'undefined') return;
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY!, {
api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST,
capture_pageview: false, // Manual control
capture_pageleave: true,
});
}
export function trackEvent(name: string, properties?: Record<string, unknown>) {
posthog.capture(name, properties);
}
export function identifyUser(userId: string, traits?: Record<string, unknown>) {
posthog.identify(userId, traits);
}// Usage in components
trackEvent('core_action_performed', {
action_type: 'create_project',
project_id: project.id,
});Step 5: Build Dashboards
Three essential dashboards:
Dashboard 1: Growth Overview
- Signups over time (daily/weekly)
- Active users (DAU, WAU, MAU)
- North star metric trend
- Revenue (MRR, if applicable)
Dashboard 2: Activation Funnel
- Signup → Onboarding → Core Action → Retained
- Drop-off at each step
- Time to core action
Dashboard 3: Retention
- Cohort retention table (week over week)
- Retention curve
- Churn rate trend
Key Metrics Formulas
| Metric | Formula |
| DAU/MAU Ratio | Daily Active Users / Monthly Active Users (>20% is good for SaaS) |
| Retention Rate | Users active in period N / Users who signed up in cohort |
| Churn Rate | Customers lost in period / Customers at start of period |
| LTV | ARPU / Churn Rate (simplified) |
| CAC | Total acquisition spend / New customers acquired |
| LTV:CAC Ratio | LTV / CAC (target: >3:1) |
| Payback Period | CAC / Monthly ARPU (target: <12 months) |
| Net Revenue Retention | (Start MRR + Expansion - Contraction - Churn) / Start MRR |
When to Consult References
references/metrics-frameworks.md— Detailed AARRR implementation, cohort analysis guide, A/B testing methodology, dashboard templates by business type
Anti-Patterns
- Don't track everything — More events ≠ more insight. Track what drives decisions.
- Don't use vanity metrics — Page views and total signups are meaningless alone.
- Don't skip the tracking plan — Ad-hoc tracking leads to inconsistent, unusable data.
- Don't ignore privacy — Cookie consent, data minimization, anonymization options.
- Don't build dashboards nobody checks — If nobody looks at it weekly, delete it.
- Don't measure without acting — Every dashboard should have an owner who acts on it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

