claude-data-analysis-ultra-main
๐ก Summary
An AI-powered platform for comprehensive and automated data analysis using intuitive commands.
๐ฏ Target Audience
๐ค AI Roast: โPowerful, but the setup might scare off the impatient.โ
Risk: Medium. Review: shell/CLI command execution; outbound network access (SSRF, data egress); filesystem read/write scope and path traversal. Run with least privilege and audit before enabling in production.
Claude Data Analysis Assistant
A modern, intelligent data analysis platform built with Claude Code's sub-agents, slash-commands, skills, and hooks. Transform your data analysis workflow with AI-powered assistance and specialized analysis tools.
็ฎๅ็ไธๅฅ่ฏ๏ผ 2ไธชๅฝไปค๏ผ /do-all ๅธธ่งๆฐๆฎๅๆ ๏ผ /do-more ไบ่็ฝๆฐๆฎๅๆ ใ ่ๅๆๆฐๆฎๆฏๆพๅจ /data_storage ใๅฐฑ่ฟไน็ฎๅ๏ผ็จ่ตทๆฅๅง๏ผ
ๆณจๆ๏ผ ไธ่ฝฝ้กน็ฎไธๆฅ๏ผๅๆๆฐๆฎๆฏๆพๅจ /data_storage [ๅ ๅปๅๆฅ็demoๆฐๆฎ] ๏ผไฝ ้่ฆๅ ๅ ้ค complete_analysis ๅ do_more_analysis ่ฟไธคไธชๆไปถๅคนใๆ่ฟ้ๆพ็ๆฏ็ปไฝ ๅ่ๆ็ป็ๅๆ็ปๆ๏ผไฝไธบไพๅญใ
๐ Quick Start
1. Set Up Your Data
Place your dataset in the data_storage/ directory:
cp your_data.csv ./data_storage/
2. Start Analysis
Use intuitive slash commands to analyze your data:
# Complete interactive workflow with human feedback checkpoints /do-all # โญ NEW: Automatic multi-skill analysis /do-more # Basic exploratory analysis /analyze user_behavior_sample.csv exploratory # Create visualizations /visualize user_behavior_sample.csv all # Generate analysis code /generate python data-cleaning # Create comprehensive report /report user_behavior_sample.csv complete markdown
๐ฏ Key Features
โญ /do-more vs /do-all: Which Should You Use?
/do-more: Automatic Multi-Skill Analysis
Best for: Quick, automated analysis without configuration
/do-more # No parameters needed!
What it does:
- โ
Automatically scans
data_storage/directory - โ Identifies data types (e-commerce, user behavior, etc.)
- โ Intelligently matches 7+ relevant skills
- โ Executes skills in optimal order
- โ Generates comprehensive HTML report
- โ No human intervention required
- โ Fast execution (2-5 minutes)
Output: do_more_analysis/integrated_results/Comprehensive_Analysis_Report.html
/do-all: Complete Interactive Analysis Workflow
Best for: Thorough analysis with human oversight and feedback
/do-all
What it does:
- โ
Reads data from
data_storage/(no parameters needed!) - โ 6-stage workflow with quality checks
- โ 3 Human feedback checkpoints at critical stages
- โ Interactive hypothesis generation
- โ Custom code generation
- โ Comprehensive documentation
- โ Multiple output formats (HTML, PDF, Markdown, DOCX)
Workflow Stages:
- Data Quality Assessment โ โ ๏ธ [human checkpoint #1] - Confirm data quality
- Exploratory Analysis - Statistical summaries, patterns, trends
- Hypothesis Generation โ โ ๏ธ [human checkpoint #2] - Review research directions
- Visualization โ โ ๏ธ [human checkpoint #3] - Approve visualization strategy
- Code Generation - Reproducible analysis pipeline
- Report Generation - Comprehensive final report
Output Directory:
complete_analysis/
โโโ data_quality_report/ # Stage 1 output
โโโ exploratory_analysis/ # Stage 2 output
โโโ hypothesis_reports/ # Stage 3 output
โโโ visualizations/ # Stage 4 output
โโโ generated_code/ # Stage 5 output
โโโ final_report/ # Stage 6 output
โโโ workflow_log/ # Execution logs
Execution Time: 10-30 minutes (depends on data size)
Comparison Summary
| Feature | /do-more | /do-all |
|---------|-----------|-----------|
| Data Source | Auto-scans data_storage/ | Reads from data_storage/ |
| Parameters | None required | None |
| Human Feedback | No | Yes (3 checkpoints) |
| Execution Time | 2-5 minutes | 10-30 minutes |
| Skills Used | 7+ auto-selected | Complete workflow (no skills) |
| Output Format | HTML report | Multi-format (HTML/PDF/MD/DOCX) |
| Code Generation | No | Yes (complete pipeline) |
| Analysis Stages | Integrated execution | 6 separate stages |
| Interactive | No | Yes (at checkpoints) |
| Report Detail | Comprehensive | Extensive + technical |
| Best For | Quick insights | Thorough analysis |
| Customization | Automatic | Interactive |
Specialized Analysis Skills
12 domain-specific skills for expert-level analysis:
Customer Analysis:
rfm-customer-segmentation- Customer value segmentationltv-predictor- Lifetime value predictionretention-analysis- Customer retention and churnuser-profiling-analysis- User behavior profiling
Marketing Analysis:
attribution-analysis-modeling- Marketing attributiongrowth-model-analyzer- Growth hacking analysisab-testing-analyzer- A/B test validationfunnel-analysis- Conversion funnels
Data Analysis:
data-exploration-visualization- Automated EDAregression-analysis-modeling- Predictive modelingcontent-analysis- Text and NLP analysisrecommender-system- Recommendation engines
Intelligent Sub-Agents
- data-explorer: Expert statistical analysis and pattern discovery
- visualization-specialist: Beautiful, insightful charts and graphs
- code-generator: Production-ready analysis code
- report-writer: Comprehensive analysis reports
- quality-assurance: Data validation and quality control
- hypothesis-generator: Research hypothesis and insights
Intuitive Slash Commands
/do-more- โญ RECOMMENDED Automatic multi-skill analysis (no parameters)/do-all- Complete interactive workflow with human feedback (no parameters)/analyze [dataset] [type]- Perform data analysis/visualize [dataset] [type]- Create visualizations/generate [language] [type]- Generate analysis code/report [dataset] [format]- Generate reports/quality [dataset] [action]- Quality assurance/hypothesis [dataset] [domain]- Generate hypotheses
Automated Workflows
- Data Validation: Automatic quality checks on data upload
- Smart Context: Project-aware analysis suggestions
- Reproducible Analysis: Complete documentation and code generation
- Beautiful Reports: HTML, Markdown, and PDF output formats
๐ Usage Examples
โญ Automatic Multi-Skill Analysis
# Easiest way - no parameters needed! /do-more # Output (2-5 minutes): # do_more_analysis/integrated_results/ # โโโ Comprehensive_Analysis_Report.html
Interactive Complete Analysis
# For thorough analysis with human feedback checkpoints /do-all # Includes: # โ Data Quality Assessment โ [your confirmation] # โ Exploratory Analysis # โ Hypothesis Generation โ [your approval] # โ Visualizations โ [your review] # โ Code Generation # โ Comprehensive Report
E-commerce Data Analysis
# Quick automated analysis /do-more # Or specific customer analysis /rfm-customer-segmentation olist_orders.csv /ltv-predictor order_items.csv /retention-analysis orders.csv customers.csv
User Behavior Analysis
# Complete analysis workflow /analyze user_behavior.csv exploratory /visualize user_behavior.csv trends /quality user_behavior.csv clean /report user_behavior.csv complete html /generate python user-segmentation
Sales Data Analysis
# Sales performance analysis /analyze sales_data.csv statistical /visualize sales_data.csv trends /generate sql revenue-analysis /report sales_data.csv executive pdf
Customer Analytics
# Customer segmentation /analyze customer_data.csv predictive /visualize customer_data.csv distribution /generate r clustering-analysis /hypothesis customer_data churn-prediction
๐ ๏ธ Project Structure
claude-data-analysis/
โโโ .claude/
โ โโโ agents/ # Sub-agent configurations
โ โโโ commands/ # Slash command definitions
โ โ โโโ do-more.md # โญ NEW! Automatic multi-skill analysis
โ โโโ hooks/ # Automation scripts
โ โโโ settings.json # Claude Code settings
โ โโโ skills/ # โญ 12 Specialized analysis skills
โ โโโ rfm-customer-segmentation/
โ โโโ ltv-predictor/
โ โโโ retention-analysis/
โ โโโ funnel-analysis/
โ โโโ growth-model-analyzer/
โ โโโ content-analysis/
โ โโโ ... (9 more skills)
โโโ data_storage/ # Your data files
โ โโโ Orders.csv
โ โโโ Customers.csv
โ โโโ ... (Olist datasets included)
โโโ do_more_analysis/ # โญ NEW! /do-more output directory
โ โโโ skill_execution/ # Individual skill results
โ โ โโโ data-exploration-visualization/
โ โ โโโ rfm-customer-segmentation/
โ โ โโโ ltv-predictor/
โ โ โโโ retention-analysis/
โ โ โโโ funnel-analysis/
โ โ โโโ growth-model-analyzer/
โ โ โโโ content-analysis/
โ โโโ integrated_results/
โ โโโ Comprehensive_Analysis_Report.html # โญ Interactive report
โโโ analysis_reports/ # Generated analysis reports
โโโ visualizations/ # Generated charts
โโโ generated_code/ # Analysis code
โโโ examples/ # Example datasets
๐จ Sample Data
The project includes Olist Brazilian E-commerce datasets in data_storage/:
- Orders.csv (99,441 records): Order information, status, timestamps
- Customers.csv (99,441 records): Customer demographics, location
- Order Items.csv: Order details, products, pricing
- Order Payments.csv: Payment methods, installments
- Products.csv: Product catalog, categories
- Reviews.csv (99,224 records): Customer reviews, ratings, comments
- Categories.csv: Product categories
- Sellers.csv: Seller information
- Geolocation.csv: Geographic data
Sample Workflow:
# 1. Data already in data_storage/ # 2. Run automatic analysis /do-more # 3. View results # Open: do_more_analysis/integrated_results/Comprehensive_Analysis_Report.html
๐ง Configuration
Environment Setup
The project uses Claude Code's configuration system. Key settings:
- Hooks: Automated validation and context loading
- Sub-agents: Specialized AI assistants for different tasks
- Commands: Custom slash commands for common operations
Requirements
- Python 3.8+ for data analysis
- Claude Code with sub-agents enabled
- Data files in CSV, JSON, or Excel format
๐ Getting Started Guide
For New Users
- Place your data in
data_storage/ - **Run exploratory a
Pros
- Intuitive slash commands for easy use.
- Automated multi-skill analysis saves time.
- Comprehensive reporting in multiple formats.
Cons
- Requires data to be in specific formats.
- May need human oversight for complex analyses.
- Dependency on Claude Code framework.
Related Skills
spark-engineer
AโThis skill is like a Swiss Army knife for big dataโjust don't expect it to cut through all the noise.โ
exa-search
AโPowerful, but the setup might scare off the impatient.โ
Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.
Copyright belongs to the original author liangdabiao.
