Agent skill · software engineering · hkuds
cli-anything-calibre
Command-line interface for Calibre - A stateful CLI harness for e-book library management, metadata editing, and format conversion wrapping the real Calibre tools (calibredb, ebook-convert, ebook-meta)...
Why this skill is useful
Adds a structured CLI interface with executable commands for managing e-book libraries that AI cannot generate on its own.
What it needs
Requires calibre, python installed locally. About 4k tokens when loaded. Last updated 2026-08-03. 46,739 stars on the source repository.
What this skill does
cli-anything-calibre A stateful CLI harness for Calibre e-book management. Wraps the real Calibre tools (calibredb, ebook-convert, ebook-meta) to give AI agents and scripts a clean, structured interface for library operations, metadata editing, and format conversion. Installation This CLI is installed as part of the cli-anything-calibre package: Prerequisites: Python 3.10+ Calibre must be installed on your system (hard dependency) Usage Basic Commands REPL Mode When invoked without a subcommand, the CLI enters an interactive REPL session: Command Groups Library Library management commands. Command Description --------- ------------- connect <path> Set active library path info Show library statistics (book count, formats, db size) check Verify library integrity using calibredb checklibrary Books Book operations (wrap calibredb). Command Description --------- ------------- list List books with filtering and sorting search <query> Search using Calibre query language add <files> Add book files to library remove <ids> Remove books (move to trash or permanent delete) show <id> Show full metadata for a book export <ids> Export books to directory export-chapters <id> Export each chapter as separate PDF (requires EPUB format) Meta Metadata editing (wrap calibredb setmetadata). Command Description --------- ------------- get <id> [field] Get metadata (all or specific field) set <id> <field> <value> Set a metadata field embed <ids> Embed metadata into book files Formats Format management (wrap calibredb + ebook-convert). Command Description --------- ------------- list <id> List available formats for a book add <id> <file> Add a format to a book remove <id> <fmt> Remove a format from a book convert <id> <inputfmt> <outputfmt> Convert book format Custom Custom columns (wrap calibredb). …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills hkuds/skills--765468