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/rootkiller6788-excel
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
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 and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/excel
What's inside
- Skill name
Excel工具- Description
- 读取、创建、修改和验证 XLSX,支持模板保留、公式重算和错误检查。
- License
- MIT
- Instructions
- 65 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "Excel工具" does not match folder "xlsx"
Files (4)
- LICENSE.txt
- SKILL.md
- read_rows.py · scripts/
- recalc.py · scripts/
SKILL.md (first lines)
# Excel 工具
## 原则
- 输入表格只读,输出写入 `PROJECT_ROOT`。
- 普通结果汇总优先 CSV。
- 题目指定 XLSX、需保留公式、多工作表或模板结构时才使用 XLSX。
- 不覆盖题目原始附件和 Skill 文件。
## 读取与写入
```python
import pandas as pd
# 第一行就是数据时必须显式使用 header=None。
data = pd.read_excel("data/input.xlsx", sheet_name=0, header=None)
assert len(data) == 7470, f"行数异常: {len(data)}"
result = pd.DataFrame({"方案": names, "目标值": values})
result.to_excel("results/结果.xlsx", index=False)
```
禁止依赖 `pandas.read_excel()` 默认的 `header=0` 猜测表头,否则第一行数据会被当成列名。未知表头结构或必须精确保留行时使用无隐式推断的读取工具:
```python
from scripts.read_rows import read_excel_rows
rows = read_excel_rows(
"data/input.xlsx",
header=False,
expected_rows=7470,
)
assert rows[0][0] == 399.6747
```
读取后必须核对首行、末行、原始工作表有效行数和题目声明的记录数;行数不符时立即报错,不得静默继续建模。
使用模板时用 `openpyxl.load_workbook()` 打开,写入指定单元格后另存新文件。不要删除未知工作表、命名区域、公式或验证规则。
## 公式重算
`openpyxl` 不计算公式。修改含公式的工作簿后使用 LibreOffice 隔离重算:
```powershell
python scripts/recalc.py "<PROJECT_ROOT>/results/结果.xlsx" 60
```
工具会:
1. 使用唯一临时 LibreOffice 配置;
2. 把重算结果写入临时目录;
3. 检查常见 Excel 错误;
4. 仅在成功后原子替换目标文件;
5. 超时、失败或未生成输出时保留原文件。
DOCX 与 XLSX 共用的 OOXML/LibreOffice 基础代码位于 `../docx/scripts/office/`,本工具不再维护重复副本。
## 检查
- 公式引用和范围正确。
- 工作表名、列名、数据类型和单位正确。
- 已显式声明是否有表头,首行、末行和预期数据行数均已核对。
- 无 `#VALUE!`、`#DIV/0!`、`#REF!`、`#NAME?`、`#NULL!`、`#NUM!`、`#N/A`。
- 结果与代码终端输出和论文表格一致。From rootkiller6788/mathmodel-skill, MIT.
More from rootkiller6788/mathmodel-skill
- 0.632score
mathmodel-skill
rootkiller6788
CUMCM 国赛、MCM/ICM 美赛与电工杯数学建模竞赛的端到端协作工作流,以及一般数学建模项目。Use when a user works on a modeling competition (cumcm/mcm/icm/diangong/国赛/美赛/电工杯) or asks to run/review a…
SkillBFreshness: B★ 63Claude Code +9 - 0.624score
科研可视化工具
rootkiller6788
从数据剖析到出版级成图的完整可视化工具。先做数据剖析(列类型/样本量/分布/异常值/分组结构/相关性), 再结合论证目标推荐图型,主动拦截科研画图经典错误,产出 Nature / Science / IEEE / Elsevier / PNAS / 中文核心期刊级别的成图。覆盖数据…
SkillBFreshness: B★ 63Claude Code +9 - 0.619score
论文手
rootkiller6788
根据题目、建模分析和真实代码结果生成完整 Word 数学建模论文,用户显式要求时同时生成 LaTeX 论文。
SkillBFreshness: B★ 63Claude Code +9 - 0.619score
编程手
rootkiller6788
数学建模的 Python 或 MATLAB 实现、运行、表格输出、可视化和复现阶段。
SkillBFreshness: B★ 63Claude Code +9 - 0.619score
建模手
rootkiller6788
数学建模的题目理解、模型选择和算法设计阶段。输出题目分析报告与术语表格。
SkillBFreshness: B★ 63Claude Code +9 - 0.618score
DOCX工具
rootkiller6788
创建、编辑、校验和转换 Word DOCX,支持把完整 LaTeX 论文转换为 DOCX,以及数学建模论文模板、原生公式、三线表、修订和批注。
SkillBFreshness: B★ 63Claude Code +9 - 0.618score
LaTeX工具
rootkiller6788
从官方或内置模板创建、编译和校验数学建模 LaTeX 论文项目,并可配合 DOCX 工具把完整 LaTeX 论文转换为 Word。
SkillBFreshness: B★ 63Claude Code +9 - 0.615score
双引擎论文搜索
rootkiller6788
使用 OpenAlex 与 AnySearch 两个真实数据源并行搜索、交叉匹配和输出可追溯论文元数据。
SkillBFreshness: B★ 63Claude Code +9 - 0.602score
pdf
rootkiller6788
Use this skill whenever the user wants to do anything with PDF files.
SkillBFreshness: B★ 63Claude Code +9
Signals
- Stars
- 63
- Forks
- 4
- Open issues
- 0
- Last commit (this folder)
- Sep 1, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from rootkiller6788
- 0.632score
mathmodel-skill
rootkiller6788
CUMCM 国赛、MCM/ICM 美赛与电工杯数学建模竞赛的端到端协作工作流,以及一般数学建模项目。Use when a user works on a modeling competition (cumcm/mcm/icm/diangong/国赛/美赛/电工杯) or asks to run/review a…
SkillBFreshness: B★ 63Claude Code +9 - 0.624score
科研可视化工具
rootkiller6788
从数据剖析到出版级成图的完整可视化工具。先做数据剖析(列类型/样本量/分布/异常值/分组结构/相关性), 再结合论证目标推荐图型,主动拦截科研画图经典错误,产出 Nature / Science / IEEE / Elsevier / PNAS / 中文核心期刊级别的成图。覆盖数据…
SkillBFreshness: B★ 63Claude Code +9 - 0.619score
论文手
rootkiller6788
根据题目、建模分析和真实代码结果生成完整 Word 数学建模论文,用户显式要求时同时生成 LaTeX 论文。
SkillBFreshness: B★ 63Claude Code +9 - 0.619score
编程手
rootkiller6788
数学建模的 Python 或 MATLAB 实现、运行、表格输出、可视化和复现阶段。
SkillBFreshness: B★ 63Claude Code +9 - 0.619score
建模手
rootkiller6788
数学建模的题目理解、模型选择和算法设计阶段。输出题目分析报告与术语表格。
SkillBFreshness: B★ 63Claude Code +9 - 0.618score
DOCX工具
rootkiller6788
创建、编辑、校验和转换 Word DOCX,支持把完整 LaTeX 论文转换为 DOCX,以及数学建模论文模板、原生公式、三线表、修订和批注。
SkillBFreshness: B★ 63Claude Code +9
Cite this page
Excel工具 skill. Agent Mart. https://agentmart.dev/skills/rootkiller6788-excel (last updated 2026-10-24)