analyze — скилл для Claude Code: что делает и как установить
Скилл разбирает аналитические вопросы, выгружает цифры через MCP-сервер хранилища или из CSV и готовит сводки от одной метрики до отчёта для стейкхолдеров.
npx skills add anthropics/knowledge-work-plugins --skill analyze -a claude-codeЧто делает analyze
Скилл делит задачу на три уровня: быстрый поиск одной метрики, детальный поиск причин в трендах или официальный отчёт с методологией и выводами. Сначала агент определяет нужные таблицы и временной диапазон. Если к среде подключён MCP-сервер базы данных, он сам изучает схему, составляет SQL-запросы, выполняет их и проверяет ошибки диалекта.
Перед выводом результатов скилл обязательно прогоняет базовую проверку. Он ищет пустые значения null, сверяет аномалии в масштабе чисел, смотрит на непрерывность временных рядов и проверяет суммы. При необходимости визуализации подключается Python-код или HTML-дашборд.
Без подключённого MCP-сервера хранилища данных автоматической выгрузки не выйдет. Придётся вручную загружать CSV, таблицу Excel или вставлять готовую выгрузку запроса в диалог.
Какие задачи решает
- выяснить причину падения конверсии или изменения метрик
- проверить таблицу базы данных на пропуски и аномалии
- посчитать приток пользователей за выбранный период
- собрать отчёт с выводами и графиками для руководства
Примеры запросов агенту
- /analyze Сколько новых пользователей зарегистрировалось в декабре?
- /analyze В чём причина роста числа тикетов техподдержки за последние 3 месяца? Разбей по категориям.
- /analyze Проверь качество данных в таблице клиентов: полноту, согласованность и пропуски.
Как установить analyze
1Через Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill analyze -a claude-code2Вручную: положить файлы
~/.claude/skills/analyze/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/analyze/
1Через Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill analyze -a codex2Вручную: положить файлы
.agents/skills/analyze/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill analyze -a cursor2Вручную: положить файлы
.cursor/skills/analyze/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install anthropics/knowledge-work-plugins analyze2Вручную: положить файлы
.github/skills/analyze/SKILL.md1Через Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill analyze -a gemini-cli2Командой платформы
gemini skills install https://github.com/anthropics/knowledge-work-plugins --path data/skills/analyzeВручную: положить файлы
.devin/skills/analyze/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill analyze -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора89
Весь набор →Похожие
Вопросы о analyze
Как установить analyze в Claude Code?
Выполните команду npx skills add anthropics/knowledge-work-plugins --skill analyze -a claude-code.
Что делает скилл analyze?
Он принимает вопросы к данным на человеческом языке, пишет SQL-запросы, валидирует выгрузку и формирует ответ в виде числа, таблицы или отчёта.
Что делать, если MCP-сервер базы данных не подключён?
Скилл попросит загрузить CSV или Excel-файл, вставить результаты выборки текстом или предоставить схему таблицы для ручного запуска SQL-запроса.
Исходный текст
SKILL.md · Apache-2.0
--- name: analyze description: Answer data questions -- from quick lookups to full analyses. Use when looking up a single metric, investigating what's driving a trend or drop, comparing segments over time, or preparing a formal data report for stakeholders. argument-hint: "<question>" --- # /analyze - Answer Data Questions > If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](../../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:** 1. Explore the schema to find relevant tables and columns 2. Write SQL query(ies) to extract the needed data 3. Execute the query and retrieve results 4. If the query fails, debug and retry (check column names, table references, syntax for the specific dialect) 5. If results look unexpected, run sanity checks before proceeding **If no data warehouse is connected:** 1. 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 2. If writing queries for manual execution, use the `sql-queries` skill for dialect-specific best practices 3. 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-visualization` skill 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
© anthropics · Apache-2.0 · anthropics/knowledge-work-plugins