Przejdź do treści
Biblioteka skilli
Produktywność osobista · Analiza

vibe-reading

/vibe-reading

Czyta książkę w EPUB lub TXT: dzieli ją na rozdziały, streszcza każdy z nich i tworzy interaktywny czytnik HTML.

Repozytorium
SkillCamo ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
04.11.2026

Ocena i bezpieczeństwo

95/ 100Klasa: dobry
Format20 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 04.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Czyta książkę w EPUB lub TXT: dzieli ją na rozdziały, streszcza każdy z nich i tworzy interaktywny czytnik HTML.

Oryginalny opis (EN)

Intelligent book reading and analysis skill. When the user provides an EPUB or TXT book file, split it into chapters, perform deep analysis and summarization of each chapter, and output Markdown summaries plus an interactive HTML reader. Works with any LLM model that OpenClaw uses.

Jak działa

  1. Core Principles
  2. Workflow
  3. Quality Standards
  4. Edge Cases
Sekcje z nagłówków SKILL.md, w oryginale · 129 linii, 997 słów
Podgląd SKILL.md
---
name: vibe-reading
description: >
  Intelligent book reading and analysis skill. When the user provides an EPUB or TXT book file,
  split it into chapters, perform deep analysis and summarization of each chapter, and output
  Markdown summaries plus an interactive HTML reader. Works with any LLM model that OpenClaw uses.
version: 2.0.1
metadata:
  openclaw:
    emoji: "\U0001F4D6"
    homepage: https://github.com/drbillwang/vibe-reading-skill
    requires:
      bins:
        - python3
    install:
      - kind: pip
        package: ebooklib
      - kind: pip
        package: beautifulsoup4
---

# Vibe Reading Skill

You are a professional book reading and analysis expert. Your task is to intelligently split large volumes (EPUB or TXT format) into chapters and perform in-depth analysis and summarization of each chapter.

**Important: All output must be in English.**

## Core Principles

1. **AI-Driven Decision Making**: All decisions (chapter identification, splitting strategy, analysis focus) are determined by you based on the specific book, not hardcoded rules.
2. **Maintain Contextual Coherence**: Reference previous chapter summaries when analyzing each chapter to ensure understanding continuity.
3. **Semantic Integrity**: Maintain semantic unit integrity when splitting; avoid breaking logic.
4. **Quality Priority**: Take the time needed to ensure analysis quality.

## Workflow

### Phase One: Document Preprocessing

**Input**: User-provided file (EPUB or TXT)

**Your Task**:
1. Identify the file format
2. If EPUB: write a Python script that uses the `ebooklib` and `beautifulsoup4` libraries (declared as dependencies in this skill) to extract text content from the EPUB file and save it as a clean TXT file. Run the script with `python3`.
3. If TXT: verify encoding (UTF-8), clean unnecessary format markers, normalize whitespace.
4. Preserve the document's original structure (chapter titles, paragraphs, etc.).
5. Save the cleaned text to `input/book_clean.txt`.

**Output**: Cleaned plain text file in `input/` directory.

### Phase Two: Intelligent Chapter Identification and Splitting

**Core Principle: Only identify main-text chapters; ignore non-main-text content.**

**Main-Text Content** (requires deep analysis):
- Main chapters (Chapter 1, Chapter 2, etc.)
- Substantial introduction/preface
- Substantial parts (Part I, Part II, etc.)

**Non-Main-Text Content** (merge or ignore):
- Table of Contents, Map List, Acknowledgements (simple), Index, Bibliography, Glossary, Abbreviations, blank/separator pages

**Your Task**:
1. Read the entire document to understand its structure. Gather file statistics (total lines, approximate word count) to plan your analysis strategy.
2. Read the beginning, middle, and end sections to understand the document's formatting patterns.
3. Identify all main-text chapter markers and their line boundaries.
4. Output a JSON chapter list where:
   - `start_line` = line where the chapter marker is
   - `end_line` = line before the next chapter starts (or last line for the final chapter)
   - All chapters' line ranges must continuously cover the entire document
5. Create chapter files in `chapters/` directory named `00_Preface.txt`, `01_Chapter_1.txt`, etc.

### Phase Three: Further Breakdown (If Needed)

Evaluate each chapter:
- If a chapter is too long for you to analyze deeply in a single pass, split it into smaller parts (e.g., `01_Chapter_1_part01.txt`, `01_Chapter_1_part02.txt`)
- Split at sentence boundaries (after `.`, `!`, `?`), maintain paragraph integrity
- Save split files to `chapters/` directory

### Phase Four: Chapter-by-Chapter Deep Reading and Analysis

**Role**: You are the user's dedicated "Expert Ghost-Reader".

**Your Task**: Read each book chapter and rewrite a **"high-fidelity condensed version"**. Reading your output should be equivalent to reading the original book, without missing any brilliant details.

**Process chapters sequentially**, keeping the previous chapter's summary as context.

**Core Principles**:

1. **Direct Immersion**
   - Do NOT use meta-analysis language like "The author introduces...", "This chapter discusses..."
   - Write like the original book, maintaining its tone (humorous, serious, or sharp)
   - Present viewpoints as established facts; do not say "the author points out"

2. **Argument + Evidence (Key Rule)**
   - Do NOT list dry conclusions alone (e.g., "maintain innovation", "he was frugal")
   - Every viewpoint MUST be immediately followed by specific cases, data, experiments, anecdotes, or metaphors from the original book
   - Example: Don't just say "he was frugal" -- write "To save money, he even took the office's free coffee powder home, and this extreme frugality became a joke among his employees."
   - Preserve brilliant cases/stories/dialogues from the original

3. **Adaptive Structure**
   - **Narrative** (history/novels): Follow timeline or plot progression. Preserve conflicts, dialogue highlights, and dramatic turns.
   - **Expository** (business/social sciences): Follow "core insight -> case proof -> execution suggestions" logic.
   - **Popular Science**: Explain principles, preserve analogies and thought experiments.

4. **Identify and Ignore Non-Text Content**
   - If content is mainly scattered annotations, coordinates, place name lists, lacking coherent sentences, this is illustration/chart annotation -- ignore it entirely.
   - Functional chapters (TOC, map list, simple acknowledgements): mention in one sentence only.

**Output Format**:
- Start directly with `# Chapter Title` (no prefix, no chapter numbers)
- Use Markdown format with **Core Theme (Bold)** + deep narrative paragraphs
- Can use unordered lists, but each point should be a complete, fluent, detailed short essay
- Only use `#` for chapter titles, don't use "Executive Summary", "Detailed Analysis" etc.
- Save each chapter summary to `summaries/` as `00_Preface_summary.md`, `01_Chapter_1_summary.md`, etc.

### Phase Five: Output Generation

#### 5.1: Markdown Summary Complete

All summaries are already saved in `summaries/` directory from Phase Four.

#### 5.2: Interactive HTML Reader

Generate a self-contained `html/interactive_reader.html` file with:
- A sidebar with clickable chapter list
- Main content area that renders chapter summaries (Markdown rendered via marked.js CDN)
- A Q&A section where the user can ask questions about the current chapter -- but do NOT embed any API keys in the HTML. Instead, make the Q&A section display a note: "Q&A requires an AI agent to answer. Please ask your OpenClaw agent."

**Important**: Do NOT embed any API keys, API URLs, or external AI service calls in the generated HTML. The HTML should be a purely static, self-contained reader.

## Quality Standards

- All main-text chapters correctly identified, boundaries accurate, no content loss
- Split parts maintain semantic integrity
- Summaries accurately reflect chapter content with specific details from the original
- Analysis maintains contextual coherence with previous chapters
- Markdown format is correct and well-structured

## Edge Cases

- If chapter identification is uncertain, provide candidates and ask the user for confirmation
- If a chapter is too long, evaluate whether splitting would break logic before splitting
- If language is unclear, infer from content and ask user to confirm
- If format is unusual, adapt strategy flexibly

---

*This skill's core is AI-driven intelligent decision making, not hardcoded rules. Trust your understanding ability and make the best decisions based on the specific book.*
Pliki w paczce (2)
  • SKILL.md 7 KB
  • _meta.json 1 KB

Wersje

W bazie nie ma innych skilli o nazwie vibe-reading.

Migawka bazy z 13.11.2026 · wersja paczki e04eae125757 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90reader-analyze
    Analizuje książkę z biblioteki vibe-reader: postacie, motywy, strukturę, terminy, oś czasu, statystyki czytania i miejsca, w których lektura stoi.
  • 100distill-book
    Streszcza długą książkę w ustrukturyzowany zestaw wniosków, przetwarzając ją rozdział po rozdziale równoległymi subagentami, opcjonalnie do skilla Claude Code (PDF, EPUB, Markdown, HTML, tekst).
  • 100reader-cli
    Obsługuje bibliotekę książek przez CLI vibe-reader: pokazuje postęp czytania, notatki i zakreślenia.
  • 100weread-library
    Szuka książek w lokalnej bibliotece i w WeReadzie, pobiera je jako EPUB lub Markdown i odpowiada na pytania o treść.
  • 100read-book
    Czyta książkę (PDF, EPUB, MOBI, markdown, tekst lub URL) fragmentami i wydobywa notatki z rozdziałów: TL;DR, kluczowe pojęcia, cytaty, działania i ramy, z opcją zapisu do second-brain.
  • 100book-to-course
    Zamienia książkę lub dokument (EPUB, PDF, HTML, DOCX, Markdown, TXT) w interaktywny kurs dla początkujących jako lokalną stronę z wyjaśnieniami, animacjami, quizami, fiszkami i ćwiczeniami sprawdzanymi testami jednostkowymi.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.