Agent skill

funnel-analysis

Analyze user conversion funnels, calculate step-by-step conversion rates, create interactive visualizations, and identify optimization opportunities. Use when working with multi-step user journey data, conversion analysis, or when user mentions funnels, conversion rates, or user flow analysis.

Stars 149
Forks 27

Install this agent skill to your Project

npx add-skill https://github.com/nicepkg/ai-workflow/tree/main/workflows/marketing-pro-workflow/.claude/skills/funnel-analysis

SKILL.md

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:

bash
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

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

User Registration Funnel

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

Content Consumption Funnel

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

Common Analysis Patterns

  1. Bottleneck Identification: Find steps with highest drop-off rates
  2. Segment Comparison: Compare conversion across user groups
  3. Temporal Analysis: Track conversion over time
  4. A/B Testing: Compare different funnel variations
  5. Optimization Impact: Measure changes before/after improvements

Integration Examples

See examples/ directory for:

  • basic_funnel.py - Simple funnel analysis
  • segmented_funnel.py - Advanced segmentation analysis
  • Sample datasets for testing

Best Practices

  • Ensure data quality and consistency
  • Define clear funnel steps
  • Consider user journey time windows
  • Validate statistical significance
  • Focus on actionable insights

Expand your agent's capabilities with these related and highly-rated skills.

nicepkg/ai-workflow

workflow-creator

Create complete Claude Code workflow directories with curated skills. Use when user wants to (1) create a new workflow for specific use case (media creator, developer, marketer, etc.), (2) set up a Claude Code project with pre-configured skills, (3) download and organize skills from GitHub repositories, or (4) generate README.md and AGENTS.md documentation for workflows. Triggers on phrases like "create workflow", "new workflow", "set up workflow", "build a xxx-workflow".

149 27
Explore
nicepkg/ai-workflow

add-new-skills-to-workflow

Add new skills to an existing workflow and update all related documentation. Use when user wants to add skills from GitHub URLs to a workflow (e.g., "add this skill to the workflow", "为工作流添加技能"). Triggers on adding skills to workflows, updating workflow documentation after skill additions.

149 27
Explore
nicepkg/ai-workflow

remove-old-skills-from-workflow

Guide for removing skills from an existing workflow and updating all related documentation. Use when user wants to remove skills from a workflow (e.g., "remove skill", "delete skill", "移除技能", "删除技能").

149 27
Explore
nicepkg/ai-workflow

legacy-to-ai-ready

Transform legacy codebases into AI-ready projects with Claude Code configurations. Use when (1) analyzing old projects to generate AI coding configurations, (2) creating CLAUDE.md, skills, subagents, slash commands, hooks, or rules for existing projects, (3) user wants to enable vibe coding for a codebase, (4) onboarding new team members with AI-assisted development, (5) user mentions "make project AI-ready", "generate Claude config", or "create coding standards for AI".

149 27
Explore
nicepkg/ai-workflow

skill-downloader

Download and install Claude Code skills from various sources. Supports GitHub repositories, compressed archives (.zip, .tar.gz, .skill), and direct URLs. Use when user wants to download, install, or add a skill from GitHub, URL, or archive file. Triggers on "download skill", "install skill", "add skill from", "get skill".

149 27
Explore
nicepkg/ai-workflow

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

149 27
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results