Skip to content

Calibre E-book Library CLI

Lets an agent manage a Calibre e-book library: search, edit metadata, convert formats, and export.

Stars
58,084
Licence
Apache-2.0
Files
1 file

What it does

This skill teaches an AI agent to operate Calibre, a popular desktop e-book manager, through a command-line tool called cli-anything-calibre. Once installed, the agent can list and search books in your library, edit titles, authors, tags, series and ratings, convert a book between formats such as EPUB, MOBI and PDF, export books or chapters, and generate catalogs. It works by calling the real Calibre tools already on your computer, rather than reimplementing them.

Great for

  • Owners of a large local Calibre library who want an agent to clean up metadata in bulk
  • People who convert e-books between formats and want scripted, repeatable steps
  • Developers building automations that need structured JSON output from Calibre

Skip it if

  • Users without Calibre installed, since the skill depends on Calibre's command-line tools and will not work without them
  • Anyone who wants to run it against a library they have not backed up, because metadata edits, removals and format changes modify files directly

Try asking

  • “Search my Calibre library for all books by Asimov tagged scifi and list their series”
  • “Set the series to Foundation and series_index to 1 for book 42”
  • “Convert book 42 from EPUB to MOBI and save it to my downloads folder”
  • “Export each chapter of book 42 as a separate PDF into ./pdfs”
Step-by-step guide: how to use Calibre E-book Library CLIInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.

    cli-anything-calibre.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip cli-anything-calibre.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip cli-anything-calibre.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Back up your Calibre library before letting an agent run remove, set, or convert commands
  • Use the --json flag when the agent needs to parse output, and check return codes for errors
  • Set the CALIBRE_LIBRARY environment variable or run library connect so commands target the right library

What's inside

  • SKILL.md

Redistributed unmodified from HKUDS/CLI-Anything under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.