libreoffice-rs

Convert office documents to PDF, images, and Markdown without LibreOffice.

28|3|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/clark-labs-inc/libreoffice-rs --skill libreoffice-rs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: libreoffice-rs
Source: https://github.com/clark-labs-inc/libreoffice-rs/tree/main/skills/libreoffice-rs
Command: npx skills add https://github.com/clark-labs-inc/libreoffice-rs --skill libreoffice-rs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of converting and extracting content from office documents without installing LibreOffice or dealing with heavy external dependencies.

Core Features & Use Cases

  • Format Conversion: Convert between DOCX, PPTX, XLSX, ODT, ODS, ODP, ODG, CSV, Markdown, and PDF using the pure-Rust libreoffice-rs CLI.
  • Text and Markdown Extraction: Extract text as Markdown from DOCX, PPTX, and XLSX for easier editing, search, and downstream processing.
  • Rendering to Images: Render document pages to PNG or JPEG for previewing, sharing, or OCR workflows.
  • XLSX Formula Recalc Check: Recalculate and sanity-check spreadsheet formulas against cached values to validate results.

Quick Start

Run a headless conversion of a DOCX file to PDF by executing: cargo run -p libreoffice-pure -- --headless --convert-to pdf report.docx

Frequently Asked Questions about libreoffice-rs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert DOCX to PDF without installing LibreOffice?

You can convert DOCX to PDF without installing LibreOffice by using a pure Rust CLI to perform headless document conversion, eliminating the need for heavy external dependencies or C/C++ libraries.

Can I extract text as Markdown from XLSX and PPTX files?

Yes, you can extract text as Markdown from XLSX and PPTX files using the pure Rust CLI, which transforms document content into Markdown for easier editing, search, and downstream processing.

Do I need to install LibreOffice to render office documents to PNG?

No, you do not need to install LibreOffice to render office documents to PNG or JPEG, because the pure Rust CLI executes headless rendering independently without requiring the LibreOffice suite.

What is the best way to check XLSX formula recalculation results?

The best way to check XLSX formula recalculation results is using a pure Rust CLI that recalculates spreadsheet formulas and sanity-checks them against cached values to validate outputs.

How do I run batch headless conversions for office files in Rust?

You can run batch headless conversions for office files in Rust by executing the libreoffice-pure CLI with subcommands and the --release flag, processing formats like ODT, ODS, and CSV efficiently.

What are the limitations of converting office documents without LibreOffice installed?

A limitation of converting office documents without LibreOffice installed is that you must checkout the libreoffice-rs repository to run the pure Rust CLI, which relies solely on standard library components without external C dependencies.