lumi-reading-chapter-ingest

Ingest book chapters into Lumina-Wiki as wiki pages and graph edges.

36|16|Updated May 1, 2026
One-click install
npx skills add https://github.com/tronghieu/lumina-wiki --skill lumi-reading-chapter-ingest
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lumi-reading-chapter-ingest
Source: https://github.com/tronghieu/lumina-wiki/tree/main/src/skills/packs/reading/chapter-ingest
Command: npx skills add https://github.com/tronghieu/lumina-wiki --skill lumi-reading-chapter-ingest

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ingesting book chapters into a structured wiki is slow and error-prone, especially when you want characters, themes, and plot beats to appear in the graph automatically.

Core Features & Use Cases

  • Chapter ingestion to wiki pages: Creates or updates a canonical wiki/chapters/<book-slug>/ page from raw text or a PDF page range.
  • Narrative-to-graph extraction: Extracts character mentions, theme tags, and ordered plot beats, then registers the appropriate bidirectional edges.
  • Idempotent, workspace-safe updates: Ensures re-running for the same chapter slug is safe and produces byte-identical outputs by routing all mutations through the wiki engine.

Quick Start

Tell the assistant to ingest chapter 5 of your book by providing the chapter text or the raw/sources/<book-slug>.pdf <start>-<end> range along with the chapter title and number.

Frequently Asked Questions about lumi-reading-chapter-ingest

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I ingest a book chapter and extract characters, themes, and plot beats into a wiki?

You can ingest a chapter by providing either raw chapter text or a PDF page range along with the chapter title and number. The system extracts characters, themes, and plot beats, then routes all mutations through the wiki engine to create wiki pages and register graph edges.

How does narrative-to-graph extraction work when ingesting chapter text?

Narrative-to-graph extraction works by parsing ingested chapter text to identify character mentions, theme tags, and ordered plot beats. It then registers bidirectional edges like features/appears_in and tagged_with/appears_in, connecting these artifacts within the wiki graph.

Can I extract text from a specific PDF page range for chapter ingestion?

Yes, you can extract text from a specific PDF page range for chapter ingestion by specifying the source PDF file along with the start and end pages. The extracted text is then converted into canonical chapter, character, theme, and plot-beat wiki pages.

What is the best way to ensure idempotent updates when re-ingesting the same book chapter?

The best way to ensure idempotent updates is to route all wiki mutations through the wiki engine using a consistent chapter slug. This guarantees that re-running the same chapter ingest is safe and produces byte-identical outputs without duplicating graph edges.

Does chapter ingestion support automatic edge registration for characters and themes?

Yes, chapter ingestion supports automatic edge registration for characters and themes. It creates artifacts in the correct namespaces and registers bidirectional edges like features/appears_in and tagged_with/appears_in via the dedicated wiki engine scripts.

Why do I need to use the wiki engine script for chapter ingest mutations?

You need to use the wiki engine script for chapter ingest mutations to enforce idempotent, workspace-safe writes. This ensures all narrative-to-graph edge registrations and wiki page updates are handled correctly without corrupting the existing wiki graph.