Agent skill

ebook-analysis

Parse ebooks, extract concepts and entities with citation traceability, classify by type/layer, and synthesize across book collections.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill ebook-analysis-jwynia-agent-skills --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 19 KB
Bundled scripts: none
Version: 2.1
Declared author: jwynia
Path: skills/analysis/ebook-analysis-jwynia-agent-skills/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Analyzes ebooks to extract knowledge with full citation traceability. Supports two extraction modes: Concept Extraction (ideas and abstraction layers) and Entity Extraction (named studies, researchers, frameworks, anecdotes, concepts) across books, with outputs as JSON files for concepts and analysis in a knowledge base structure.

How it works

  • Mode 1: Concept Extraction focuses on ideas categorized by abstraction level (Principle, Mechanism, Pattern, Strategy, Tactic) and abstraction layers (0 to 4). Outputs include analysis.json and concepts.json.
  • Mode 2: Entity Extraction identifies named entities (study, researcher, framework, anecdote, concept) and outputs Markdown files organized in a knowledge base structure. It includes an entity file template and a quotes extraction workflow.
  • The extraction workflow comprises parsing ebooks with ea-parse.ts, running kb-resolve-entity.ts to check for duplicates, creating/updating entity files, adding quotes, linking related entities, and regenerating the index via kb-generate-index.ts.
  • Cross-book synthesis is supported after multiple books are processed, using cross-book overlap detection and synthesis documentation.

When to use it

Use Mode 1 when you want to understand a book's argument structure or create actionable takeaways via conceptual extraction. Use Mode 2 when building a reference library across books to resolve entities and track how researchers, studies, frameworks, anecdotes, and concepts appear across sources. Both modes can be run sequentially for comprehensive coverage.

What it can touch

  • Parsing tools: ea-parse.ts
  • Knowledge base tools: kb-generate-index.ts, kb-resolve-entity.ts
  • Validation tools: ea-validate.ts
  • Outputs: analysis.json, concepts.json, and various Markdown files under a knowledge base structure for entities, quotes, and cross-book synthesis

Caveats

  • Emphasizes citation traceability; extracts with provenance rather than volume without sources
  • Requires checking for entity duplicates before creation
  • Cross-book synthesis is triggered after 2+ books have been processed; details are provided in the workflow
From the SKILL.md

# Ebook Analysis: Non-Fiction Knowledge Extraction You analyze ebooks to extract knowledge with full citation traceability. This skill supports two complementary extraction modes: 1. **Concept Extraction** - Extract ideas classified by abstraction (principle → tactic) 2. **Entity Extraction** - Extract named things (studies, researchers, frameworks, anecdotes) that persist across books ## Core Principle **Every extraction must be traceable to its exact source.** Citation traceability is non-negotiable. Extract less with full provenance rather than more without it. --- ## Two Extraction Modes ### Mode 1: Concept Extraction For extracting IDEAS organized by abstraction level. **Use when:** Analyzing a book for transferable ideas, building a concept taxonomy, understanding how abstract principles relate to concrete tactics. **Output:** JSON files (analysis.json, concepts.json) **Example:** "Spaced repetition improves retention" is a MECHANISM at Layer 2. ### Mode 2: Entity Extraction For extracting NAMED THINGS that can be cross-referenced across books. **Use when:** Building a knowledge base where the same study, researcher, or framework appears in multiple books. The goal is entity

What's inside
Steps it walks through
  1. Core Principle
  2. Two Extraction Modes
  3. Mode 1: Concept Extraction
  4. Mode 2: Entity Extraction
  5. Choosing a Mode
  6. Entity Extraction Mode (Detailed)
  7. Entity Types
  8. Extended Entity Type Guidance
  9. Author-as-Subject Pattern
  10. Entity File Template
  11. Knowledge Base Structure
  12. Quotes Extraction
  13. Entity Extraction Workflow
  14. Entity Extraction States (KB0-KB5)
Ships with 1 file
  • metadata.json
Commands it runs
grep -l "Sources in Collection" knowledge/nonfiction/**/*.md | \
xargs grep -l "| .* | .* |" | head -20
deno run --allow-read scripts/ea-parse.ts path/to/book.txt
deno run --allow-read scripts/ea-parse.ts path/to/book.epub --format epub
deno run --allow-read scripts/ea-parse.ts book.txt --chunk-size 1500 --overlap 150
deno run --allow-read --allow-write scripts/kb-generate-index.ts /path/to/knowledge
deno run --allow-read scripts/kb-resolve-entity.ts "Flynn Effect"
deno run --allow-read scripts/kb-resolve-entity.ts "Hogarth" --threshold 0.5
deno run --allow-read scripts/kb-resolve-entity.ts "kind learning" --json
deno run --allow-read scripts/ea-validate.ts analysis.json --report
More from claude-skill-registry
All skills →
About this skill
What does the ebook-analysis skill do?

Parse ebooks, extract concepts and entities with citation traceability, classify by type/layer, and synthesize across book collections.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill ebook-analysis-jwynia-agent-skills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going