libreoffice-calc

Automate LibreOffice Calc spreadsheet creation, editing, and export via UNO.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Automates the end-to-end management of LibreOffice Calc spreadsheets via UNO, eliminating manual, repetitive editing, formatting, and export tasks.

Core Features & Use Cases

  • Create, edit, format, export, and extract data from Calc workbooks programmatically.
  • Manage sheets, named ranges, validations, and charts in a session-based workflow.
  • Use patch-driven batch operations to apply complex modifications across documents.

Quick Start

Instruct your AI to open a Calc file and apply a set of edits using a patch.

Frequently Asked Questions about libreoffice-calc

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

FAQPage Schema
How do I automate LibreOffice Calc spreadsheets via UNO?

You can automate LibreOffice Calc via the UNO API to create, edit, format, and export spreadsheets programmatically. It supports session-based workflows, managing sheets, named ranges, validations, and charts.

What is patch-driven batch processing for Calc workbooks?

Patch-driven batch processing applies complex modifications across multiple Calc documents simultaneously. It uses a patch DSL to define and execute repetitive editing, formatting, and extraction tasks automatically without manual intervention.

Can I generate and modify charts in LibreOffice Calc using scripting?

Yes, scripting with the UNO API allows you to generate and modify charts in LibreOffice Calc. You can programmatically add, update, and control chart elements across multiple sheets within a managed session.

Does this approach support batch processing across multiple sheets?

Yes, this UNO-based document control approach fully supports batch processing across multiple sheets. It handles complex modifications, validations, and data extraction across entire workbooks in a single automated workflow.

What are the limitations of using UNO for document control in Calc?

Using UNO for document control in Calc requires a session-based workflow and understanding of the patch DSL. It is designed for structured batch operations, so highly interactive or ad-hoc manual editing tasks may not be the best fit.

Do I need a special environment to run LibreOffice Calc automation scripts?

You need an environment that supports the UNO API and can manage active LibreOffice Calc sessions. The automation runs scripts that handle document control, so a compatible runtime or scripting host is required to execute the batch processing.