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.
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-libreofficeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install cli-anything-libreoffice in Claude Code
git clone --depth 1 https://github.com/HKUDS/CLI-Anything /tmp/CLI-Anything && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/CLI-Anything/skills/cli-anything-libreoffice ~/.gemini/antigravity-cli/skills/cli-anything-libreofficeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install cli-anything-libreoffice in Antigravity CLI
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
ANo 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 →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
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.
