← 返回 Skills 市场
Xlsx Anthropic
作者
pupuking723
· GitHub ↗
· v1.0.0
· MIT-0
337
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install xlsx-anthropic
功能描述
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing...
安全使用建议
This skill appears to implement spreadsheet unpack/pack/validation workflows and includes code to support LibreOffice-based formula recalculation, but it does several things you should explicitly accept before running it: 1) it assumes 'soffice' (LibreOffice) and will attempt to compile a C shim using 'gcc' if the environment blocks AF_UNIX sockets — ensure you have or want these system tools available; 2) it writes temporary C source and a compiled shared object and uses LD_PRELOAD when launching LibreOffice — compiling native code and using LD_PRELOAD can be sensitive, so only run in a trusted or sandboxed environment; 3) the skill metadata does not declare these dependencies (incoherent documentation), and the LICENSE language is restrictive about extracting/retaining materials despite source being packaged — confirm licensing is acceptable; 4) if you need stricter guarantees, ask the publisher to (a) explicitly list required binaries (soffice, gcc), (b) document the runtime compilation and LD_PRELOAD usage, or (c) provide a configuration option to skip the shim and rely on a preinstalled LibreOffice. If you cannot verify the author or do not want native compilation/LD_PRELOAD on your host, do not install or run this skill outside a dedicated sandbox.
功能分析
Type: OpenClaw Skill
Name: xlsx-anthropic
Version: 1.0.0
The skill bundle contains highly irregular and high-risk behaviors, specifically the on-the-fly compilation of a C-based shim and the use of LD_PRELOAD to intercept system calls (socket, listen, accept) to bypass sandbox restrictions (scripts/office/soffice.py). Additionally, it performs application-level modification by writing a StarBasic macro to the user's LibreOffice configuration directory to facilitate formula recalculation (scripts/recalc.py). While these actions are functionally justified within the documentation to enable LibreOffice in restricted environments, the combination of dynamic code execution, system call shimming, and configuration persistence represents a significant attack surface and behavior typically associated with evasion or advanced persistence.
能力评估
Purpose & Capability
Name/description target spreadsheet tasks and included Python scripts (unpack/pack/validate/recalc) are consistent with that purpose. However, the SKILL metadata declares no required binaries or environment variables while SKILL.md and the packaged scripts assume system-level components (LibreOffice 'soffice' and a C compiler like gcc) are available. That mismatch (no declared binaries but real runtime dependency on LibreOffice/gcc) is disproportionate to the published requirements.
Instruction Scope
SKILL.md directs use of scripts/recalc.py (LibreOffice-based recalculation) and the repo contains multiple helpers that unpack/edit/pack Office files. Those scripts will read and write archive contents, create temporary directories/files, and invoke subprocesses. Critically, scripts/office/soffice.py writes a C source file to tmp and invokes 'gcc' to build a shared object, then uses LD_PRELOAD when launching soffice. Compiling native code and manipulating LD_PRELOAD are outside normal, harmless text-processing instructions and expand the agent's scope significantly.
Install Mechanism
There is no explicit install spec (instruction-only), which is lower risk in general, but the included code will perform on-disk operations and compile a native shim at runtime. The runtime compilation (writing C source and calling gcc) effectively installs a native binary into a temp directory. That behavior is higher-risk than pure-Python file manipulation and should have been declared.
Credentials
No environment variables or credentials are declared, but the code requires and modifies system state: it assumes LibreOffice is present, expects ability to run 'soffice' and 'gcc', writes files to the system temp directory, and sets LD_PRELOAD in subprocess envs. The LICENSE text also contains restrictive language about extracting/retaining materials which conflicts with distributing source in the skill bundle—another unexplained mismatch.
Persistence & Privilege
The skill is not forced always-on and does not request elevated platform privileges or declare persistent configuration changes. However, it will create temporary artifacts (C source and a compiled .so) and uses LD_PRELOAD for subprocess runs; while LD_PRELOAD is only set for launched soffice subprocesses in the code, runtime native compilation and environment manipulation increase blast radius if you run the skill in an environment you care about.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install xlsx-anthropic - 安装完成后,直接呼叫该 Skill 的名称或使用
/xlsx-anthropic触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the xlsx skill for spreadsheet file handling.
- Provides robust workflows for creating, editing, fixing, and analyzing .xlsx, .xlsm, .csv, and .tsv files, including support for malformed or messy tabular data.
- Enforces professional formatting, zero formula errors, and preservation of existing templates and conventions.
- Financial models follow strict color coding, formatting, and documentation standards, including cell reference usage and assumptions separation.
- Mandates use of Excel formulas (not pre-calculated Python values) for all calculations to ensure spreadsheets remain dynamic.
- Integrates pandas for data analysis and openpyxl for formulas and formatting, with clear sample code for typical operations.
- Requires post-edit formula recalculation using LibreOffice to ensure error-free deliverables; provides error checking and remediation guidelines.
元数据
常见问题
Xlsx Anthropic 是什么?
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 337 次。
如何安装 Xlsx Anthropic?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install xlsx-anthropic」即可一键安装,无需额外配置。
Xlsx Anthropic 是免费的吗?
是的,Xlsx Anthropic 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Xlsx Anthropic 支持哪些平台?
Xlsx Anthropic 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Xlsx Anthropic?
由 pupuking723(@pupuking723)开发并维护,当前版本 v1.0.0。
推荐 Skills