ebook-analysis▌
jwynia/agent-skills · updated Apr 8, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
You analyze ebooks to extract knowledge with full citation traceability. This skill supports two complementary extraction modes:
Ebook Analysis: Non-Fiction Knowledge Extraction
You analyze ebooks to extract knowledge with full citation traceability. This skill supports two complementary extraction modes:
- Concept Extraction - Extract ideas classified by abstraction (principle → tactic)
- 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 resolution—recognizing that "Hogarth's framework" in Range is the same as "kind/wicked environments" mentioned elsewhere.
Output: Markdown files in knowledge base structure
Example: "Kind vs Wicked Environments" is a FRAMEWORK by Robin Hogarth.
Choosing a Mode
| If you want to... | Use Mode |
|---|---|
| Understand a book's argument structure | Concept Extraction |
| Build a reference library across books | Entity Extraction |
| Create actionable takeaways | Concept Extraction |
| Track what researchers say across sources | Entity Extraction |
| Both | Run both modes sequentially |
Entity Extraction Mode (Detailed)
Entity Types
| Type | What It Captures | Example |
|---|---|---|
| study | Research findings, experiments, data | Flynn Effect, Marshmallow Test |
| researcher | People and their contributions | Anders Ericsson, Robin Hogarth |
| framework | Mental models, taxonomies, systems | Kind vs Wicked, Desirable Difficulties |
| anecdote | Stories used to illustrate points | Tiger vs Roger, Challenger Disaster |
| concept | Ideas that aren't frameworks | Cognitive entrenchment, Match quality |
Extended Entity Type Guidance
Some entities don't fit cleanly into the five types. Guidelines:
| Entity Kind | Use Type | Rationale |
|---|---|---|
| Simulations/Games (Superstruct, EVOKE) | anecdote | Illustrative events, even if hypothetical |
| Institutions (IFTF, WEF) | researcher | Organizations contribute ideas like individuals |
| Historical events (Challenger disaster) | anecdote | Stories that illustrate principles |
| Hypothetical scenarios | anecdote | Future scenarios from books like Imaginable |
| Thought experiments | framework | If systematic; otherwise concept |
When uncertain: Default to anecdote for narratives/events, concept for ideas, framework for systematic methods.
Author-as-Subject Pattern
When the book's author is also a significant entity (e.g., Jane McGonigal in Imaginable):
Create a researcher entity if:
- Author has notable prior work or institutional affiliation
- Author appears in Wikipedia or other reference sources
- Author's background/credentials are relevant to understanding the book
- Other books in your collection might reference them
Skip if:
- Author is primarily known only for this book
- No external sources to verify/enrich the entity
Template addition for author-subjects:
## Note
This researcher is the author of [Book] in our collection. Their frameworks and concepts are documented separately.
Entity File Template
# [Entity Name]
**Type:** study | researcher | framework | anecdote | concept
**Status:** stub | partial | solid | authoritative
**Last Updated:** YYYY-MM-DD
**Aliases:** alias1, alias2, alias3
## Summary
[2-3 sentence synthesized understanding]
## Key Findings / What It Illustrates
1. [Claim or finding with source]
— Source: [Book], Ch.[X]
2. [Another claim]
— Source: [Book], Ch.[X]
## Key Quotes
> "Quotable text here."
> "Another memorable quote."
## Sources in Collection
| Book | Author | How It's Used | Citation |
|------|--------|---------------|----------|
| Range | Epstein | [Role in book] | Ch.X |
## Sources NOT in Collection
- [Book that would enrich this entity]
## Related Entities
- [Other Entity](../type/other-entity.md) - Relationship description
## Open Questions
- [What we don't yet know]
Knowledge Base Structure
/knowledge/
├── _index.md # Master registry
├── _entities.json # Searchable index (generated)
│
├── nonfiction/
│ ├── _index.md # Domain index
│ ├── _[book]-quotes.md # Book-specific quotes file
│ ├── studies/
│ │ ├── flynn-effect.md
│ │ └── chase-simon-chunking.md
│ ├── researchers/
│ │ ├── hogarth-robin.md
│ │ └── tetlock-philip.md
│ ├── frameworks/
│ │ ├── kind-vs-wicked-environments.md
│ │ └── desirable-difficulties.md
│ ├── anecdotes/
│ │ ├── tiger-vs-roger.md
│ │ └── challenger-disaster.md
│ └── concepts/
│ ├── cognitive-entrenchment.md
│ └── match-quality.md
│
├── cooking/ # Domain-specific structure
│ ├── techniques/
│ ├── ingredients/
│ └── equipment/
│
└── technical/
├── patterns/
└── technologies/
Quotes Extraction
Quotable quotes are a distinct extraction type. For each book, create a quotes file:
File: _[book-slug]-quotes.md
Structure:
# Quotable Quotes from [Book Title]
**Author:** [Author]
**Last Updated:** YYYY-MM-DD
## On [Theme 1]
> "Quote text here."
> "Another quote on same theme."
## On [Theme 2]
> "Quote on different theme."
What makes a good quote:
- Memorable phrasing that captures a key insight
- Self-contained (understandable without context)
- Surprising or counterintuitive formulation
- Useful for presentations, writing, or reference
Entity Extraction Workflow
- Scan book - Read through identifying named studies, researchers, frameworks, illustrative stories
- Check existing entities - Use
kb-resolve-entity.tsto see if entity already exists - Create or update - New entity → create file; existing → add as source
- Add quotes - Extract memorable quotes to quotes file
- Cross-link - Add Related Entities sections
- Regenerate index - Run
kb-generate-index.ts
Entity Extraction States (KB0-KB5)
| State | Symptoms | Intervention |
|---|---|---|
| KB0 | No knowledge base | Create directory structure |
| KB1 | Structure exists, no entities | Begin extraction |
| KB2 | Extracting from book | Create entity files |
| KB3 | Entities created, not linked | Add Related Entities |
| KB4 | Linked, no index | Run kb-generate-index.ts |
| KB5 | Complete for this book | Proceed to next book |
Cross-Book Synthesis Workflow
Triggered when: 2+ books have been extracted to the knowledge base.
Goals:
- Find entities that appear in multiple books
- Identify conceptual connections between books
- Surface contradictions or complementary perspectives
- Update entity files with multi-source synthesis
Process:
-
Entity overlap detection
# Find entities with 2+ sources grep -l "Sources in Collection" knowledge/nonfiction/**/*.md | \ xargs grep -l "| .* | .* |" | head -20Or manually review entities updated with new source.
-
Conceptual connection mapping
- Compare frameworks across books (e.g., Range's "wicked environments" ↔ Imaginable's "futures thinking")
- Identify shared researchers (e.g., Tetlock appears in both Range and Imaginable)
- Look for complementary themes (prediction failure → preparation despite uncertainty)
-
Synthesis documentation For entities appearing in 2+ books, update the Summary section:
## Summary [Synthesized understanding from BOTH sources, noting agreements and differences] -
Cross-book insights Document thematic connections in
context/insights/cross-book-{theme}.md:# Cross-Book Insight: [Theme] ## Books Contributing - Range (Epstein) - [perspective] - Imaginable (McGonigal) - [perspective] ## Synthesis [How the books complement or contradict each other]
Concept Extraction Mode (Detailed)
Concept Types (Abstract → Concrete)
| Type | Definition | Example |
|---|---|---|
| Principle | Foundational truth or axiom | "Communities form around shared identity" |
| Mechanism | How something works | "Reciprocity creates social bonds" |
| Pattern | Recurring structure or approach | "The community lifecycle pattern" |
| Strategy | High-level approach to achieve goals | "Build trust before asking for contribution" |
| Tactic | Specific actionable technique | "Send welcome emails within 24 hours" |
Abstraction Layers
| Layer | Name | Abstraction | Example |
|---|---|---|---|
| 0 | Foundational | Universal principles | "Humans seek belonging" |
| 1 | Theoretical | Domain-specific theory | "Community requires shared purpose" |
| 2 | Strategic | Approaches and frameworks | "The funnel model of engagement" |
| 3 | Tactical | Specific methods | "Onboarding sequences" |
| 4 | Specific | Concrete implementations | "Use Discourse for forums" |
Relationship Types
| Relationship | Meaning | When to Use |
|---|---|---|
| INFLUENCES | A affects B | Causal or correlational connection |
| SUPPORTS | A provides evidence for B | Citation, example, validation |
| CONTRADICTS | A conflicts with B | Opposing claims |
| COMPOSED_OF | A contains B | Part-whole relationships |
| DERIVES_FROM | A is derived from B | Logical conclusions |
Concept Extraction States (EA0-EA7)
| State | Symptoms | Intervention |
|---|---|---|
| EA0 | No input file | Guide file preparation |
| EA1 | Raw file, not parsed | Run ea-parse.ts |
| EA2 | Parsed, not extracted | LLM extracts concepts |
| EA3 | Extracted, not classified | Assign types and layers |
| EA4 | Classified, not annotated | Add themes, relationships |
| EA5 | Single book complete | Export or proceed to synthesis |
| EA6 | Multi-book ready | Cross-book synthesis |
| EA7 | Analysis complete | Generate reports |
Concept Extraction Workflow
- Parse - Run
ea-parse.tsto chunk book with position tracking - Extract - Present chunks to LLM for concept identification with exact quotes
- Classify - Assign type (principle→tactic) and layer (0-4)
- Annotate - Add themes and functional analysis
- Link - Connect related concepts
- Export - Generate analysis.json, concepts.json, report.md
Available Tools
Parsing Tools
ea-parse.ts
Parse ebook files into chunks with metadata and position tracking.
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
Output: JSON with metadata, chapters (if detected), and chunks with positions.
Knowledge Base Tools
kb-generate-index.ts
Scan knowledge base and generate searchable entity index.
deno run --allow-read --allow-write scripts/kb-generate-index.ts /path/to/knowledge
Output: Creates _entities.json with all entities, aliases, and metadata.
kb-resolve-entity.ts
Search for existing entities before creating duplicates.
deno run --allow-read scripts/kb-resolve-entity.ts How to use ebook-analysis on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add ebook-analysis
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches ebook-analysis from GitHub repository jwynia/agent-skills and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate ebook-analysis. Access the skill through slash commands (e.g., /ebook-analysis) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
User Story & Requirements Generation
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Competitive Analysis
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Roadmap Prioritization
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client
- ›Access to product documentation and roadmap tools (Jira, Notion, etc.)
- ›Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
- ›Stakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Installation Steps
- 1.Install product management skill
- 2.Start with user story generation for known feature
- 3.Progress to competitive analysis: research 2-3 competitors
- 4.Use for roadmap prioritization: apply RICE/ICE scoring
- 5.Draft stakeholder communications and refine based on feedback
- 6.Build template library for recurring PM tasks
- 7.Share effective prompts with product team
Common Pitfalls
- ⚠Not validating competitive research—verify facts before sharing
- ⚠Accepting user stories without involving engineering team
- ⚠Over-relying on frameworks without qualitative judgment
- ⚠Not customizing outputs to company culture and communication style
- ⚠Skipping stakeholder validation of generated requirements
Best Practices▌
✓ Do
- +Validate research and competitive analysis with real data
- +Collaborate with engineering when generating technical requirements
- +Customize frameworks and templates to your company context
- +Use skill for first drafts, refine with stakeholder input
- +Document successful prompt patterns for PM tasks
- +Combine AI efficiency with human judgment and intuition
✗ Don't
- −Don't publish competitive analysis without fact-checking
- −Don't finalize user stories without engineering review
- −Don't make prioritization decisions solely on AI scoring
- −Don't skip customer validation of generated requirements
- −Don't ignore company-specific context and culture
💡 Pro Tips
- ★Provide context: company goals, constraints, customer feedback
- ★Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
- ★Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
- ★Use skill for 70% generation + 30% customization to company needs
When to Use This▌
✓ Use When
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid When
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path▌
- 1Basic: user stories, feature specs, status updates
- 2Intermediate: competitive analysis, prioritization frameworks, PRDs
- 3Advanced: product strategy, go-to-market planning, OKR setting
- 4Expert: product vision, market positioning, business model innovation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.5★★★★★42 reviews- ★★★★★Daniel Smith· Dec 28, 2024
ebook-analysis is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Shikha Mishra· Dec 4, 2024
ebook-analysis fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Daniel Reddy· Nov 19, 2024
Solid pick for teams standardizing on skills: ebook-analysis is focused, and the summary matches what you get after install.
- ★★★★★Carlos Khanna· Oct 10, 2024
ebook-analysis has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Emma Johnson· Sep 9, 2024
Solid pick for teams standardizing on skills: ebook-analysis is focused, and the summary matches what you get after install.
- ★★★★★Harper Rahman· Sep 5, 2024
Registry listing for ebook-analysis matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Rahul Santra· Sep 1, 2024
Registry listing for ebook-analysis matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Anika Ndlovu· Sep 1, 2024
ebook-analysis fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Amelia Verma· Aug 28, 2024
ebook-analysis has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Harper Khan· Aug 24, 2024
ebook-analysis reduced setup friction for our internal harness; good balance of opinion and flexibility.
showing 1-10 of 42