
Data Analysis
OfficialFreeEfficiently answer data questions with comprehensive analysis.
Free · Opens the source repo
What Data Analysis does
The Analyze skill is designed to assist users in answering a wide range of data-related questions, from simple metrics to in-depth analyses. This tool is particularly useful for data analysts, business intelligence professionals, and anyone needing to derive insights from data quickly. By leveraging natural language queries, users can specify their data questions, and the skill will determine the necessary complexity level, whether it’s a quick lookup, a full analysis, or a formal report.
When a user submits a question, the skill first parses the inquiry to understand its complexity. For quick answers, it can handle straightforward metrics like user sign-ups or sales figures. For more complex queries, such as identifying trends or comparing data segments, the skill can perform multi-dimensional analyses. In cases where formal reporting is required, it can generate comprehensive reports that include methodologies and recommendations, making it suitable for stakeholders who need detailed insights.
The Analyze skill connects to a data warehouse if available, allowing it to explore schemas, write SQL queries, and retrieve data efficiently. If no connection exists, it can accept data through various means such as CSV uploads or manual descriptions, ensuring flexibility in how data is provided. After gathering the necessary data, the skill performs calculations, identifies trends, and validates results to ensure accuracy before presenting findings. This validation process includes checks for row counts, null values, and overall data integrity, which enhances the reliability of the insights generated.
Finally, the skill supports visualization where appropriate, allowing users to present data in a more digestible format. By integrating with visualization tools, it can create charts and graphs that effectively communicate results, adhering to best practices for clarity and accuracy. Overall, the Analyze skill is an essential tool for anyone who needs to derive actionable insights from data efficiently and effectively.
When to use it
Use this skill when you need to quickly analyze data or prepare detailed reports for stakeholders.
When not to use it
This skill may not be suitable for unstructured data analysis or when deep statistical modeling is required.
What you can build with it
Quick Metric Lookup
Easily retrieve a single data point, such as the number of new users last month.
Trend Analysis
Investigate fluctuations in key metrics over time, like conversion rates or sales figures.
Formal Reporting
Generate comprehensive reports for stakeholders, detailing findings, methodologies, and recommendations.
How to install Data Analysis
View source1. Install with the skills CLI
npx skills add anthropics/knowledge-work-plugins/analyze --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by anthropics/analyze - Answer Data Questions
If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.
Answer a data question, from a quick lookup to a full analysis to a formal report.
Usage
/analyze <natural language question>
Workflow
1. Understand the Question
Parse the user's question and determine:
- Complexity level:
- Quick answer: Single metric, simple filter, factual lookup (e.g., "How many users signed up last week?")
- Full analysis: Multi-dimensional exploration, trend analysis, comparison (e.g., "What's driving the drop in conversion rate?")
- Formal report: Comprehensive investigation with methodology, caveats, and recommendations (e.g., "Prepare a quarterly business review of our subscription metrics")
- Data requirements: Which tables, metrics, dimensions, and time ranges are needed
- Output format: Number, table, chart, narrative, or combination
2. Gather Data
If a data warehouse MCP server is connected:
- Explore the schema to find relevant tables and columns
- Write SQL query(ies) to extract the needed data
- Execute the query and retrieve results
- If the query fails, debug and retry (check column names, table references, syntax for the specific dialect)
- If results look unexpected, run sanity checks before proceeding
If no data warehouse is connected:
- Ask the user to provide data in one of these ways:
- Paste query results directly
- Upload a CSV or Excel file
- Describe the schema so you can write queries for them to run
- If writing queries for manual execution, use the
sql-queriesskill for dialect-specific best practices - Once data is provided, proceed with analysis
3. Analyze
- Calculate relevant metrics, aggregations, and comparisons
- Identify patterns, trends, outliers, and anomalies
- Compare across dimensions (time periods, segments, categories)
- For complex analyses, break the problem into sub-questions and address each
4. Validate Before Presenting
Before sharing results, run through validation checks:
- Row count sanity: Does the number of records make sense?
- Null check: Are there unexpected nulls that could skew results?
- Magnitude check: Are the numbers in a reasonable range?
- Trend continuity: Do time series have unexpected gaps?
- Aggregation logic: Do subtotals sum to totals correctly?
If any check raises concerns, investigate and note caveats.
5. Present Findings
For quick answers:
- State the answer directly with relevant context
- Include the query used (collapsed or in a code block) for reproducibility
For full analyses:
- Lead with the key finding or insight
- Support with data tables and/or visualizations
- Note methodology and any caveats
- Suggest follow-up questions
For formal reports:
- Executive summary with key takeaways
- Methodology section explaining approach and data sources
- Detailed findings with supporting evidence
- Caveats, limitations, and data quality notes
- Recommendations and suggested next steps
6. Visualize Where Helpful
When a chart would communicate results more effectively than a table:
- Use the
data-visualizationskill to select the right chart type - Generate a Python visualization or build it into an HTML dashboard
- Follow visualization best practices for clarity and accuracy
Examples
Quick answer:
/analyze How many new users signed up in December?
Full analysis:
/analyze What's causing the increase in support ticket volume over the past 3 months? Break down by category and priority.
Formal report:
/analyze Prepare a data quality assessment of our customer table -- completeness, consistency, and any issues we should address.
Tips
- Be specific about time ranges, segments, or metrics when possible
- If you know the table names, mention them to speed up the process
- For complex questions, Claude may break them into multiple queries
- Results are always validated before presentation -- if something looks off, Claude will flag it
Frequently asked questions about Data Analysis
Similar skills
Power BI Semantic Modeling
Optimize your Power BI data models with best practices.
Data Context Extractor
Tailor data analysis skills to your company's needs.
Power BI Performance Troubleshooting
Systematic guidance for optimizing Power BI performance.
Power BI Model Design Review
Optimize your Power BI data models with expert reviews.
Power BI DAX Formula Optimizer
Optimize your DAX formulas for better performance and clarity.
Fabric Lakehouse
Optimize your data solutions with Lakehouse best practices.
