Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

office-export-pdf

Skill by deepseek-ai

Converts a saved Office document into a new PDF using the LibreOffice Kit CLI. It is for assistants that need a PDF export from an Office file in the task workspace.

  • Score 84
  • 290k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install office-export-pdf

Built from the published package, never by AI.

git clone --depth 1 https://github.com/deepseek-ai/deepseek-harness /tmp/deepseek-harness && mkdir -p ~/.claude/skills && cp -r /tmp/deepseek-harness/packages/skill/skill-office/assets/office-export-pdf ~/.claude/skills/office-export-pdf

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install office-export-pdf in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The office-export-pdf skill converts a saved Office document into a new PDF using the LibreOffice Kit command line tool. The assistant runs the CLI through the shell with the Node and CLI paths supplied in the skill, writes the PDF to the task workspace, and keeps the original file. It prefers the bundled LibreOffice and does not call system soffice or npx.

After conversion, the assistant checks the command result, that the output is nonempty, and the %PDF- file signature, then reports only that level of validation. If the Office sidecar is missing, it asks the user before downloading it. Image output or visual inspection needs the separate office-render skill. The skill is aimed at tasks that need a PDF export from an Office file.

Written from the project's SKILL.md and checked against it.

What it can do

  • Office to PDF conversionConverts a final saved Office file to a new PDF through the LibreOffice Kit CLI.
  • Output validationChecks the command result, a nonempty output file, and the %PDF- file signature.
  • Sidecar setup guidanceAsks before downloading the Office sidecar if it is missing and follows the sidecar setup reference.
  • PDF deliveryDelivers the requested PDF through present when that tool is available, keeping the file in place.

What you need

  • Node.js, using the absolute Node path supplied to the skill
  • LibreOffice Kit CLI, bundled or installed as the Office sidecar

Try asking

  • Convert my final report.docx to a PDF in this workspace
  • Export this spreadsheet to PDF and keep the original file
  • Turn the slides in deck.pptx into a PDF and share it

Good to know

  • Conversion may differ from the native application's pagination or fonts.
  • Spreadsheet PDF pages follow the workbook print settings unless the user asks for changes.
  • Does not fall back to system soffice, npx, or a replacement install when a conversion fails.
  • Image output and visual inspection require the separate office-render skill.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: packages/skill/skill-office/assets/office-export-pdf/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md2 KB

Alternatives to office-export-pdf

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

office-export-pdf: common questions

Does the skill change my original Office file?

No. The skill states that it preserves the source and writes the result to a new PDF file in the task workspace.

How does the skill check that the PDF is valid?

It checks the command result, that the output is nonempty, and the %PDF- file signature. It does not run deeper checks unless the user asks.

What happens if the export fails?

The skill keeps the usable source and reports the export limitation. It does not repeatedly convert an unchanged source.

How do I install office-export-pdf?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is office-export-pdf free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is office-export-pdf safe to use?

It scores 84 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to office-export-pdf?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

office-export-pdf Install

Add to stack

Loading.