Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/zzycxz-data-analysis
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: spreadsheets, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/data-analysis
What's inside
- Skill name
data-analysis- Description
- 数据分析与可视化 (Use when: 需要处理 CSV/Excel 数据、生成图表、统计分析). NOT for: 非数据文件、GUI 操作.
- License
- MIT
- Instructions
- 88 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: contains an absolute path from the author's machine
Files (1)
- SKILL.md
SKILL.md (first lines)
# Data Analysis — 数据分析与可视化
通过 `python_interpreter` 工具,使用 pandas/matplotlib 完成数据处理和图表生成。
## 常用场景
- 读取 CSV/Excel 并统计汇总
- 数据清洗与缺失值处理
- 生成折线图、柱状图、散点图
- 透视表与分组聚合
- 数据导出为新 Excel/CSV
## 读取与基础分析
```python
import pandas as pd
# 读取文件
df = pd.read_csv(r"C:\path\to\data.csv", encoding="utf-8")
# 或 Excel: df = pd.read_excel(r"C:\path\to\data.xlsx", sheet_name="Sheet1")
print(f"数据形状: {df.shape}")
print(df.head())
print(df.describe())
print(df.isnull().sum())
```
## 数据清洗
```python
# 删除重复行
df = df.drop_duplicates()
# 填充缺失值
df["column"].fillna(df["column"].mean(), inplace=True)
# 类型转换
df["date"] = pd.to_datetime(df["date"])
df["amount"] = pd.to_numeric(df["amount"], errors="coerce")
```
## 生成图表
```python
import matplotlib
matplotlib.use("Agg") # 非交互模式,必须在 import pyplot 之前
import matplotlib.pyplot as plt
fig, ax = plt.subplots(figsize=(10, 6))
df.groupby("category")["amount"].sum().plot(kind="bar", ax=ax)
ax.set_title("各类别销售额汇总")
ax.set_xlabel("类别")
ax.set_ylabel("金额")
plt.tight_layout()
output_path = r"C:\Users\user\Desktop\chart.png"
plt.savefig(output_path, dpi=150, bbox_inches="tight")
print(f"[RESULT_PATH: {output_path}]") # 供 Rooster 识别产出文件
plt.close()
```
## 透视表与分组
```python
# 透视表
pivot = df.pivot_table(
values="amount",
index="region",
columns="product",
aggfunc="sum",
fill_value=0
)
print(pivot)
# 导出结果
output_excel = r"C:\Users\user\Desktop\pivot_result.xlsx"
pivot.to_excel(output_excel)
print(f"[RESULT_PATH: {output_excel}]")
```
## 注意事项
1. 始终使用 `matplotlib.use("Agg")` 避免无界面环境报错
2. 文件路径使用原始字符串 `r"..."` 或正斜杠
3. 中文显示需设置字体:`plt.rcParams["font.sans-serif"] = ["SimHei"]`
4. 大文件(>10 万行)使用 `chunksize` 分块读取From zzycxz/rooster, MIT.
More from zzycxz/rooster
- 0.538score
office-documents
zzycxz
Office 文档处理,包括 Word/Excel/PDF/PPT (Use when: 生成报告、处理表格数据、读取或合并 PDF、制作幻灯片).
SkillCFreshness: C★ 9Claude Code +9 - 0.538score
self-improving
zzycxz
Capture learnings, errors, and corrections from conversations for continuous self-improvement.
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
coding-agent
zzycxz
自主编程与代码开发 (Use when: 需要编写/修改/调试代码、创建项目、重构).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
dev-tools
zzycxz
开发辅助工具集 (Use when: 需要代码格式化/依赖管理/环境检测/进程管理/端口扫描).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
github
zzycxz
GitHub 仓库操作与协作 (Use when: 需要 PR/Issue/Release 操作、CI 查询、仓库管理).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
pdf-tools
zzycxz
PDF 文件处理 (Use when: 需要读取/合并/分割/转换 PDF,或从 PDF 提取文字/表格).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
summarize
zzycxz
智能内容摘要与总结 (Use when: 需要总结长文档、提取要点、生成摘要).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
browser-automation
zzycxz
浏览器自动化操作 (Use when: 需要交互式浏览网页、填写表单、点击按钮、翻页抓取动态内容).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
visual-control
zzycxz
视觉打标与精确点击控制 (Use when: 需要与 Windows GUI 应用交互、定位并点击按钮、输入框、链接等界面元素).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
web-search
zzycxz
网页搜索与资料调研 (Use when: 需要查找外部实时信息、技术文档、最新新闻等).
SkillCFreshness: C★ 9Claude Code +9 - 0.533score
git-ops
zzycxz
Git 版本控制操作 (Use when: 需要 clone/commit/push/diff/log 等 git 操作).
SkillCFreshness: C★ 9Claude Code +9 - 0.529score
resource-downloader
zzycxz
智能多媒体与通用软件安全自愈下载技能。并发种子搜索评分并唤起迅雷物理下载,或安全搜索官方直链下载。
SkillCFreshness: C★ 9Claude Code +9
Signals
- Stars
- 9
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 9, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/zzycxz/rooster
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from zzycxz
- 0.538score
self-improving
zzycxz
Capture learnings, errors, and corrections from conversations for continuous self-improvement.
SkillCFreshness: C★ 9Claude Code +9 - 0.538score
office-documents
zzycxz
Office 文档处理,包括 Word/Excel/PDF/PPT (Use when: 生成报告、处理表格数据、读取或合并 PDF、制作幻灯片).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
coding-agent
zzycxz
自主编程与代码开发 (Use when: 需要编写/修改/调试代码、创建项目、重构).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
browser-automation
zzycxz
浏览器自动化操作 (Use when: 需要交互式浏览网页、填写表单、点击按钮、翻页抓取动态内容).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
github
zzycxz
GitHub 仓库操作与协作 (Use when: 需要 PR/Issue/Release 操作、CI 查询、仓库管理).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
dev-tools
zzycxz
开发辅助工具集 (Use when: 需要代码格式化/依赖管理/环境检测/进程管理/端口扫描).
SkillCFreshness: C★ 9Claude Code +9
Cite this page
data-analysis skill. Agent Mart. https://agentmart.dev/skills/zzycxz-data-analysis (last updated 2026-10-24)