← Back to Skills Marketplace
dannyxyz22

Book summarizer

by Daniel Lélis Baggio · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
179
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install book-summarizer
Description
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...
README (SKILL.md)

\r \r

Book Summarizer\r

\r Use this skill for requests like:\r \r

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

Rules\r

\r

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

Workflow\r

\r

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

Key Files\r

\r

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

Notes\r

\r

  • The packaged scripts use only the Python standard library.\r
  • Run the commands from the skill folder, or use explicit paths if you call them from elsewhere.\r
  • For very large books, prefer the automated pipeline over single-turn chat drafting.\r
  • 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.\r \r \r
Usage Guidance
This package is internally consistent and only operates on local text files via bundled Python scripts. Before installing: (1) ensure you have a Python runtime available (the skill's metadata omits this dependency), (2) be aware that summarization normally involves sending book text to the model/provider — do not use it for sensitive/private documents unless you trust your model endpoint, and (3) respect copyright for non-public works. The code is small and uses only the standard library; review it yourself if you want to confirm behavior locally.
Capability Analysis
Type: OpenClaw Skill Name: book-summarizer Version: 1.0.1 The book-summarizer skill bundle is a well-structured toolset for processing long-form text. The included Python scripts (book_tools.py, split_book.py, and verify_summary_ratio.py) use only the Python standard library to perform word counting, file splitting, and result aggregation. The instructions in SKILL.md are consistent with the stated purpose of achieving a specific compression ratio and do not contain any malicious prompt-injection attempts or unauthorized data access requests.
Capability Assessment
Purpose & Capability
Name/description match the included scripts and instructions. The three Python helper scripts implement counting, splitting, aggregating, and ratio verification which are appropriate for a summarizer. Minor mismatch: the skill declares no required binaries but the SKILL.md and scripts assume a Python runtime (commands like `python scripts/...`).
Instruction Scope
SKILL.md confines activity to local files and the provided scripts (count, split, aggregate, verify). It also instructs the agent to draft summary batches 'in chat' — which implies sending book text to the LLM provider during summarization. The skill itself does not add remote endpoints, but using it will typically transmit source text to whatever model/service the agent invokes.
Install Mechanism
No install spec (instruction-only). Scripts are bundled and rely only on the Python standard library; nothing is downloaded or executed from external URLs.
Credentials
No environment variables, credentials, or config paths are requested. The skill does not require unrelated secrets or system credentials.
Persistence & Privilege
always is false and the skill does not request elevated or persistent system presence. It does not modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install book-summarizer
  3. After installation, invoke the skill by name or use /book-summarizer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Added a warning to the description: the skill may consume many tokens because it can run multiple times to meet the requested compression rate. - No functional or workflow changes. All rules and procedures remain the same.
v1.0.0
- Initial release of the Book Summarizer skill. - Summarizes long-form books to a verified 20% compression ratio (18%–22% accepted). - Supports user’s language preference for summary output. - Handles large books by batching summaries and merging them before ratio validation. - Includes Python scripts for word counting, batch splitting, merging, and ratio verification. - Strictly rejects summaries outside the allowed compression range.
Metadata
Slug book-summarizer
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 179 downloads so far.

How do I install Book summarizer?

Run "/install book-summarizer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Book summarizer free?

Yes, Book summarizer is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Book summarizer support?

Book summarizer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Book summarizer?

It is built and maintained by Daniel Lélis Baggio (@dannyxyz22); the current version is v1.0.1.

💬 Comments