用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Zafer-Liu/Data-Analysis-Agent --skill sql命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | sql |
| description | 使用 SQL 安全查询当前已选择的数据表(query 数据查询) |
| icon | 🗄️ |
| allowedTools | ["get_schema","get_table_detail","query_data"] |
先读取已授权分析表的 schema,确认真实表名与字段名,再编写只读 SQL。优先聚合并限制返回行数,不猜测字段;SQL 数据源只能查询用户已选择的分析表。解释查询口径并总结结果。
get_schema before writing SQL to confirm real table and field names.get_table_detail when a specific table needs deeper metadata.query_data for read-only SQL. Prefer aggregate queries and explicit LIMIT for previews.agent/tools/business/data.py::_tool_get_schema, agent/tools/business/data.py::_tool_get_table_detail, agent/tools/business/data.py::_tool_query_dataagent/validate.py