跳到正文
TakoAPI
返回技能列表

calibre-metadata-apply

由 nextaltair 提供

DevOps & Cloud
575下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Apply metadata updates to existing Calibre books via calibredb over a Content server.

描述

该技能的功能

Updates metadata on existing books in a Calibre library using calibredb over a Content server. Requires confirmed book IDs before writing and enforces a mandatory dry-run before any changes are applied. Supports fields like title, authors, series, tags, publisher, pubdate, and structured HTML comment blocks.

Requires ID confirmation and a dry-run gate before any remote write, reducing the risk of bulk metadata corruption common with direct calibredb usage.

何时使用

  • Correcting author names on imported ebooks
  • Adding series and series index to a book collection
  • Fixing publication dates on scanned PDFs
  • Bulk updating tags after a library reorganization
  • Setting language fields on foreign-language titles

示例工作流

输入

User asks: update the author and series fields for books with IDs 42 and 43

智能体
  1. 1

    Runs a read-only lookup and displays current title, authors, series, and series_index for IDs 42 and 43

  2. 2

    Asks user to confirm the target IDs before proceeding

  3. 3

    Builds a JSONL payload with the approved field changes

  4. 4

    Runs a dry-run to preview the changes without applying them

  5. 5

    Applies changes after explicit user approval and re-reads final values to confirm

输出

Author and series metadata updated on the Calibre Content server for the confirmed book IDs

前置要求

  • CALIBRE_PASSWORD environment variable
  • Calibre installed with calibredb available on PATH
  • Calibre Content server running and accessible at a known URL

安装

clawhub install nextaltair/calibre-metadata-apply

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接