← 返回 Skills 市场
Xlsx Pro
作者
ricobaboule
· GitHub ↗
· v1.0.1
2078
总下载
0
收藏
4
当前安装
2
版本数
在 OpenClaw 中安装
/install xlsx-pro
功能描述
Compétence pour manipuler les fichiers Excel (.xlsx, .xlsm, .csv, .tsv). Utiliser quand l'utilisateur veut : ouvrir, lire, éditer ou créer un fichier tableur ; ajouter des colonnes, calculer des formules, formater, créer des graphiques, nettoyer des données ; convertir entre formats tabulaires. Le livrable doit être un fichier tableur. NE PAS utiliser si le livrable est un document Word, HTML, script Python standalone, ou intégration Google Sheets.
安全使用建议
This skill appears to do what it says (create/edit XLSX and optionally recalc via LibreOffice), but it performs operations with real side effects: it writes a LibreOffice macro into your user profile and may compile an LD_PRELOAD .so shim in /tmp. Before installing or running: 1) Inspect the files yourself (scripts/recalc.py, scripts/office/soffice.py and the shim C source in the repo) to verify you accept the actions. The macro content is visible in the repo (RecalculateAndSave), but writing macros modifies your LibreOffice profile. 2) Run the tool on copies of your files and not on irreplaceable data; back up templates. 3) If you are uncomfortable with compiling/running native code or installing LibreOffice macros on your account, run the skill inside an isolated environment or container. 4) Confirm you trust the unknown source/owner (no homepage provided). 5) If you approve usage but want minimal impact, consider editing recalc.py to skip macro installation and instead manually perform the LibreOffice recalculation in a controlled manner. If you want a safer install, request the author to provide an opt-in path that does not auto-write macros or compile LD_PRELOAD code.
功能分析
Type: OpenClaw Skill
Name: xlsx-pro
Version: 1.0.1
This skill is classified as suspicious due to its use of high-risk system-level capabilities, specifically the runtime compilation of C code using `gcc` and the subsequent use of `LD_PRELOAD` to inject a custom shared library (`lo_socket_shim.so`) into processes. These actions, found in `scripts/office/soffice.py`, are intended to enable LibreOffice to function in sandboxed environments by shimming AF_UNIX socket calls. While the stated purpose is functional and there is no clear evidence of malicious intent, these techniques are powerful and could be exploited if the skill's environment or the hardcoded C source were compromised, representing a significant attack surface.
能力评估
Purpose & Capability
Name/description, SKILL.md, README, and the included Python/C helper code are coherent: the skill writes Excel files with formulas and optionally recalculates them via LibreOffice. The recalc.py, soffice helper, and README all serve that declared purpose.
Instruction Scope
Runtime instructions and scripts go beyond mere file creation: they create a LibreOffice macro file under user macro dirs (~/.config/libreoffice/... or macOS Library path), invoke soffice in headless mode, and may invoke gcc to build a socket shim. These steps modify user configuration and launch external binaries; they should be considered side-effects and require user consent. The SKILL.md explicitly instructs installing system packages and running the recalc script which will write into the user's LibreOffice macro directory.
Install Mechanism
There is no remote download/install spec (no network fetches). However the soffice helper writes C source to the temp directory and attempts to compile it with gcc into an LD_PRELOAD .so shim. Compiling and LD_PRELOADing native code at runtime is uncommon for simple data-manipulation skills and increases risk surface (local compilation/execution), though it is used here to work around sandboxed AF_UNIX socket issues rather than fetching remote binaries.
Credentials
The skill does not request credentials or environment variables in metadata. It does set SAL_USE_VCLPLUGIN=svp in the subprocess env for soffice runs (documented) and uses LD_PRELOAD only for the soffice subprocess. No API keys or unrelated secrets are requested.
Persistence & Privilege
The recalc flow writes a LibreOffice macro XML into the user's LibreOffice macro directory and writes/keeps a compiled shim in the temp directory. Those files persist on disk beyond a single run and alter another application's (LibreOffice) configuration. While this is functional for the stated recalculation goal, it is a form of persistence impacting user-level configuration and should be treated with caution.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install xlsx-pro - 安装完成后,直接呼叫该 Skill 的名称或使用
/xlsx-pro触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Ajout d'une section TL;DR pour résumer l'usage de la compétence.
- Clarification de l’objectif principal : produire des fichiers Excel avec formules, pas de valeurs calculées/hardcodées en Python.
- Précisions sur le rôle du recalcul LibreOffice et la détection d’erreurs Excel.
- Reformulation et condensation de certains paragraphes pour une lecture plus rapide.
- Pas de modification des workflows, standards ou exemples de code.
v1.0.0
Initial release of xlsx-pro:
- Manipulate and create Excel files (.xlsx, .xlsm, .csv, .tsv) with strict financial modeling standards.
- Enforces formula usage (no hardcoded values), industry color codes, and professional formatting.
- Quality checklist and common pitfalls provided for error-free and accurate outputs.
- Workflow guidelines using pandas and openpyxl, including mandatory formula recalculation with LibreOffice.
- Extensive documentation of code style, verification steps, and data handling best practices.
元数据
常见问题
Xlsx Pro 是什么?
Compétence pour manipuler les fichiers Excel (.xlsx, .xlsm, .csv, .tsv). Utiliser quand l'utilisateur veut : ouvrir, lire, éditer ou créer un fichier tableur ; ajouter des colonnes, calculer des formules, formater, créer des graphiques, nettoyer des données ; convertir entre formats tabulaires. Le livrable doit être un fichier tableur. NE PAS utiliser si le livrable est un document Word, HTML, script Python standalone, ou intégration Google Sheets. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2078 次。
如何安装 Xlsx Pro?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install xlsx-pro」即可一键安装,无需额外配置。
Xlsx Pro 是免费的吗?
是的,Xlsx Pro 完全免费(开源免费),可自由下载、安装和使用。
Xlsx Pro 支持哪些平台?
Xlsx Pro 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Xlsx Pro?
由 ricobaboule(@ricobaboule)开发并维护,当前版本 v1.0.1。
推荐 Skills