← Back to Skills Marketplace
lujohn74

Office Generator Py

by Lu Yanqiang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
549
Downloads
0
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install office-generator-py
Description
Generate Office files with a bundled Python engine. Use when creating or exporting Word (.docx), Excel (.xlsx), or PowerPoint (.pptx) files from structured J...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install office-generator-py
  3. After installation, invoke the skill by name or use /office-generator-py
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial publish
Metadata
Slug office-generator-py
Version 1.0.0
License MIT-0
All-time Installs 4
Active Installs 3
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 549 downloads so far.

How do I install Office Generator Py?

Run "/install office-generator-py" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Office Generator Py free?

Yes, Office Generator Py is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Office Generator Py support?

Office Generator Py is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Office Generator Py?

It is built and maintained by Lu Yanqiang (@lujohn74); the current version is v1.0.0.

💬 Comments