Convert batches of Word DOC and DOCX files into PDFs on Windows using LibreOffice from PowerShell, without installing Microsoft Word.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install docx2pdf
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install docx2pdf using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
This Openclaw Skills entry provides a practical Windows workflow for converting .doc and .docx files to PDF with LibreOffice’s soffice.exe in headless mode. Run it from PowerShell to process files in the current directory or send PDFs to a designated output folder, with no Microsoft Word installation or Office license required.
The skill focuses on reliable command-line use: it explains PowerShell path quoting and wildcard expansion, configurable LibreOffice paths, output behavior, and common conversion errors. It is well suited to one-off batches and scripts, while noting that complex Word layouts may not render identically in LibreOffice.
.docx files, or direct generated PDFs to a separate output folder.soffice.exe.soffice.exe with the PowerShell call operator (&), using --headless --invisible to avoid UI windows and prompts.*.doc and *.docx. PowerShell expands the wildcards into individual file paths before invoking LibreOffice.soffice.exe available on PATH, or its full path set through the SOFFICE environment variable. The default path used by this skill is C:\Program Files\LibreOffice\program\soffice.exe.Open PowerShell in the folder containing the Word documents, then run:
& 'C:\Program Files\LibreOffice\program\soffice.exe' --headless --invisible --convert-to pdf --outdir . *.doc *.docx
For PowerShell usage, & is required to execute a quoted path containing spaces. The shell expands *.doc and *.docx; do not pass ./ or .* as an input file.
$env:SOFFICE = 'D:\Program Files\LibreOffice\program\soffice.exe'
& $env:SOFFICE --headless --invisible --convert-to pdf --outdir . *.doc *.docx
To convert only DOCX files, remove *.doc. To write PDFs to a subfolder, create that folder first and use it as the --outdir value, for example --outdir .\pdf_out. For large batches, process files in smaller groups. If conversion reports that LibreOffice is already running, stop leftover soffice processes and retry.
| Item | Description |
|---|---|
| Source files | .doc and .docx files in the current directory; PowerShell expands the file patterns before passing paths to LibreOffice. |
| Output files | PDFs with the same base names as the source documents. |
| Output location | The directory specified by --outdir; use . for the current directory. |
| Existing PDFs | A PDF with the same name is overwritten. |
The skill metadata identifies the name as docx2pdf, version as 1.0.0, and license as MIT. Its tags cover Windows, LibreOffice, soffice, PDF, batch conversion, PowerShell, DOCX, and DOC. The SOFFICE configuration value can override the default executable path. This workflow does not define a separate database or structured intermediate data format; its generated artifacts are the PDF files.
SOFFICE to support non-default LibreOffice installation locations.*.docx when DOC files should be excluded.--outdir to keep generated PDFs separate from source documents.Get-ChildItem -Recurse -Include *.doc,*.docx and invoke LibreOffice for each file, setting the output directory to the source file’s directory.--convert-to pdf:writer_pdf_Export when explicitly selecting LibreOffice’s Writer PDF exporter.soffice processes if a later run reports that LibreOffice is already running.Loading
Brand GEO Analysis Plus connects trending topics, real social conversations, and AI search results to give teams a fuller view of brand perception in China.

A historically grounded AI decision-analysis skill that weighs people, incentives, institutions, and opposing evidence to help you make clearer decisions.

Download shared files and folders from supported cloud drives to your computer, NAS, or remote storage through one agent-friendly CLI.

A practical guide to managing WIPO Hague System international design registrations, from filing and fee checks to refusals, renewals, and design searches.

Convert common document formats into DOCX files styled with your own reference.docx template.

A practical playbook for managing an agent's Moltbook presence through regular engagement, opportunity research, and security-conscious operations.








































