← 返回 Skills 市场
lujohn74

Office Generator Py

作者 Lu Yanqiang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
549
总下载
0
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install office-generator-py
功能描述
Generate Office files with a bundled Python engine. Use when creating or exporting Word (.docx), Excel (.xlsx), or PowerPoint (.pptx) files from structured J...
安全使用建议
This skill appears to be what it says: a bundled Python engine for producing Office files from JSON. Before installing/running: 1) Inspect the contentSpec you pass — templates and JSON can reference absolute local file paths (images, sourceMaterials) which will be read and embedded; avoid referencing sensitive files. 2) Run setup_engine.py in an isolated environment (container or dedicated virtualenv) because it will pip install from PyPI. 3) If you need stronger isolation, run the generator with a dedicated Python interpreter (use OFFICE_GENERATOR_PYTHON) or inside a sandbox. 4) Review bundled templates and code if you require compliance guarantees; the package is small and readable, so a quick code review can verify there are no unexpected network calls or credential usage.
功能分析
Type: OpenClaw Skill Name: office-generator-py Version: 1.0.0 The skill bundle is a legitimate utility for generating Word, Excel, and PowerPoint documents using standard Python libraries (python-docx, openpyxl, python-pptx). The code is well-structured, utilizes Pydantic for input validation, and follows safe subprocess execution patterns by passing arguments as lists rather than shell strings. While the generators allow including local images via file paths (e.g., in docx_generator.py and pptx_generator.py), this is a standard feature for document creation and the underlying libraries would typically fail if non-image sensitive files were targeted. No evidence of data exfiltration, persistence, or malicious prompt injection was found.
能力评估
Purpose & Capability
Name/description match the bundled Python engine and templates. Requested dependencies (python-docx, python-pptx, openpyxl, pydantic) and the included scripts are coherent with document generation; nothing asks for unrelated cloud credentials or external services.
Instruction Scope
SKILL.md limits runtime actions to creating a venv, installing Python deps, and running the bundled generator with a JSON input. The runtime does read user-specified JSON input and any image paths referenced therein (absolute paths are encouraged). That is expected for this tool but means a caller could inadvertently cause the generator to read local files referenced in contentSpec (images/sourceMaterials).
Install Mechanism
No registry install spec; installation is manual via scripts/setup_engine.py which creates a local .venv and runs pip install -r requirements.txt (standard PyPI packages). This is expected but means network access to PyPI and execution of package install hooks will occur when you run setup_engine.py.
Credentials
No required environment variables or credentials are declared. An optional OFFICE_GENERATOR_PYTHON override is provided to point at a different Python binary — appropriate and limited in scope.
Persistence & Privilege
The skill is not always-enabled and does not request elevated or cross-skill config changes. It creates a local .venv and writes outputs/temporary request files in the project directory; those side effects are reasonable for a bundled engine.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install office-generator-py
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /office-generator-py 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial publish
元数据
Slug office-generator-py
版本 1.0.0
许可证 MIT-0
累计安装 4
当前安装数 3
历史版本数 1
常见问题

Office Generator Py 是什么?

Generate Office files with a bundled Python engine. Use when creating or exporting Word (.docx), Excel (.xlsx), or PowerPoint (.pptx) files from structured J... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 549 次。

如何安装 Office Generator Py?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install office-generator-py」即可一键安装,无需额外配置。

Office Generator Py 是免费的吗?

是的,Office Generator Py 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Office Generator Py 支持哪些平台?

Office Generator Py 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Office Generator Py?

由 Lu Yanqiang(@lujohn74)开发并维护,当前版本 v1.0.0。

💬 留言讨论