library_health

library_health is a skill for Claude Code from sandraschi/calibremcp. It costs 0 tokens per session (545 once invoked), scanned A, original, MIT.

A health checker for a Calibre ebook library. It looks for duplicate books, missing information or covers, broken file links, inconsistent tags, and other database problems.

In plain words
What is it for?
Generating library health reports, finding duplicates, checking database integrity, reviewing missing metadata, and spotting inconsistent tags.
Why use it?
It shows what needs cleanup or repair instead of making you inspect books and metadata one by one.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the calibre-mcp plugin — 6 skills shipped together

Good fit Generating library health reports, finding duplicates, checking database integrity, reviewing missing metadata, and spotting inconsistent tags.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sandraschi/calibremcp/library_health
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sandraschi/calibremcp --skill library_health
Clone the repo
git clone --depth 1 https://github.com/sandraschi/calibremcp

Made for: Claude Code.

Or install calibre-mcp, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for library_health

README.md
[![agentmods](https://agentmods.dev/badge/skills/sandraschi/calibremcp/library_health/github.svg)](https://agentmods.dev/skills/sandraschi/calibremcp/library_health)
Your own site
<a href="https://agentmods.dev/skills/sandraschi/calibremcp/library_health"><img src="https://agentmods.dev/badge/skills/sandraschi/calibremcp/library_health/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for library_health

Your own site · 80×15
<a href="https://agentmods.dev/skills/sandraschi/calibremcp/library_health"><img src="https://agentmods.dev/badge/skills/sandraschi/calibremcp/library_health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 545 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00545
Opus 5 $0.00000 $0.00272
Sonnet 5 $0.00000 $0.00109
Haiku 4.5 $0.00000 $0.00055

Measured 12d ago against content hash 47659062d5ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

library_health scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/library_health/SKILL.md · 37 lines

How it starts

The opening of the file, as written. The whole thing — 37 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

  1. Duplicate sweep: Run manage_analysis(operation="duplicates") first. Review grouped candidates. Merge or delete duplicates.
  2. Health report: Run manage_analysis(operation="health") for an overview. Note missing covers, authors, or tags.
  3. Tag hygiene: Run manage_tags(operation="list"). Look for variants: "sci-fi" vs "scifi" vs "science-fiction". Normalize via bulk metadata update.
  4. Format audit: Health report shows format distribution (epub, mobi, pdf, azw3). Identify books missing your preferred format. Use Calibre conversion tools to fill gaps.
  5. Cover recovery: Books missing covers: use manage_metadata(operation="download_cover", book_id=...) for each, or batch via agentic workflow.
  6. Integrity validation: Run manage_library_operations(operation="integrity_check"). Fix any broken format links or dangling orphans.

Read the full file on GitHub · 37 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 37 lines · 0 tokens per session scan A 47659062d5ac

Subscribe to this mod's changes

library_health is a skill published in the GitHub repository sandraschi/calibremcp (42 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 545 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

database-connections

Connect a Mendix app to an external database over JDBC with the External Database Connector, and define the queries microflows run against it. Use when the app must read or write Oracle, PostgreSQL, MySQL or SQL Server directly from a microflow.

mendixlabs/mxcli · 55 tokens

demo-data

Seed a Mendix app's PostgreSQL database directly, bypassing the runtime — Mendix's internal ID system, association storage, and bulk import from an external database. Use when populating test or demo data, when data is needed before the UI exists, or for imports too large for the runtime.

mendixlabs/mxcli · 66 tokens

write-oql-queries

Write OQL for Mendix VIEW entities — joins, aggregates, calculated fields, and the syntax the runtime actually accepts. Use when creating a VIEW entity or building a report or analytics query.

mendixlabs/mxcli · 44 tokens

connect-rapidminer-graph

Fetch data from a RapidMiner graph mart or any SPARQL 1.1 HTTP endpoint (AnzoGraph and friends) and surface it as Mendix entities. Use when a graph database with a SPARQL endpoint has to feed a Mendix app read-only.

mendixlabs/mxcli · 62 tokens

mdl-entities

Complete syntax reference for entities, attributes and associations — every entity kind, attribute type, and association form. Use when writing or altering a domain model and the exact spelling matters.

mendixlabs/mxcli · 39 tokens

mendix-odata-pushdown

Push OData query options into the SQL of a Mendix resource served by a read microflow, so $filter, $orderby, $top, $skip, $count and the key lookup reach the database instead of being silently dropped. Use when publishing an OData resource over data Mendix has no table for — a warehouse view, a legacy database, a…

mendixlabs/mxcli · 117 tokens