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

cli-anything-libreoffice

Skill by HKUDS

Provides a stateful command-line interface for creating and editing Writer, Calc and Impress documents as real ODF files. Built for AI agents and power users who need document editing without a GUI.

  • Score 91
  • 67k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install cli-anything-libreoffice

Built from the published package, never by AI.

git clone --depth 1 https://github.com/HKUDS/CLI-Anything /tmp/CLI-Anything && mkdir -p ~/.claude/skills && cp -r /tmp/CLI-Anything/skills/cli-anything-libreoffice ~/.claude/skills/cli-anything-libreoffice

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

Step-by-step: install cli-anything-libreoffice in Claude Code

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

About

cli-anything-libreoffice is a stateful command-line interface for document editing. It produces real ODF files, which are ZIP archives with XML, and covers Writer documents, Calc spreadsheets and Impress presentations. The source says it is designed for AI agents and power users who need to create and manipulate these documents without a GUI.

The CLI keeps session state, with undo and redo of up to 50 levels and projects saved as JSON. Existing ODF, DOCX, XLSX, PPTX and related files can be imported into editable project JSON. Every command supports a --json flag for machine-readable output. It is installed with pip and requires Python 3.10 or later, with LibreOffice installed on the system.

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

What it can do

  • DocumentCreate, open, import, save and inspect documents, and print raw project JSON.
  • WriterAdd paragraphs, headings, lists, tables and page breaks, and list or edit content items.
  • CalcAdd, remove and rename sheets, and set or get cell values.
  • ImpressAdd, remove and list slides, update slide content, and add elements to slides.
  • StyleCreate, modify, list, apply and remove styles. Applying styles works on Writer only.
  • ExportList export presets, show preset details, and render the document to a file.
  • SessionShow session status, undo and redo operations, and view undo history.

What you need

  • Python 3.10+
  • LibreOffice installed on the system

Try asking

  • Create a new Writer document with a heading and two paragraphs.
  • Add a sheet to my project and set cell A1 to 42.
  • Export my project to output.pdf and overwrite any existing file.

Good to know

  • Undo and redo history holds up to 50 levels.
  • Applying styles is supported for Writer only.

Security check

A

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

Checked automatically: skills/cli-anything-libreoffice/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB

Alternatives to cli-anything-libreoffice

All alternatives →

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

cli-anything-libreoffice: common questions

What file formats does cli-anything-libreoffice produce?

It produces real ODF files, which are ZIP archives containing XML. The source also says it can import ODF, DOCX, XLSX, PPTX and related formats into project JSON.

Can an AI agent use cli-anything-libreoffice?

The source says it is designed for AI agents and power users. Agents should use the --json flag, check return codes and use absolute paths.

Does cli-anything-libreoffice have an interactive mode?

Yes. Running it without a subcommand starts a REPL session with tab-completion and history, and supports undo and redo.

How do I install cli-anything-libreoffice?

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

Is cli-anything-libreoffice free?

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

Is cli-anything-libreoffice safe to use?

It scores 91 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 cli-anything-libreoffice?

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

cli-anything-libreoffice Install

Add to stack

Loading.