hkuds avatar

Cli Anything Libreoffice

This is a command-line interface for creating and manipulating LibreOffice documents without opening the GUI, designed specifically for AI agents and automation workflows. You can create Writer docs, Calc spreadsheets, and Impress presentations through simple commands, with full support for importing existing Office files into editable JSON, then exporting back to PDF or ODF formats. It includes proper undo/redo history, an interactive REPL mode, and dual output formats: human-readable tables or structured JSON for programmatic use. The stateful session model means you build documents incrementally rather than regenerating everything each time, which makes sense for iterative agent workflows where you're adding paragraphs, tables, or slides step by step.

skills.sh installs
721
GitHub stars
58.5K
last updated
Aug 21, 2026

Install

$ npx -y skills add hkuds/cli-anything --skill cli-anything-libreoffice --agent claude-code

Installs into .claude/skills of the current project.

Files

cli-anything-libreoffice

A stateful command-line interface for document editing, producing real ODF files (ZIP archives with XML). Designed for AI agents and power users who need to create and manipulate Writer, Calc, and Impress documents without a GUI or LibreOffice installation.

Installation

This CLI is installed as part of the cli-anything-libreoffice package:

pip install cli-anything-libreoffice

Prerequisites:

  • Python 3.10+
  • libreoffice must be installed on your system

Usage

Basic Commands

# Show help
cli-anything-libreoffice --help

# Start interactive REPL mode
cli-anything-libreoffice

# Create a new project
cli-anything-libreoffice project new -o project.json

# Run with JSON output (for agent consumption)
cli-anything-libreoffice --json project info -p project.json

REPL Mode

When invoked without a subcommand, the CLI enters an interactive REPL session:

cli-anything-libreoffice
# Enter commands interactively with tab-completion and history

Command Groups

Document

Document management commands.

Sponsors

Details

Repository
github.com/hkuds/cli-anything
Category
CLI & Terminal
First seen
Jun 3, 2026

More from hkuds/cli-anything

All 51
1hkuds avatarcli-anything-drawiohkuds/cli-anythingCommand-line interface for Drawio - A CLI harness for **Draw.io** — create, edit, and export diagrams from the command line....712skills.sh installs
2posit-dev avatarcliposit-dev/skillsComprehensive R package for command-line interface styling, semantic messaging, and user communication. Use this skill when working with R code that needs to: (705skills.sh installs
3pproenca avatarshellpproenca/dot-skillsShell scripting best practices for writing safe, portable, and maintainable bash/sh scripts. Use when writing, reviewing, or refactoring shell scripts, Dockerfi704skills.sh installs
4hkuds avatarcli-anything-gimphkuds/cli-anythingCommand-line interface for Gimp - A stateful command-line interface for image editing, built on Pillow. Designed for AI agents and pow...672skills.sh installs
5hkuds avatarcli-anything-inkscapehkuds/cli-anythingCommand-line interface for Inkscape - A stateful command-line interface for vector graphics editing, following the same patterns as the GI...651skills.sh installs
6hkuds avatarcli-anything-comfyuihkuds/cli-anythingCommand-line interface for ComfyUI - AI image generation workflow management via ComfyUI REST API. Designed for AI agents and power users who need to queue work586skills.sh installs