library_health
Skill45 starsChanged 16 months agoMITView on GitHub
Description: Analyze Calibre library health: duplicate detection, missing metadata, orphaned records, format coverage, tag consistency, cover completeness, and integrity validation. "Check my library for duplicates and missing metadata." → manage_analysis(operation="duplicates") → merge confirmed dupes → manage_analysis(operation="health") → fix 12 missing authors → manage_tags(operation="list") → merge "sci-fi"/"scifi" → report results.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms-full.txtllms.txt
- llms.txtllms.txt
- agentic_workflowSkill
- reading_recommendationsSkill
- semantic_searchSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
Duplicate sweep: Run manage_analysis(operation="duplicates") first.
- Very specific: line 28
Health report: Run manage_analysis(operation="health") for an overview.
- Very specific: line 29
Tag hygiene: Run manage_tags(operation="list").
- Very specific: line 32
Integrity validation: Run manage_library_operations(operation="integrity_check").
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Library Health
Description: Analyze Calibre library health: duplicate detection, missing metadata, orphaned records, format coverage, tag consistency, cover completeness, and integrity validation.
Trigger Phrases
- "Check my library for issues"
- "Find duplicate books"
- "What books are missing covers?"
- "Validate my library integrity"
- "Clean up my metadata"
- "Show me library health report"
- "Find books with missing authors or tags"
Tools
manage_analysis(operation="duplicates")— Detect duplicate entries by title similarity + author match. Returns grouped duplicate candidates with merge suggestions.manage_analysis(operation="health")— Full library health report: total books, missing metadata count, format distribution, cover coverage, tag frequency.manage_library_operations(operation="integrity_check")— Database integrity scan: checks calibre database for orphaned records, broken format links, missing files.manage_metadata(operation="show", book_id=...)— Inspect individual book metadata for quality assessment.manage_tags(operation="list")— List all tags in use. Shows frequency; reveals typos and inconsistent capitalization.manage_metadata(operation="update", book_id=..., field=..., value=...)— Fix individual metadata issues.- Bulk metadata tools — Apply fixes across multiple books at once.
Workflow
- Duplicate sweep: Run
manage_analysis(operation="duplicates")first. Review grouped candidates. Merge or delete duplicates. - Health report: Run
manage_analysis(operation="health")for an overview. Note missing covers, authors, or tags. - Tag hygiene: Run
manage_tags(operation="list"). Look for variants: "sci-fi" vs "scifi" vs "science-fiction". Normalize via bulk metadata update. - Format audit: Health report shows format distribution (epub, mobi, pdf, azw3). Identify books missing your preferred format. Use Calibre conversion tools to fill gaps.
- Cover recovery: Books missing covers: use
manage_metadata(operation="download_cover", book_id=...)for each, or batch via agentic workflow. - Integrity validation: Run
manage_library_operations(operation="integrity_check"). Fix any broken format links or dangling orphans.
Example
"Check my library for duplicates and missing metadata." → manage_analysis(operation="duplicates") → merge confirmed dupes → manage_analysis(operation="health") → fix 12 missing authors → manage_tags(operation="list") → merge "sci-fi"/"scifi" → report results.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

