Complete Calibre library management - add/remove books, convert PDF to EPUB, metadata editing, library analysis, cleanup, and e-reader sync (Sony PRS-T1). Use for any ebook or Calibre operation.
Manages Calibre ebook library with add/remove, PDF to EPUB conversion, metadata editing, cleanup, and Sony PRS-T1 sync.
/plugin marketplace add theflysurfer/claude-skills-marketplace/plugin install theflysurfer-claude-skills-marketplace@theflysurfer/claude-skills-marketplaceThis skill is limited to using the following tools:
Complete ebook library management with Calibre.
| Property | Value |
|---|---|
| Calibre | C:\Program Files\Calibre2\ |
| Library | C:\Users\julien\OneDrive\Calibre\Calibre Library |
| E-Reader | Sony PRS-T1 (EPUB, PDF, TXT) |
IMPORTANT: Close Calibre before using CLI commands.
& 'C:\Program Files\Calibre2\calibredb.exe' add 'PATH\TO\BOOK.epub' --library-path 'C:\Users\julien\OneDrive\Calibre\Calibre Library'
calibredb add "book.epub" --title "Title" --authors "Author" --library-path "..."
calibredb add "C:\Folder" --recurse --library-path "..."
WebSearch: "TITLE AUTHOR site:gutenberg.org/ebooks"/ebooks/24850 → 24850)curl -L "https://www.gutenberg.org/ebooks/24850.epub3.images" -o "book.epub"calibredb remove 123 --permanent --library-path "..."
calibredb remove 98,99,100,101 --permanent --library-path "..."
calibredb remove_format 123 PDF --library-path "..."
# Find IDs
calibredb search "author:Zola" --library-path "..."
# Remove
calibredb remove ID1,ID2 --permanent --library-path "..."
& 'C:\Program Files\Calibre2\ebook-convert.exe' 'input.pdf' 'output.epub'
ebook-convert 'input.pdf' 'output.epub' --enable-heuristics
calibredb add_format BOOK_ID 'output.epub' --library-path "..."
calibredb list --search 'formats:PDF NOT formats:EPUB' --fields id,title,formats --library-path "..."
| Type | Quality | Notes |
|---|---|---|
| Text PDF | Good | Direct conversion |
| Scanned/Image | Poor | Needs OCR |
| Mixed | Variable | Use heuristics |
calibredb show_metadata BOOK_ID --library-path "..."
calibredb set_metadata BOOK_ID -f 'title:New Title' --library-path "..."
calibredb set_metadata BOOK_ID -f 'authors:Author Name' --library-path "..."
calibredb set_metadata BOOK_ID -f 'languages:fra' --library-path "..."
calibredb set_metadata BOOK_ID -f 'tags:Fiction, Classic' --library-path "..."
calibredb set_metadata BOOK_ID -c 'cover.jpg' --library-path "..."
& 'C:\Program Files\Calibre2\ebook-meta.exe' 'book.epub'
calibredb list --library-path "..."
calibredb list --search 'language:eng' --library-path "..."
calibredb list --search 'formats:PDF AND formats:EPUB' --fields id,title --library-path "..."
python scripts/analyze/find_empty_books.py # Books with no format
python scripts/analyze/find_books_without_epub.py # PDF-only
python scripts/analyze/find_english_books.py # Filter by language
python scripts/analyze/analyze_library.py # Format statistics
# 1. Close Calibre + OneDrive
Stop-Process -Name calibre,OneDrive -Force -ErrorAction SilentlyContinue
# 2. Analyze
python scripts/analyze/find_empty_books.py
# 3. Remove
calibredb remove ID1,ID2 --permanent --library-path "..."
# 4. Clean orphaned folders
python scripts/force_delete_orphans.py
# 5. Reopen Calibre
# Find books with both formats
calibredb list --search 'formats:PDF AND formats:EPUB' --fields id,title --library-path "..."
# Remove PDF format
calibredb remove_format BOOK_ID PDF --library-path "..."
Get-PnpDevice | Where-Object { $_.FriendlyName -like "*Sony*" -or $_.FriendlyName -like "*Reader*" }
Use Calibre GUI (no CLI for device sync):
| Issue | Solution |
|---|---|
| Device not detected | Unplug, wait 5s, replug |
| "No suitable format" | Convert to EPUB first |
| Transfer fails | Check device storage |
| Script | Purpose |
|---|---|
scripts/analyze/find_empty_books.py | Books with no format |
scripts/analyze/find_books_without_epub.py | PDF-only books |
scripts/analyze/find_english_books.py | Filter by language |
scripts/manage/remove_books.py | Batch removal |
scripts/convert/batch_convert.py | Batch conversion |
scripts/force_delete_orphans.py | Clean orphaned folders |
# Add book
calibredb add "book.epub" --library-path "..."
# Remove book
calibredb remove ID --permanent --library-path "..."
# Convert PDF
ebook-convert "input.pdf" "output.epub" --enable-heuristics
# View metadata
calibredb show_metadata ID --library-path "..."
# Set metadata
calibredb set_metadata ID -f 'title:New Title' --library-path "..."
# List all
calibredb list --library-path "..."
# Search
calibredb search "author:Name" --library-path "..."
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.