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.
Install this agent skill to your Project
npx add-skill https://github.com/liangdabiao/claude-data-analysis-ultra-main/tree/main/.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:
- Build conversion funnels from multi-step user data
- Calculate conversion rates between each step
- Perform segmentation analysis by different user attributes
- Create interactive visualizations with Plotly
- 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
- Load and merge user journey data
- Define funnel steps and calculate metrics
- Perform segmentations (by device, gender, etc.)
- Create visualizations
- 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
- Bottleneck Identification: Find steps with highest drop-off rates
- Segment Comparison: Compare conversion across user groups
- Temporal Analysis: Track conversion over time
- A/B Testing: Compare different funnel variations
- Optimization Impact: Measure changes before/after improvements
Integration Examples
See examples/ directory for:
basic_funnel.py- Simple funnel analysissegmented_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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
retention-analysis
Analyze user retention and churn using survival analysis, cohort analysis, and machine learning. Calculate retention rates, build survival curves, predict churn risk, and generate retention optimization strategies. Use when working with user subscription data, membership information, or when user mentions retention, churn, survival analysis, or customer lifetime value.
content-analysis
Analyze text content using both traditional NLP and LLM-enhanced methods. Extract sentiment, topics, keywords, and insights from various content types including social media posts, articles, reviews, and video content. Use when working with text analysis, sentiment detection, topic modeling, or content optimization.
regression-analysis-modeling
Perform comprehensive regression analysis and predictive modeling using linear regression, decision trees, and random forests. Use when you need to predict continuous values like housing prices, sales forecasts, demand predictions, or any numerical target variables. Includes automated feature engineering, model comparison, and visualization with Chinese language support.
growth-model-analyzer
增长模型分析技能 - 提供全面的增长黑客分析工具,包括裂变策略评估、用户细分、Uplift建模、ROI优化等。支持多种增长场景的机器学习建模和智能决策建议。适用于用户增长、营销优化、产品迭代等增长分析场景。
recommender-system
智能推荐系统分析工具,提供多种推荐算法实现、评估框架和可视化分析。使用时需要用户行为数据、商品信息或评分数据,支持协同过滤、矩阵分解等推荐算法,生成个性化推荐结果和评估报告。
ab-testing-analyzer
全面的AB测试分析工具,支持实验设计、统计检验、用户分群分析和可视化报告生成。用于分析产品改版、营销活动、功能优化等AB测试结果,提供统计显著性检验和深度洞察。
Didn't find tool you were looking for?