cli-anything-calibre
Skill by HKUDS
Command-line interface for Calibre that wraps calibredb, ebook-convert and ebook-meta. It gives AI agents and scripts structured access to e-book library management, metadata editing and format conversion.
Install cli-anything-calibre
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-calibre ~/.claude/skills/cli-anything-calibreRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
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-calibre ~/.gemini/antigravity-cli/skills/cli-anything-calibreAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install cli-anything-calibre in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
cli-anything-calibre is a command-line interface for Calibre, an e-book library manager. It is a stateful harness that wraps the real Calibre tools calibredb, ebook-convert and ebook-meta. Command groups cover library connection and statistics, book listing and search, metadata editing, format management, custom columns, catalog generation and format conversion.
It has an interactive REPL mode and a --json flag that returns structured output for agents and scripts. The active library path is saved in a session file and can be set with the CALIBRE_LIBRARY environment variable. The project is aimed at AI agents and scripts that need structured e-book library operations. Calibre must be installed on the system because it is a hard dependency.
Written from the project's SKILL.md and checked against it.
What it can do
- Library commandsConnect to a library path, show statistics and verify library integrity with calibredb check_library.
- Books commandsList, search, add, remove, show, export and export chapters of books using Calibre query language.
- Meta commandsGet and set metadata fields on a book and embed metadata into book files.
- Formats commandsList, add and remove formats for a book and convert a book between formats.
- Custom columnsList, create, delete and set values for Calibre custom columns.
- Catalog generationGenerate a catalog of the library in EPUB, CSV or OPDS format.
- JSON outputUse the --json flag to get structured output for agent consumption.
What you need
- Python 3.10+
- Calibre installed on the system (calibredb, ebook-convert, ebook-meta in PATH)
Try asking
- Connect to my Calibre library at ~/Calibre Library and list the books by Asimov
- Search my library for books tagged scifi with a rating above 3
- Convert book 42 from EPUB to MOBI using the Calibre CLI
Good to know
- Chapter export requires the book to be in EPUB format, so convert it first if needed.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/cli-anything-calibre/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to cli-anything-calibre
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-calibre: common questions
What does cli-anything-calibre wrap?
It wraps the real Calibre command-line tools calibredb, ebook-convert and ebook-meta. It adds a stateful, structured interface on top of them.
Can the output be read by a program?
Yes. Running any command with the --json flag returns structured JSON, and the source recommends this for agents.
Where is the active library path stored?
The library path is saved in the session file ~/.cli-anything-calibre/session.json. The CALIBRE_LIBRARY environment variable can override it.
How do I install cli-anything-calibre?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is cli-anything-calibre free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is cli-anything-calibre 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-calibre?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
