libreoffice-writer

Automate programmatic editing of LibreOffice Writer documents via UNO bridges.

6|1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/dfk1352/LibreOffice-skills --skill libreoffice-writer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: libreoffice-writer
Source: https://github.com/dfk1352/LibreOffice-skills/tree/main/skills/libreoffice-writer
Command: npx skills add https://github.com/dfk1352/LibreOffice-skills --skill libreoffice-writer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Automate the repetitive, error-prone process of creating and editing LibreOffice Writer documents by controlling UNO-backed Writer sessions and applying patch-based transformations.

Core Features & Use Cases

  • Session-based editing API to modify text, tables, images, and metadata.
  • Patch DSL for deterministic edits with atomic or best_effort modes.
  • Document lifecycle: create, export, and snapshot Writer documents.
  • Metadata management: set and read properties like title and description.

Quick Start

Install the Writer skill, open a document with WriterSession, and apply a patch to update text.

Frequently Asked Questions about libreoffice-writer

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

FAQPage Schema
How do I automate editing text and tables in LibreOffice Writer documents?

Automate editing LibreOffice Writer documents by using a session-based API to control UNO-backed Writer sessions and apply patch-based transformations to text, tables, images, and metadata.

What is the best way to apply deterministic batch updates across multiple .odt files?

Apply deterministic batch updates across multiple .odt files by using a Patch DSL with atomic or best_effort modes to ensure reliable, error-free content updates and formatting standardization.

Do I need a specific LibreOffice version to automate Markdown import and export?

Automating Markdown import/export requires LibreOffice 26.2 or higher. You also use this version to access related features for document generation and lifecycle management via UNO bridges.

Can I programmatically set and read document metadata like title and description in .odt files?

Programmatically set and read document metadata like title and description in .odt files through the session-based editing API during your automated document generation and lifecycle workflows.

How does the Patch DSL handle errors during automated document generation in LibreOffice Writer?

The Patch DSL handles errors during automated document generation by offering atomic mode for strict all-or-nothing edits and best_effort mode for applying partial updates to Writer documents.

What are the limitations of using UNO bridges for formatting standardization in LibreOffice?

Using UNO bridges for formatting standardization requires controlling active Writer sessions and depends on LibreOffice 26.2+ for specific features like Markdown conversion, limiting headless server deployments.