cli-anything-calibre
하는 일
이 스킬은 에이전트가 Calibre의 전자책 라이브러리를 관리하게 합니다. 책 목록, 메타데이터, 파일 형식 변환을 포함합니다. 전자책을 많이 모아 둔 사람을 위한 스킬입니다.
사용하는 경우
- ✓Calibre 라이브러리의 책을 나열하거나 검색하고 싶을 때.
- ✓책의 제목, 저자 등 메타데이터를 고치고 싶을 때.
- ✓전자책을 다른 형식으로 변환하고 싶을 때.
스킬 링크
https://github.com/HKUDS/CLI-Anything/blob/main/calibre/agent-harness/cli_anything/calibre/skills/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Calibre에서 어슐라 르 귄의 모든 책을 찾고, 그중 하나를 EPUB로 변환해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 calibredb와 ebook-convert 같은 실제 Calibre 도구를 백그라운드에서 사용해 라이브러리를 읽고 바꿉니다. 그다음 에이전트가 결과를 명확하고 구조화된 형식으로 보고합니다.
기술 내용 (원본 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가 설치되어 있어야 합니다.
라이브러리에 어떻게 연결하나요?
스킬이 Calibre 라이브러리 폴더를 가리키면, 이후 명령을 위해 연결을 유지합니다.
스크립트에서 쓸 수 있나요?
네. 스크립트와 AI 에이전트가 읽기 쉬운 JSON 출력 모드가 있습니다.
상세 정보
작성자의 원본 설명
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
- 업데이트
- 2026. 9. 21.
댓글
- …
이 저장소의 다른 스킬
cli-anything-3mf
58k에이전트가 3D 프린팅 파일을 검사하고 고치도록 돕습니다. 둥근 구멍 찾기, 크기 조정, 메시 수리, 두 파일 비교가 가능합니다.
cli-anything-qgis
58k에이전트가 터미널에서 QGIS 지도 프로젝트를 열고 편집하고 내보내도록 돕습니다. 레이어, 피처, 인쇄 레이아웃, 처리 도구를 포함합니다.
cli-anything-adguardhome
58k에이전트가 네트워크 전체의 광고 차단기인 AdGuard Home을 관리하도록 돕습니다. 필터, DNS 재작성, 클라이언트, 쿼리 로그를 포함합니다.
cli-anything-anygen
58k에이전트가 AnyGen 서비스를 이용해 글로 된 프롬프트로 슬라이드, 문서, 웹사이트, 다이어그램을 만들도록 돕습니다.
비슷한 스킬
feishu-doc
394k에이전트가 문서 도구를 사용해 텍스트, 이미지, 표를 포함한 Feishu 클라우드 문서를 읽고, 만들고, 편집하도록 돕습니다.
feishu-drive
394k에이전트가 봇과 공유된 Feishu 클라우드 폴더의 파일을 찾아보고, 정리하고, 댓글을 달도록 돕습니다.
feishu-perm
394k에이전트가 요청을 충족하는 가장 작은 권한을 골라, Feishu 파일에 누가 접근할 수 있는지 확인하고 바꾸도록 돕습니다.