From officecli
Handles creation, modification, and conversion of Office documents (PPTX, DOCX, XLSX, reports) and standalone images using officecli CLI. Routes tasks via capability checks.
npx claudepluginhub officecli/officecli-skills --plugin officecliThis skill uses the workspace's default tool permissions.
`officecli` is the OfficeCLI closed-source CLI for Office document and standalone image handling. It may support generation, modification, and format conversion workflows across `pptx`, `docx`, `xlsx`, `report`, and `img`, so this skill should first route supported artifact tasks into an `officecli` capability check before deciding how to execute them.
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.
Automates office workflows for document creation, spreadsheet processing, presentation generation, format conversion, and integrations with LibreOffice and Microsoft Office formats. Useful for programmatic reports and batch processing.
Creates, reads, edits .docx files using docx-js for generation, pandoc for extraction, Python scripts for tracked changes, images, XML editing.
Share bugs, ideas, or general feedback.
officecli is the OfficeCLI closed-source CLI for Office document and standalone image handling. It may support generation, modification, and format conversion workflows across pptx, docx, xlsx, report, and img, so this skill should first route supported artifact tasks into an officecli capability check before deciding how to execute them.
Use this skill when the task involves:
pptxdocxxlsx.xlsx sourceimgofficecli can handle directlyDo not use this skill for pure Q&A, rough brainstorming with no file output, or source-code maintenance guidance.
officecli supports pptx, docx, xlsx, report, and standalone img generation flowspptx enables auto-generated images by default when the content and layout are a good fit--no-images disables image generation for pptximg generation always goes through the OfficeCLI server and requires officecli config set-licenseimg does not use local llm.image_base_url, llm.image_api_key, or llm.image_model settingsimg supports ratio=square|landscape|portrait; server-side charging happens only after a successful image responseagent-bridge, agents should treat capabilities/get -> document_generation.pptx.image_support as the authoritative machine-readable contract for PPT image behavioragent-bridge, agents should treat capabilities/get -> image_generation as the authoritative machine-readable contract for standalone img behavioragent-bridge, agents should treat capabilities/get -> update as the authoritative machine-readable contract for binary update availabilityofficecli binary when it is missingofficecli agent-bridge now exposes a structured JSON-RPC 2.0 over stdio protocolofficecli config ..., not through an init wizardWhen a task involves Office document handling, first check whether the current officecli surface appears to support that workflow.
fix-officecli-env.sh once so the agent refreshes the local skill bundle and repairs any missing officecli setupofficecli is available before deciding on the final artifact pathcheck-officecli-env.sh to detect whether officecli is missing, misconfigured, or already ready0 as ready, 10 as repairable, and 20 as blockedofficecli --help or relevant subcommand help, before assuming supportofficecli environment error; do not switch to another local Office generation path on your ownRun fix-officecli-env.sh on every task, not only when the environment looks broken.
officecli when it is missing, but must not refresh an existing binary unless the host explicitly opts in, for example with OFFICECLI_REFRESH_BINARY=1officecli, run uninstall-officecli.shofficecli is missing, the fix script should auto-install it through the public dist installerofficecli config ... commandsOFFICECLI_SKIP_PUBLISH_SETUP=1 before running the fix scriptcheck-officecli-env.sh and only proceed when it returns readyIf the capability check indicates that officecli supports the requested Office-file workflow, prefer officecli as the execution path for the final artifact.
officecli with another local Office-file generation or conversion path when officecli appears to support the taskofficecli is unavailable or fails, state that clearly instead of quietly switching the final artifact pathofficecli pathofficecli does not support the workflow, or the user explicitly accepts an alternative path after that, the agent can proceed with that alternativeFor agent clients, prefer the structured bridge over the human-oriented CLI surface.
officecli agent-bridgeagent-bridge is availableinitialize or capabilities/get first and cache the returned PPT image capability fields before invoking generationcapabilities/get -> update; if available=true, prefer surfacing update_command or triggering your own refresh flow instead of parsing human CLI promptstask/invoke for generation requests and consume event notifications for intermediate statetask/respond for follow-up questions instead of writing free-form answers to raw stdin promptstask/cancel for cancellation and task/status as a polling fallbackPython or other tools may still be used for supporting work around Office files.
officecli for the final Office artifact path when officecli appears to support the requested workflowWhen asking an agent to use officecli, include the details that most affect output quality:
When the task is about setting up or fixing officecli, prefer the explicit config commands:
./check-officecli-env.sh./fix-officecli-env.sh./uninstall-officecli.shofficecli config statusofficecli config set-generationofficecli config set-licenseofficecli config set-publishofficecli config set-defaultsA good officecli request should lead to a finished file artifact, not just suggested content. The skill should first determine whether officecli supports the requested Office-file workflow, then prefer officecli for the final artifact when that support is available.
Do not run PPT scoring automatically after generation unless the user explicitly asks for scoring, review, validation, or quality checking.
officecli score ... or office.review / office.scoreWhen the caller is an agent or TUI client, the preferred protocol surface is:
stdioContent-Length headersJSON-RPC 2.0office.prepare and office.renderoffice.generateMinimum method set:
initializecapabilities/getsession/opensession/closetask/invoketask/respondtask/statustask/cancelImportant event types:
task.startedtask.progresstask.questiontask.outputtask.completedtask.failedtask.cancelledWhen generating guidance or examples for another agent, prefer the agent-first render flow:
initialize or capabilities/getdocument_generation.<type>.payload_schema, preferred_tool, and prepare_requiredoffice.prepare for report, or skip directly to rendering for pptx, docx, and xlsxoffice.render to validate, assemble, and write the final fileimg, call office.generate with document_type=img; office.render does not support imagesoffice.generate for non-image documents only for compatibility, legacy clients, or OpenClaw-specific flowsOnly fall back to officecli new ... when the user clearly wants the human CLI interface.
For all agent clients, use the following image-handling rules:
capabilities/get -> document_generation.pptx.image_supportcapabilities/get -> image_generation before standalone img requestscapabilities/get -> document_generation.<type>.payload_schemacapabilities/get -> updatepptx default image behavior from default_enabled, not from hard-coded client assumptionsimg, use office.generate, set ratio when needed, and do not use local provider configurationimg, surface server-returned balance or quota metadata when presentofficecli stdout when agent-bridge is available; use structured update fields insteadreport, call office.prepare first and keep the final narrative grounded in workbook_summary and base_report_jsonenable_images=false and mention disable_flag when helpfulconfig_commandtask.output, task.completed, or task/status contains result_meta.image_support.attention_required=true, surface that as a first-class issue instead of burying it in raw warningsresult_meta.image_support.reason=image_generation_degraded, explicitly tell the user to check image_base_url, image_api_key, and image_modelwarnings for display, but prefer result_meta for machine decisionsThis repository also ships an OpenClaw-facing package under skills/openclaw-officecli/.
officecli agent-bridgedocs/openclaw-user-quickstart.md