funnel-analysis

funnel-analysis is a skill for Claude Code from nicepkg/ai-workflow. It costs 53 tokens per session (637 once invoked), scanned A, original, MIT.

A conversion-funnel analysis tool for examining how people move through a series of steps, such as visiting a page, signing up, and buying. It calculates how many continue at each step and can show the results in interactive charts.

In plain words
What is it for?
Use it to study marketing campaigns, website or app journeys, onboarding, sales pipelines, and lead-nurturing processes. It helps identify bottlenecks and suggest where a process could improve.
Why use it?
It helps reveal where people drop out of a process instead of relying on overall totals. It can also compare different groups, such as users on different devices or from different locations.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to study marketing campaigns, website or app journeys, onboarding, sales pipelines, and lead-nurturing processes. It helps identify bottlenecks and suggest where a process could improve.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nicepkg/ai-workflow/funnel-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nicepkg/ai-workflow --skill funnel-analysis
Clone the repo
git clone --depth 1 https://github.com/nicepkg/ai-workflow

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for funnel-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/nicepkg/ai-workflow/funnel-analysis/github.svg)](https://agentmods.dev/skills/nicepkg/ai-workflow/funnel-analysis)
Your own site
<a href="https://agentmods.dev/skills/nicepkg/ai-workflow/funnel-analysis"><img src="https://agentmods.dev/badge/skills/nicepkg/ai-workflow/funnel-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for funnel-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/nicepkg/ai-workflow/funnel-analysis"><img src="https://agentmods.dev/badge/skills/nicepkg/ai-workflow/funnel-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 637 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.00637
Opus 5.5 $0.00021 $0.00255
Sonnet 5.5 $0.00011 $0.00127
Haiku 4.5 $0.00005 $0.00064

Measured 3mo ago against content hash 040b43ce54d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

funnel-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 4 executable files (examples/basic_funnel.py, examples/segmented_funnel.py, scripts/funnel_analyzer.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

workflows/marketing-pro-workflow/.claude/skills/funnel-analysis/SKILL.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Funnel Analysis Skill

Analyze user behavior through multi-step conversion funnels to identify bottlenecks and optimization opportunities in marketing campaigns, user journeys, and business processes.

Quick Start

This skill helps you:

  1. Build conversion funnels from multi-step user data
  2. Calculate conversion rates between each step
  3. Perform segmentation analysis by different user attributes
  4. Create interactive visualizations with Plotly
  5. Generate business insights and optimization recommendations

When to Use

  • Marketing campaign analysis (promotion → purchase)
  • User onboarding flow analysis
  • Website conversion funnel optimization
  • App user journey analysis
  • Sales pipeline analysis
  • Lead nurturing process analysis

Key Requirements

Install required packages:

pip install pandas plotly matplotlib numpy seaborn

Core Workflow

1. Data Preparation

Your data should include:

  • User journey steps (clicks, page views, actions)
  • User identifiers (customer_id, user_id, etc.)
  • Timestamps or step indicators
  • Optional: user attributes for segmentation (gender, device, location)

2. Analysis Process

  1. Load and merge user journey data
  2. Define funnel steps and calculate metrics
  3. Perform segmentations (by device, gender, etc.)
  4. Create visualizations
  5. Generate insights and recommendations

3. Output Deliverables

  • Funnel visualization charts
  • Conversion rate tables
  • Segmented analysis reports
  • Optimization recommendations

Example Usage Scenarios

E-commerce Purchase Funnel

# Steps: Promotion → Search → Product View → Add to Cart → Purchase
# Analyze by device type and customer segment

User Registration Funnel

# Steps: Landing Page → Sign Up → Email Verification → Profile Complete
# Identify where users drop off most

Content Consumption Funnel

# Steps: Article View → Comment → Share → Subscribe
# Measure engagement conversion rates

Common Analysis Patterns

Read the full file on GitHub · 99 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 99 lines · 53 tokens per session scan A 040b43ce54d3

Subscribe to this mod's changes

funnel-analysis is a skill published in the GitHub repository nicepkg/ai-workflow (298 stars, last pushed 10mo ago), licensed MIT. It adds 53 tokens to every session and 637 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

funnel-analysis compared with skills from other repositories

funnel-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
funnel-analysisnicepkg/ai-workflowSkill29810mo agoMITA53Claude Code
headroomheadroomlabs-ai/headroomSkill81ktodayApache-2.0A76Claude Code
html-artifactslangchain-ai/open-sweSkill11ktodayMITA52Claude Code, Codex
hive.slack-notifications-setupaden-hive/hiveSkill11kyesterdayApache-2.0A136Claude Code, Codex
hive.chart-creation-foundationsaden-hive/hiveSkill11kyesterdayApache-2.0A133Claude Code, Codex
browser-edge-casesaden-hive/hiveSkill11kyesterdayApache-2.0A40Claude Code
hive.pdfaden-hive/hiveSkill11kyesterdayApache-2.0A98Claude Code, Codex