用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/datagallery-ai/dataagent --skill data-analysis命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | data-analysis |
| description | Answer data questions from quick metric lookups to full investigations and stakeholder-ready reports. |
| version | 1.0.0 |
| tags | ["data","analysis","sql","report","数据分析","查数","指标"] |
| allowed-tools | ["list_data_sources","inspect_schema","preview_table","run_sql_readonly","retrieve_knowledge","read_file","write_file","list_files"] |
| denied-tools | [] |
| user-invocable | true |
Use this skill for natural-language data questions, including metric lookups, trend investigations, segment comparisons, anomaly checks, quality reviews, and short reports.
Chinese search aliases: 数据分析, 查数, 指标查询, 报表, SQL 分析, 趋势分析, 维度, 度量, 异常检查, 数据质量.
This workflow is adapted for this workbench from public data-analysis skill patterns:
retrieve_knowledge first for definitions,
prior findings, or document-backed facts before guessing or writing SQL.Classify the task:
Identify the needed datasource, tables, metrics, dimensions, filters, time range, and output format. If a required business definition is missing, state the assumption or ask only when guessing would materially change the answer.
Always inspect the relevant datasource before writing SQL unless a valid schema token is already available in the current run.
Use progressive disclosure:
preview_table sparingly to understand shape, examples, nulls, or category values.Do not dump broad schemas into the answer. Keep schema exploration focused on the user's task.
Write precise SELECT or WITH SQL through run_sql_readonly.
Use exact inspected table and column names. If a query fails, inspect the schema or simplify the query before retrying. Do not guess alternate names blindly.
For multi-step analysis, break the problem into focused sub-questions. Prefer a small number of high-signal queries over many speculative queries.
Before presenting conclusions, perform checks appropriate to the task:
If validation raises concerns, investigate when possible and surface the caveat.
For quick answers:
For full analyses:
For reports: