मुख्य सामग्री पर जाएँ
Skillpedia
PDF, Word और स्लाइड58k · #3186

cli-anything-calibre

यह क्या करती है

यह स्किल आपके एजेंट को Calibre में ई-बुक लाइब्रेरी प्रबंधित करने देती है, जिसमें किताबों की सूची, मेटाडेटा और फ़ाइल फ़ॉर्मेट बदलना शामिल है। यह उन लोगों के लिए है जिनके पास ई-बुक का बड़ा संग्रह है।

कब इस्तेमाल करें

  • ✓जब आप अपनी Calibre लाइब्रेरी में किताबें सूचीबद्ध या खोजना चाहें।
  • ✓जब किसी किताब का शीर्षक, लेखक या दूसरा मेटाडेटा ठीक करना हो।
  • ✓जब आप किसी ई-बुक को दूसरे फ़ॉर्मेट में बदलना चाहें।

Skill का लिंक

https://github.com/HKUDS/CLI-Anything/blob/main/calibre/agent-harness/cli_anything/calibre/skills/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/HKUDS/CLI-Anything/blob/main/calibre/agent-harness/cli_anything/calibre/skills/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरी Calibre लाइब्रेरी में उर्सुला ले गिन की सभी किताबें ढूँढिए और उनमें से एक को EPUB में बदलिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल पृष्ठभूमि में असली Calibre टूल, जैसे calibredb और ebook-convert, इस्तेमाल करती है ताकि लाइब्रेरी पढ़ी और बदली जा सके। फिर आपका एजेंट परिणाम साफ़ और संरचित रूप में बताता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

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:

pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=calibre/agent-harness

Prerequisites:

  • Python 3.10+
  • Calibre must be installed on your system (hard dependency)
# Debian/Ubuntu
sudo apt-get install calibre

# macOS
brew install --cask calibre

# Verify tools are in PATH
which calibredb
which ebook-convert
which ebook-meta

Usage

Basic Commands

# Show help
cli-anything-calibre --help

# Start interactive REPL mode
cli-anything-calibre

# Connect to a Calibre library
cli-anything-calibre library connect ~/Calibre\ Library

# Run with JSON output (for agent consumption)
cli-anything-calibre --json books list

REPL Mode

When invoked without a subcommand, the CLI enters an interactive REPL session:

cli-anything-calibre
# Enter commands interactively with tab-completion and history
# Use 'help' to see available commands
# Use 'quit' or 'exit' to leave

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 check_library

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 set_metadata).

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> <input_fmt> <output_fmt> Convert book format

Custom

Custom columns (wrap calibredb).

Command Description
list List all custom columns
add <label> <name> <type> Create custom column
remove <label> Delete custom column
set <id> <label> <value> Set custom field value

Catalog

Catalog generation.

Command Description
catalog <output> Generate a catalog of the library (EPUB, CSV, or OPDS)

Examples

Connect and List Books

Connect to your Calibre library and list books.

cli-anything-calibre library connect ~/Calibre\ Library
cli-anything-calibre books list
# Or with JSON output
cli-anything-calibre --json books list --search "author:asimov"

Search and Filter

Search books using Calibre query language.

cli-anything-calibre books search "title:Foundation"
cli-anything-calibre books search "author:asimov and tags:scifi"
cli-anything-calibre books search "rating:>3"

Metadata Editing

Set metadata fields on books.

cli-anything-calibre meta set 42 title "New Title"
cli-anything-calibre meta set 42 series "Foundation"
cli-anything-calibre meta set 42 series_index 1
cli-anything-calibre meta set 42 tags "scifi,classic"
cli-anything-calibre meta set 42 rating 5

Format Conversion

Convert between e-book formats.

cli-anything-calibre formats convert 42 EPUB MOBI
cli-anything-calibre formats convert 42 EPUB PDF --output /tmp/book.pdf

Export Chapters as PDFs

Export each chapter of an EPUB as a separate PDF file.

cli-anything-calibre books export-chapters 42 --to-dir ./pdfs
cli-anything-calibre books export-chapters 42 --to-dir ./pdfs --chapters 1-5

Calibre Query

अक्सर पूछे जाने वाले सवाल

क्या मुझे Calibre इंस्टॉल करना होगा?

हाँ, Calibre इंस्टॉल होना चाहिए, क्योंकि स्किल उसके टूल पर निर्भर है।

मैं इसे अपनी लाइब्रेरी से कैसे जोड़ूँ?

आप स्किल को अपने Calibre लाइब्रेरी फ़ोल्डर का पथ देते हैं, और वह बाद के कमांड के लिए जुड़ी रहती है।

क्या मैं इसे स्क्रिप्ट से इस्तेमाल कर सकता हूँ?

हाँ, इसमें JSON आउटपुट मोड है जिसे स्क्रिप्ट और AI एजेंट आसानी से पढ़ सकते हैं।

जानकारी

लेखक का मूल विवरण

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)...

repo: HKUDS/CLI-Anything

लोकप्रियता

GitHub स्टार
58k
रैंकिंग में स्थान
#3186
लाइसेंस
Apache-2.0
अपडेट की गई
21/9/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

cli-anything-3mf

58k

यह आपके एजेंट को 3D प्रिंटिंग फ़ाइलों का निरीक्षण और सुधार करने देती है, जिसमें गोल छेद खोजना, उनका आकार बदलना, मेश ठीक करना और दो फ़ाइलों की तुलना शामिल है।

डिज़ाइनइमेज और आइकन

cli-anything-qgis

58k

यह आपके एजेंट को टर्मिनल से QGIS मैप प्रोजेक्ट खोलने, संपादित करने और निर्यात करने देती है, जिसमें लेयर, फ़ीचर, प्रिंट लेआउट और प्रोसेसिंग टूल शामिल हैं।

डेटाएनालिसिस और स्प्रेडशीट

cli-anything-adguardhome

58k

यह आपके एजेंट को AdGuard Home, एक नेटवर्क-व्यापी ऐड ब्लॉकर, प्रबंधित करने देती है, जिसमें फ़िल्टर, DNS rewrites, क्लाइंट और क्वेरी लॉग शामिल हैं।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

cli-anything-anygen

58k

यह आपके एजेंट को लिखे गए प्रॉम्प्ट से AnyGen सेवा का उपयोग करके स्लाइड, दस्तावेज़, वेबसाइट और आरेख बनवाने देती है।

लेखन और डॉक्यूमेंटPDF, Word और स्लाइड

मिलती-जुलती skills