← 返回
未分类 中文

Book summarizer

Use this skill when the user wants a long-form book summarized in the user's preferred language at an explicitly verified 20 percent compression ratio, with...
当用户希望以用户偏好的语言对长篇书籍进行摘要,且明确要求压缩比为20%时,使用此技能……
dannyxyz22
未分类 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 1
Stars
📥 481
下载
💾 10
安装
1
版本
#latest

概述

Book Summarizer

Use this skill for requests like:

  • "Summarize this book at a 20% compression ratio"
  • "Generate a substantial summary and verify the ratio"
  • "Produce the summary in batches and validate the final total"

Rules

  • Default target ratio: 0.20
  • Default tolerance: 0.02
  • Accept only summaries between 18% and 22% of the original word count
  • Output must be in user's language of choice (e.g., pt-BR)
  • If the ratio is outside the allowed range, do not import the summary
  • In chat-only mode, if the source is very large, generate the summary in multiple batches and merge them before validation
  • All packaged helper scripts live in scripts/ inside this skill folder

Workflow

  1. Start from a local plain-text book file or a downloaded Project Gutenberg text.
  2. Count the source words with python scripts/book_tools.py count .
  3. Compute the target summary length with python scripts/book_tools.py target --ratio 0.20.
  4. If the source is too large for one reply, split it with python scripts/split_book.py 3000.
  5. Draft summary batches in order, preserving chronology and section fidelity.
  6. Merge the batches with python scripts/book_tools.py aggregate .
  7. Validate the final ratio with python scripts/verify_summary_ratio.py .

Key Files

  • scripts/book_tools.py
  • scripts/split_book.py
  • scripts/verify_summary_ratio.py
  • SKILL.md

Notes

  • The packaged scripts use only the Python standard library.
  • Run the commands from the skill folder, or use explicit paths if you call them from elsewhere.
  • For very large books, prefer the automated pipeline over single-turn chat drafting.
  • In chat-only mode, books above roughly 80k words should be summarized over multiple turns; do not pretend a single short draft satisfies the 20% rule.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-30 14:44 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,192
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,358 📥 318,424
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,215 📥 266,559