Install
openclaw skills install office-generator-pyGenerate Office files with a bundled Python engine. Use when creating or exporting Word (.docx), Excel (.xlsx), or PowerPoint (.pptx) files from structured JSON, reports, meeting minutes, project plans, trackers, business briefs, or natural-language requirements that must be turned into Office documents.
openclaw skills install office-generator-pyGenerate Office files with the bundled engine under scripts/engine/.
Install Python dependencies into the bundled virtualenv:
python3 skills/office-generator-py/scripts/setup_engine.py
If you manage the environment yourself, you can point the wrapper at another Python binary with OFFICE_GENERATOR_PYTHON=/path/to/python.
docx, xlsx, or pptx.scripts/generate_office.py.Use scripts/generate_office.py.
--type with a full JSON request file.--kind, --title, --input, and --out.word_work_report_v1meeting_minutes_v1excel_data_tracker_v1project_plan_v1ppt_business_brief_v1project_status_brief_v1word-reportmeeting-minutesexcel-trackerproject-planppt-briefproject-status-briefStandard mode:
python3 skills/office-generator-py/scripts/generate_office.py \
--type docx \
--input /absolute/path/request.json \
--out /absolute/path/output.docx
Business mode:
python3 skills/office-generator-py/scripts/generate_office.py \
--kind meeting-minutes \
--title "Office 评审会纪要" \
--purpose "内部存档" \
--input /absolute/path/content.json \
--out /absolute/path/meeting_minutes.docx
If the user gives natural language only, convert it into JSON first.
For supported request formats and sample payloads, read references/input-formats.md.
documentType/templateId/contentSpec JSON.