Skills

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.

CommandDescription
newCreate a new document
openOpen project JSON, or import an existing Office/ODF file
importImport an existing Office/ODF file to project JSON
import-formatsList supported import formats
saveSave the current document
infoShow document information
profilesList available page profiles
jsonPrint raw project JSON

Writer

Writer (word processor) commands.

Read the whole SKILL.md on GitHub

More in Engineering