analyze
作者: anthropic
回答數據問題——從快速查詢到完整分析。適用於查詢單一指標、調查趨勢或下降的驅動因素、進行比較……
npx skills add https://github.com/anthropics/knowledge-work-plugins --skill analyze/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
來自 anthropic 的更多技能
comps-analysis
anthropic
始終遵循此數據來源層級:
official
analyzing-financial-statements
anthropic
此技能從財務報表數據計算關鍵財務比率與指標,以進行投資分析。
official
applying-brand-guidelines
anthropic
此技能將一致的企業品牌與風格應用於所有生成的文檔,包括顏色、字體、版面設計及訊息傳遞。
official
cookbook-audit
anthropic
根據評分量表審核 Anthropic Cookbook 筆記本。每當要求進行筆記本審查或審核時使用。
official
creating-financial-models
anthropic
此技能提供一套進階財務建模工具,包含現金流折現分析、敏感度測試、蒙地卡羅模擬及情境規劃,適用於投資…
official
action-creator
anthropic
建立使用者專屬的一鍵動作模板,點擊後可在聊天介面中執行電子郵件操作。當使用者想要可重複使用的動作時使用…
official
docx
anthropic
全面的文件創建、編輯與分析,支援追蹤修訂、註解、格式保留及文字擷取。當Claude…
official
executive-briefing
anthropic
將研究發現轉化為可供高階主管使用的簡報。當使用者提及「executive」、「briefing」、「C-suite」、「board」等詞時自動啟用。
official