CSV Data Summarizer
This Skill analyzes CSV files and provides comprehensive summaries with statistical insights and visualizations.
When to Use This Skill
Claude should use this Skill whenever the user:
- Uploads or references a CSV file
- Asks to summarize, analyze, or visualize tabular data
- Requests insights from CSV data
- Wants to understand data structure and quality
How It Works
⚠️ CRITICAL BEHAVIOR REQUIREMENT ⚠️
DO NOT ASK THE USER WHAT THEY WANT TO DO WITH THE DATA.
DO NOT OFFER OPTIONS OR CHOICES.
DO NOT SAY "What would you like me to help you with?"
DO NOT LIST POSSIBLE ANALYSES.
IMMEDIATELY AND AUTOMATICALLY:
- Run the comprehensive analysis
- Generate ALL relevant visualizations
- Present complete results
- NO questions, NO options, NO waiting for user input
THE USER WANTS A FULL ANALYSIS RIGHT AWAY - JUST DO IT.
Automatic Analysis Steps:
The skill intelligently adapts to different data types and industries by inspecting the data first, then determining what analyses are most relevant.
Load and inspect the CSV file into pandas DataFrame
Identify data structure - column types, date columns, numeric columns, categories
Determine relevant analyses based on what's actually in the data:
- Sales/E-commerce data (order dates, revenue, products): Time-series trends, revenue analysis, product performance
- Customer data (demographics, segments, regions): Distribution analysis, segmentation, geographic patterns
- Financial data (transactions, amounts, dates): Trend analysis, statistical summaries, correlations
- Operational data (timestamps, metrics, status): Time-series, performance metrics, distributions
- Survey data (categorical responses, ratings): Frequency analysis, cross-tabulations, distributions
- Generic tabular data: Adapts based on column types found
Only create visualizations that make sense for the specific dataset:
- Time-series plots ONLY if date/timestamp columns exist
- Correlation heatmaps ONLY if multiple numeric columns exist
- Category distributions ONLY if categorical columns exist
- Histograms for numeric distributions when relevant
Generate comprehensive output automatically including:
- Data overview (rows, columns, types)
- Key statistics and metrics relevant to the data type
- Missing data analysis
- Multiple relevant visualizations (only those that apply)
- Actionable insights based on patterns found in THIS specific dataset
Present everything in one complete analysis - no follow-up questions
Example adaptations:
- Healthcare data with patient IDs → Focus on demographics, treatment patterns, temporal trends
- Inventory data with stock levels → Focus on quantity distributions, reorder patterns, SKU analysis
- Web analytics with timestamps → Focus on traffic patterns, conversion metrics, time-of-day analysis
- Survey responses → Focus on response distributions, demographic breakdowns, sentiment patterns
Behavior Guidelines
✅ CORRECT APPROACH - SAY THIS:
- "I'll analyze this data comprehensively right now."
- "Here's the complete analysis with visualizations:"
- "I've identified this as [type] data and generated relevant insights:"
- Then IMMEDIATELY show the full analysis
✅ DO:
- Immediately run the analysis script
- Generate ALL relevant charts automatically
- Provide complete insights without being asked
- Be thorough and complete in first response
- Act decisively without asking permission
❌ NEVER SAY THESE PHRASES:
- "What would you like to do with this data?"
- "What would you like me to help you with?"
- "Here are some common options:"
- "Let me know what you'd like help with"
- "I can create a comprehensive analysis if you'd like!"
- Any sentence ending with "?" asking for user direction
- Any list of options or choices
- Any conditional "I can do X if you want"
❌ FORBIDDEN BEHAVIORS:
- Asking what the user wants
- Listing options for the user to choose from
- Waiting for user direction before analyzing
- Providing partial analysis that requires follow-up
- Describing what you COULD do instead of DOING it
Usage
The Skill provides a Python function summarize_csv(file_path) that:
- Accepts a path to a CSV file
- Returns a comprehensive text summary with statistics
- Generates multiple visualizations automatically based on data structure
Example Prompts
"Here's sales_data.csv. Can you summarize this file?"
"Analyze this customer data CSV and show me trends."
"What insights can you find in orders.csv?"
Example Output
Dataset Overview
- 5,000 rows × 8 columns
- 3 numeric columns, 1 date column
Summary Statistics
- Average order value: $58.2
- Standard deviation: $12.4
- Missing values: 2% (100 cells)
Insights
- Sales show upward trend over time
- Peak activity in Q4
(Attached: trend plot)
Files
analyze.py - Core analysis logic
requirements.txt - Python dependencies
resources/sample.csv - Example dataset for testing
resources/README.md - Additional documentation
Notes
- Automatically detects date columns (columns containing 'date' in name)
- Handles missing data gracefully
- Generates visualizations only when date columns are present
- All numeric columns are included in statistical summary
1---2name: csv-analysis3description: Analyzes CSV files, generates summary stats, and plots quick visualizations using Python and pandas.4---56# CSV Data Summarizer78This Skill analyzes CSV files and provides comprehensive summaries with statistical insights and visualizations.910## When to Use This Skill1112Claude should use this Skill whenever the user:13- Uploads or references a CSV file14- Asks to summarize, analyze, or visualize tabular data15- Requests insights from CSV data16- Wants to understand data structure and quality1718## How It Works1920## ⚠️ CRITICAL BEHAVIOR REQUIREMENT ⚠️2122**DO NOT ASK THE USER WHAT THEY WANT TO DO WITH THE DATA.**23**DO NOT OFFER OPTIONS OR CHOICES.**24**DO NOT SAY "What would you like me to help you with?"**25**DO NOT LIST POSSIBLE ANALYSES.**2627**IMMEDIATELY AND AUTOMATICALLY:**281. Run the comprehensive analysis292. Generate ALL relevant visualizations303. Present complete results314. NO questions, NO options, NO waiting for user input3233**THE USER WANTS A FULL ANALYSIS RIGHT AWAY - JUST DO IT.**3435### Automatic Analysis Steps:3637**The skill intelligently adapts to different data types and industries by inspecting the data first, then determining what analyses are most relevant.**38391. **Load and inspect** the CSV file into pandas DataFrame402. **Identify data structure** - column types, date columns, numeric columns, categories413. **Determine relevant analyses** based on what's actually in the data:42 - **Sales/E-commerce data** (order dates, revenue, products): Time-series trends, revenue analysis, product performance43 - **Customer data** (demographics, segments, regions): Distribution analysis, segmentation, geographic patterns44 - **Financial data** (transactions, amounts, dates): Trend analysis, statistical summaries, correlations45 - **Operational data** (timestamps, metrics, status): Time-series, performance metrics, distributions46 - **Survey data** (categorical responses, ratings): Frequency analysis, cross-tabulations, distributions47 - **Generic tabular data**: Adapts based on column types found48494. **Only create visualizations that make sense** for the specific dataset:50 - Time-series plots ONLY if date/timestamp columns exist51 - Correlation heatmaps ONLY if multiple numeric columns exist52 - Category distributions ONLY if categorical columns exist53 - Histograms for numeric distributions when relevant54555. **Generate comprehensive output** automatically including:56 - Data overview (rows, columns, types)57 - Key statistics and metrics relevant to the data type58 - Missing data analysis59 - Multiple relevant visualizations (only those that apply)60 - Actionable insights based on patterns found in THIS specific dataset61626. **Present everything** in one complete analysis - no follow-up questions6364**Example adaptations:**65- Healthcare data with patient IDs → Focus on demographics, treatment patterns, temporal trends66- Inventory data with stock levels → Focus on quantity distributions, reorder patterns, SKU analysis67- Web analytics with timestamps → Focus on traffic patterns, conversion metrics, time-of-day analysis68- Survey responses → Focus on response distributions, demographic breakdowns, sentiment patterns6970### Behavior Guidelines7172✅ **CORRECT APPROACH - SAY THIS:**73- "I'll analyze this data comprehensively right now."74- "Here's the complete analysis with visualizations:"75- "I've identified this as [type] data and generated relevant insights:"76- Then IMMEDIATELY show the full analysis7778✅ **DO:**79- Immediately run the analysis script80- Generate ALL relevant charts automatically81- Provide complete insights without being asked82- Be thorough and complete in first response83- Act decisively without asking permission8485❌ **NEVER SAY THESE PHRASES:**86- "What would you like to do with this data?"87- "What would you like me to help you with?"88- "Here are some common options:"89- "Let me know what you'd like help with"90- "I can create a comprehensive analysis if you'd like!"91- Any sentence ending with "?" asking for user direction92- Any list of options or choices93- Any conditional "I can do X if you want"9495❌ **FORBIDDEN BEHAVIORS:**96- Asking what the user wants97- Listing options for the user to choose from98- Waiting for user direction before analyzing99- Providing partial analysis that requires follow-up100- Describing what you COULD do instead of DOING it101102### Usage103104The Skill provides a Python function `summarize_csv(file_path)` that:105- Accepts a path to a CSV file106- Returns a comprehensive text summary with statistics107- Generates multiple visualizations automatically based on data structure108109### Example Prompts110111> "Here's `sales_data.csv`. Can you summarize this file?"112113> "Analyze this customer data CSV and show me trends."114115> "What insights can you find in `orders.csv`?"116117### Example Output118119**Dataset Overview**120- 5,000 rows × 8 columns121- 3 numeric columns, 1 date column122123**Summary Statistics**124- Average order value: $58.2125- Standard deviation: $12.4126- Missing values: 2% (100 cells)127128**Insights**129- Sales show upward trend over time130- Peak activity in Q4131*(Attached: trend plot)*132133## Files134135- `analyze.py` - Core analysis logic136- `requirements.txt` - Python dependencies137- `resources/sample.csv` - Example dataset for testing138- `resources/README.md` - Additional documentation139140## Notes141142- Automatically detects date columns (columns containing 'date' in name)143- Handles missing data gracefully144- Generates visualizations only when date columns are present145- All numeric columns are included in statistical summary