← Back to Skills Marketplace
Excel数据求和工具
by
liujialin1517-source
· GitHub ↗
· v1.0.0
· MIT-0
587
Downloads
0
Stars
4
Active Installs
1
Versions
Install in OpenClaw
/install excel-sum
Description
计算 Excel 文件第一列数值的总和。当用户请求对 Excel 文件进行求和、统计第一列总和或类似操作时使用此技能。
README (SKILL.md)
\r \r
Excel 第一列求和技能\r
\r
技能概述\r
\r 此技能用于读取 Excel 文件(.xlsx, .xls)并计算第一列所有数值的总和。\r \r
使用场景\r
\r 当用户请求以下操作时使用此技能:\r
- "Excel 求和"\r
- "计算 Excel 第一列总和"\r
- "统计 Excel 第一列"\r
- "Excel 第一列加起来是多少"\r \r
使用方法\r
\r
步骤 1:获取 Excel 文件路径\r
\r
- 询问用户 Excel 文件的完整路径\r
- 如果用户没有提供文件路径,提示用户选择或输入文件路径\r \r
步骤 2:执行求和脚本\r
\r
运行 scripts/sum_first_column.py 脚本:\r
\r
python scripts/sum_first_column.py \x3Cexcel文件路径>\r
```\r
\r
### 步骤 3:返回结果\r
\r
将计算结果以友好格式展示给用户,包括:\r
- 总和值\r
- 求和的单元格数量\r
- 是否有非数值被跳过\r
\r
## 脚本说明\r
\r
- `scripts/sum_first_column.py`: Python 脚本,使用 openpyxl 读取 Excel 文件并计算第一列总和\r
\r
## 依赖\r
\r
- Python 3.x\r
- openpyxl 库(用于读取 Excel 文件)\r
\r
如需安装依赖:\r
```bash\r
pip install openpyxl\r
```\r
Usage Guidance
这个技能会要求你提供本地 Excel 文件的完整路径并在本地运行一个 Python 脚本(使用 openpyxl)来计算第一列的总和:
- 如果你信任运行此技能的环境(代理/主机),它看起来安全且与描述一致。
- 确保系统上安装 Python 和 openpyxl(pip install openpyxl)。
- 注意不要指向包含敏感内容或系统文件的路径;脚本会尝试打开你提供的任何路径。
- 如果有合规或隔离要求,可先在受限环境/沙箱中运行或手动审阅 scripts/sum_first_column.py 源码(文件很短且易于理解)。
Capability Analysis
Type: OpenClaw Skill
Name: excel-sum
Version: 1.0.0
The skill bundle is a legitimate utility designed to sum the first column of an Excel file. The Python script `scripts/sum_first_column.py` uses the standard `openpyxl` library for file processing and contains no evidence of data exfiltration, network activity, or malicious execution. All instructions in `SKILL.md` and metadata in `skill.json` are consistent with the stated functionality.
Capability Assessment
Purpose & Capability
技能名、描述、SKILL.md、skill.json 的输入/输出 与 scripts/sum_first_column.py 的行为一致。所需依赖(Python、openpyxl)与处理 Excel 文件的目的相符。
Instruction Scope
运行步骤限定为:向用户询问文件路径、在本地执行脚本、返回总和/计数/跳过数。没有指示读取额外系统配置、环境变量或将数据发送到外部端点。唯一的文件访问是用户指定的本地文件路径,符合该功能需要。
Install Mechanism
无安装规范(instruction-only),不会从不受信任的 URL 下载或在安装时写入磁盘。skill.json 列出 openpyxl 要求,但仅作为运行时依赖提示;这与脚本用途匹配。
Credentials
未请求任何环境变量、凭据或配置路径。脚本只访问用户提供的本地文件路径,没有不相称的权限或多余的凭据要求。
Persistence & Privilege
默认权限(always: false),可由用户调用且允许模型自主调用(平台默认)。技能不请求修改其它技能或系统范围配置,也不要求长期驻留。
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install excel-sum - After installation, invoke the skill by name or use
/excel-sum - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release with core functionality:
- Calculates the sum of all numeric values in the first column of Excel files (.xlsx, .xls).
- Guides users to provide an Excel file path and runs a Python script to perform the calculation.
- Returns the sum, count of summed cells, and notes skipped non-numeric cells.
- Requires Python 3.x and the openpyxl library.
Metadata
Frequently Asked Questions
What is Excel数据求和工具?
计算 Excel 文件第一列数值的总和。当用户请求对 Excel 文件进行求和、统计第一列总和或类似操作时使用此技能。 It is an AI Agent Skill for Claude Code / OpenClaw, with 587 downloads so far.
How do I install Excel数据求和工具?
Run "/install excel-sum" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Excel数据求和工具 free?
Yes, Excel数据求和工具 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Excel数据求和工具 support?
Excel数据求和工具 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Excel数据求和工具?
It is built and maintained by liujialin1517-source (@liujialin1517-source); the current version is v1.0.0.
More Skills