Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 91
  • 71k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-calibre

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install cli-anything-calibre in Claude Code

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

A

No 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 →

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.

cli-anything-calibre Install

Add to stack

Loading.