From openclaw-officecli
Generates local PPTX, DOCX, XLSX, reports, and images via officecli agent-bridge for OpenClaw. Activates on requests for Office/image file artifacts like slides or docs.
npx claudepluginhub officecli/officecli-skills --plugin openclaw-officecliThis skill uses the workspace's default tool permissions.
This skill lets an OpenClaw agent generate local `pptx`, `docx`, `xlsx`, `report`, and standalone `img` files through `officecli agent-bridge`, then send the generated file back to the current channel as an attachment.
Handles creation, modification, and conversion of Office documents (PPTX, DOCX, XLSX, reports) and standalone images using officecli CLI. Routes tasks via capability checks.
Inspect, build, preview, extract data from, and verify Office documents (PPTX, DOCX, XLSX) using aurochs CLI on Bun runtime.
Creates, edits, and analyzes Microsoft Office documents including Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) files using Python libraries. Useful for automated reporting and data-driven document generation.
Share bugs, ideas, or general feedback.
This skill lets an OpenClaw agent generate local pptx, docx, xlsx, report, and standalone img files through officecli agent-bridge, then send the generated file back to the current channel as an attachment.
Trigger when the user clearly wants a file artifact, for example:
generate a five-slide PPT about an enterprise collaboration platformwrite a customer-facing docx for mecreate a budget excel sheetgenerate a launch imageturn this into slideswrite a docx for customersDo not trigger for:
The skill must use officecli agent-bridge as the local execution protocol.
Do not treat officecli new ... stdout as a protocol.
Always prefer the structured bridge:
stdioContent-LengthJSON-RPC 2.0office.generateRequired bridge methods:
initializecapabilities/getsession/opentask/invoketask/respondtask/statustask/cancelPrimary event types:
task.startedtask.progresstask.questiontask.outputtask.completedtask.failedtask.cancelledfix-officecli-env.sh before starting any bridge session so the skill bundle is refreshed and any missing officecli setup is repaired.check-officecli-env.sh after the repair step.officecli is installed, configured, and reachable.officecli agent-bridge can be started locally.initialize or capabilities/get before invoking generation, and cache document_generation.pptx.image_support and top-level image_generation.update; if available=true, use update_command or your own repair flow instead of parsing human CLI update prompts.document_typetopicpromptmodelangstyleaudienceratio for imgpptx, set enable_images=false; otherwise follow the bridge capability default instead of hard-coding a client default.img, call office.generate with document_type=img; do not call office.render, do not set mode=best, and do not use local image provider config.interactive=true by default so the chat can handle follow-up questions.mode=fast by default unless the user explicitly asks for a higher-quality, more iterative workflow and the document type is not img.task.question, present the question naturally in the channel and forward the answer via task/respond.task.output, read result.file_path and send the file as an attachment in the current channel.task.failed, convert the error into a user-friendly message.task/cancel.For all OpenClaw agents using this skill:
document_generation.pptx.image_support.default_enabled during capability discoveryupdate.available during capability discoverydocument_generation.pptx.image_support.disable_flag when explaining how to produce a text-only deckupdate.available=true, prefer a structured repair/refresh path and show update_command when the host asks how to updatedocument_generation.pptx.image_support.config_command and config_fields when the user reports missing imagestask.output, task.completed, or task/status includes result_meta.image_support.attention_required=true, surface that immediately in the chatresult_meta.image_support.reason=image_generation_degraded, tell the user the deck was downgraded to a no-image version and they should check image_base_url, image_api_key, and image_modelresult_metaofficecli stdout; use bridge capability fieldsFor standalone img requests:
image_generation during capability discoveryoffice.generate with document_type=imgratio=square|landscape|portrait when the user asks for a shape; default to squareoffice.render, local config set-generation image settings, mode=best, source files, preview publishing, or local previewofficecli setup on every task by running fix-officecli-env.shofficecli binary unless the host explicitly opts in, for example with OFFICECLI_REFRESH_BINARY=1officecli, run uninstall-officecli.shcheck-officecli-env.sh as the single readiness probe for binary, config, and bridgefix-officecli-env.sh as the single repair entrypointOFFICECLI_SKIP_PUBLISH_SETUP=1 before running the fix scriptagent-bridge until the check script returns readyofficecli environment error; when repair fails, use the fix script's final structured status as the source of truth, and do not fall back to any other PPT/DOC/XLS generation tool without explicit user approvalWhen generation succeeds:
task.output.payload.result.file_pathresult_meta.image_support.messageDo not only send a local file path unless attachment upload is impossible on the current channel.
task.question, relay it instead of inventing your own replacement question.office.review / office.score automatically after generation unless the user explicitly asks for scoring, review, validation, or quality checkingExpected local setup:
officecli available in PATH, or repairable by fix-officecli-env.shimg requires license config; document/PPT image assets also require generation config