Install
$ agentstack add skill-shanggqm-data-insight-agent-prp ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
data-analysis skills
我需要在.claude/skills/目录下创建一个数据分析的 skills 这个 skill 要定义一套数据分析的上下文工程范式、SOP 和约束,来解决下面的问题:
随着数据分析越来越深入,随即又发现了很多其它问题:
1. 模型并不知道我的数据库结构,每次都要使用list_tables方法去列举,效率低下
2. 数据库的时间字段都是UTC字段,和北京时间相差8个小时,每次都要换算
3. 每次需要让模型通过CodeAct的方式来分析查询结果,需要读取原始查询结果文件,但模型对于这个文件的结构并不了解,读取完整文件又会卡死
4. 我希望每次分析完成后都要在固定的目录下按照规范输出确定性的文件(原始数据、计算结果数据、分析报告.md、分析报告可视化.html)
5. 模型输出的分析报告,每次结构都不一样,这是模型多样性和泛化能力的一种体现,但我需要的是在确定性框架下的泛化性
6. 模型可视化报告的风格样式,我需要模型每次都能固定
7. 模型的分析视角总是简单的聚合、统计,只能分析到一些浅层的规律,抓不住数据背后的
8. 还有很多...
同时需要用到一些数据库查询的 mcp server 工具,清单如下:
- mysql-mcp-server
- query
- xxxx-mcp-server
- xxxx
针对 mysql-mcp-server 的查询,你需要遵循下面的最佳实践
这个 Skill 的操作流程是:
- 基于用户的问题的理解,尝试从 skill 中的数据库 schema 文件中找到对应的表结构,避免无效探索。如果没有 schema 文件,可以先通过对应的查询工具获取到数据库的 schema,并更新到该文件中。
- 基于对要分析的主题进行分析视角、维度、交叉关联分析深度的分析方案扩展。搞清楚要查哪些表,查哪些数据
- 调用 mcp-server 完成数据查询的动作,保持高效,准确,可靠。 除非遇到查询超时,数据量太大,才会分拆查询
- 基于查询到的结果样本,和缓存在 mcp-server 源码目录下的完整的数据文件,编写 node.js 代码来完成数据统计和分析的任务。以得到报告所需要的分析计算结果数据
- 基于特定的文字版报告模板和内容框架,结合第二步的扩展分析方案,得到一份内容详实,数据计算准确可靠且置信的 markdown 报告
- 基于 skills 中定义的 html 可视化图表报告,结合文字版的报告内容,生成一份样式风格稳定,结构内容自适应分析报告的 html 可视化报告
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: shanggqm
- Source: shanggqm/data-insight-agent
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.