
CLI Anything Libreoffice
Command-line interface for Libreoffice - A stateful command-line interface for document...
Install
npx skills add HKUDS/CLI-Anything --skill cli-anything-libreoffice -g -a claude-code -y- Repository
- HKUDS/CLI-Anything58k
- Category
- Engineering
- Updated
- 1mo ago
- License
- Apache-2.0
- Context cost
- Lightabout 1,345 tokens
- Runs scripts
- No, instructions only
What it does
Command-line interface for Libreoffice - A stateful command-line interface for document editing, producing real ODF files (ZIP archives with ...
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.
| Command | Description |
|---|---|
new | Create a new document |
open | Open project JSON, or import an existing Office/ODF file |
import | Import an existing Office/ODF file to project JSON |
import-formats | List supported import formats |
save | Save the current document |
info | Show document information |
profiles | List available page profiles |
json | Print raw project JSON |
Writer
Writer (word processor) commands.
