funnel-analysis
Skill0 starsChanged 6 months agoMITView on GitHub
Builds step-by-step funnel analyses with conversion rates, drop-off diagnosis, and segmentation. Use when the user mentions funnel, conversion rate, drop-off, signup-to-activation, step-by-step conversion, onboarding flow, or "where are users falling off.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- chaakresh/claude-skillstheir own version, first seen Sep 7, 2026
- RBraga01/builder-growththeir own version, first seen Jun 17, 2026
- sp1e/claude-skillstheir own version, first seen Jun 9, 2026
- shisuidata/ss-data-skillstheir own version, first seen May 27, 2026
- liangdabiao/claudesdk-data-chattheir own version, first seen May 24, 2026
- liangdabiao/claude-data-analysis-ultra-maintheir own version, first seen May 9, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- liangdabiao/claude-data-analysis-ultra-main★ 289same name
- shisuidata/ss-data-skills★ 8same name
- liangdabiao/claudesdk-data-chat★ 4same name
- RBraga01/builder-growth★ 2same name
- takumaoshiro/analysis-skills-md★ 2same name
- nandanosql/all_in_one_pm_skills★ 1same name
- sp1e/claude-skills★ 1same name
- chaakresh/claude-skills★ 0same name
- shyamw-cloud/Claude-skill★ 0same name
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 repository14 other files it gives its agents.
- ab-test-analysisSkill
- ab-test-designSkill
- causal-inferenceSkill
- cohort-analysisSkill
- data-quality-auditSkill
- linear-regressionSkill
- logistic-regressionSkill
- metric-definitionSkill
- modular-sql-ctesSkill
- sql-correctness-reviewSkill
- sql-query-reviewSkill
- stakeholder-readoutSkill
- survival-analysisSkill
- warehouse-query-optimizationSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use when measuring sequential step-by-step conversion through a defined flow.
- Distinctive: line 60
Look for steps where conversion diverges between segments.
- Very specific: line 67
When responding inline (no PNG output), produce equivalent markdown tables for each — see reference.md for the inline templates.
“Common” is measured: kept by at least 6 in 10 of the 5 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
Funnel Analysis
When to use this skill
Use when measuring sequential step-by-step conversion through a defined flow. Triggers:
- "Build a signup funnel"
- "Where are users dropping off?"
- "Conversion from step A to step B"
- "Analyze the checkout flow"
- "Activation funnel"
For lifecycle behavior over weeks/months → cohort-analysis. For experiments → ab-test-analysis.
Required inputs
| Input | Why it matters |
| Funnel steps (ordered) | The sequence to measure |
| Unit of analysis | User, session, or visit |
| Time window | Conversion deadline between steps |
| Strict vs non-strict order | Must steps occur in order, or just all eventually? |
| Cohort filter | Which users to include (e.g., new signups only) |
Workflow
- Define the steps explicitly. Each step is an event name + filter conditions. Avoid vague steps like "engaged."
- Decide strict vs non-strict ordering.
- Strict (sequential): step N must follow step N-1 in time. Standard for onboarding/checkout flows.
- Non-strict (any order): user must have done all steps eventually. Use for feature adoption funnels where order doesn't matter.
- Set the conversion window. Between step N and N+1, what's the max time to convert? Common defaults:
- Same session: ~30 min
- Same day: 24h
- Same week: 7 days
- Lifetime: open-ended (but inflates conversion artificially)
- Compute the funnel using
scripts/build_funnel.sql, which produces:- Step counts (users reaching each step)
- Step-to-step conversion rate
- End-to-end conversion rate
- Median time between steps
- Diagnose biggest drop-offs. The largest absolute drop is usually the highest-leverage fix. Compare:
- vs benchmark (industry, prior period)
- vs segments (channel, device, plan)
Segment to find the right bucket. Compare the funnel by:
- Acquisition channel
- Device (mobile vs desktop)
- User type (new vs returning)
- Country / locale
Look for steps where conversion diverges between segments. These are the actionable insights.
Generate the three canonical visualizations using
scripts/visualize_funnel.py:- Waterfall chart — users at each step with cumulative loss overlay (end-to-end view)
- Step-to-step bar chart — per-transition conversion rate, color-coded by health
- Monthly cohort heatmap — cohort × step conversion %, to see if the funnel is improving or degrading over time
When responding inline (no PNG output), produce equivalent markdown tables for each — see
reference.mdfor the inline templates.- Write the readout.
Output format
# Funnel Analysis: <name>
## Definitions
- Unit: <user | session>
- Cohort filter: <e.g., new signups in last 14 days>
- Ordering: <strict | non-strict>
- Conversion window: <e.g., same session, max 30 min between steps>
- Date range: <start> to <end>
## Funnel (overall)
| Step | Users | Step CR | End-to-end CR | Median time from prev |
|---|---|---|---|---|
| 1. Landing | 100,000 | — | 100% | — |
| 2. Signup | 32,000 | 32.0% | 32.0% | 1.2 min |
| 3. Email verify | 22,400 | 70.0% | 22.4% | 4.5 min |
| 4. Profile complete | 16,800 | 75.0% | 16.8% | 2.1 min |
| 5. First action | 10,080 | 60.0% | 10.1% | 14 min |
## Visualizations
### Waterfall — end-to-end conversion from step 1

Bars show users at each step; gray overlays show users lost since the previous step. Headline: 10.1% end-to-end conversion (step 1 → final).
### Step-to-step conversion

Each bar is the conversion rate from step N to step N+1 (green ≥80%, amber ≥50%, red <50%). Worst transition flagged in the diagnosis below.
### Monthly cohort heatmap

Rows = signup month, columns = funnel step, cell = % of that cohort reaching the step. Reveals whether the funnel is trending up, flat, or degrading across cohorts.
## Biggest drop-offs
1. **Landing → Signup**: -68pp drop (32% conversion). Largest absolute loss.
2. **Profile complete → First action**: -40pp drop, slowest median time (14 min) — suggests confusion or friction.
## Segment breakdowns
| Segment | Landing→Signup | Signup→Verify | Verify→Profile | Profile→First |
|---|---|---|---|---|
| Mobile | 28% | 65% | 73% | 52% |
| Desktop | 38% | 78% | 78% | 68% |
| Paid search | 35% | 72% | 76% | 64% |
| Organic | 24% | 68% | 73% | 55% |
**Key finding:** Mobile users underperform desktop at every step. Largest mobile gap is at "first action" (52% vs 68%) — suggests post-signup mobile experience friction.
## Interpretation
- The single biggest leverage point is landing → signup (-68pp). Even a 2pp improvement = 2,000 more weekly signups.
- However, the most actionable opportunity is **mobile first-action** because the gap vs desktop is large and the cohort is high-intent (already signed up).
## Caveats
- "First action" definition: <event spec>
- Users counted at most once per step (deduplicated by user_id)
- Mobile = iOS + Android combined; gap may differ by OS
## Next steps
- Run heatmap analysis on mobile post-signup screens
- Pre-register an A/B test on the signup form (see `ab-test-design`)Validation checks
- Each step has a single, unambiguous event definition
- Conversion window stated and consistent
- Deduplication rule stated (1 user = 1 row per step)
- Date range stated and excludes incomplete most-recent day
- Step counts monotonically non-increasing in strict funnels
Edge cases & failure modes
- Skipped steps: in non-strict funnels, a user might skip step 3 and do step 4. Decide if they "count" for step 3. Default: no, they don't.
- Re-entries: user does step 1, abandons, comes back next day and does step 1 again. Count first instance only (use min event timestamp).
- Lifetime windows inflate conversion: a 30-day window will show higher conversion than 1-day, but the trailing days are mostly "users who eventually got around to it" rather than directly attributable to the funnel design.
- Survivorship at later steps: late steps have small N — small absolute changes look like big percentage shifts. Show absolute counts alongside rates.
- Step granularity: too granular (10+ steps) makes drop-off diagnosis impossible. Roll up. 4-6 steps is the sweet spot.
Scripts
scripts/build_funnel.sql— Snowflake template for strict-ordered funnel with time-bounded steps.scripts/visualize_funnel.py— Produces the three canonical PNGs (waterfall, step-to-step, cohort heatmap) from a long-format events CSV.
python scripts/visualize_funnel.py \
--input events.csv \
--steps landing,signup,email_verify,profile_complete,first_action \
--output-dir charts/ \
--cohort-grain month \
--strictRelated skills
cohort-analysis— for lifecycle behavior over weeks/monthsmetric-definition— pin down each step's event definitionab-test-design— test a fix to the biggest drop-offdata-quality-audit— sanity-check the event sources before trusting the funnel
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.

