lumi-reading-plot-recap
Generate a spoiler-safe progressive recap of a book up to (but NOT including) the user's current chapter cursor. Use whenever the user asks for a summary of…
от tronghieu★ 40 звёзд на GitHub
Установить lumi-reading-plot-recap в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
/lumi-reading-plot-recap
TL;DR
Given a cursor of the form <book-slug>:<chapter-slug>, generates a recap of the plot,
characters, and themes as of the chapter immediately before the cursor. The cursor
chapter and everything after it are strictly excluded from the recap output.
The spoiler boundary is the defining feature of this skill. A recap that leaks even one event from the cursor chapter or later has failed its core contract.
Context
Read README.md at the project root before this SKILL.md. The full schema reference lives there. This skill reads from:
wiki/chapters/<book-slug>/— chapter pages withnumberfrontmatter for orderingwiki/characters/<book-slug>/— character pageswiki/themes/<book-slug>/— theme pageswiki/plot/<book-slug>/— plot-beat pages written by chapter-ingest
No wiki writes happen during a recap (read-only). The only output is the recap text delivered to the user in the conversation.
Inputs
<book-slug>:<chapter-slug>— the chapter the user is currently reading (not yet finished). The recap covers everything before this chapter. Example:great-gatsby:03-the-partiesmeans "recap chapters 1 and 2; do not mention anything from chapter 3 or later."- Optional
--format narrative|bullets|character-focused|theme-focused— output style. Default:narrative.
Spoiler Boundary Contract
This is safety-critical for the reading experience. The rules are:
- The cursor chapter is NOT finished. The user is currently reading it. Do not summarize, hint at, or allude to any event in the cursor chapter.
- Everything after the cursor is unknown territory. Do not reference any chapter
whose
number>= the cursor chapter'snumber. - The recap covers chapters with
number< cursornumberonly.
If the ordering information is ambiguous or unavailable (see Step 1 below), stop and ask the user to confirm the chapter order rather than guessing. A wrong guess could spoil the book. This is the one case where the skill must not proceed autonomously.
Workflow
Step 1 — Resolve chapter ordering
Read the cursor chapter's frontmatter to get its number:
node _lumina/scripts/wiki.mjs read-meta chapters/<book-slug>/<chapter-slug> --json
The number field (integer, 1-based) is the canonical ordering key. It is set by
chapter-ingest and must be present on every ingested chapter page.
If number is missing from the cursor chapter's frontmatter, check
wiki/chapters/<book-slug>/index.md for a manually maintained order list.
If neither source provides a reliable order, stop and ask the user:
"I cannot determine chapter ordering for <book-slug> from the frontmatter or index.
Please confirm: which chapters come before <chapter-slug>?"
Do not guess. A spoiler caused by wrong ordering is worse than asking one clarifying question.
Step 2 — Collect safe chapters
List all ingested chapters for this book:
node _lumina/scripts/wiki.mjs list-entities chapters/<book-slug> --json
For each chapter, read its number field:
node _lumina/scripts/wiki.mjs read-meta chapters/<book-slug>/<each-slug> --json
Build the safe set: chapters whose number < cursor number. Call this set S.
If S is empty (cursor is at chapter 1), respond: "You are at the very beginning of
<book-slug>. There is no prior history to recap."
Step 3 — Pre-flight spoiler check (mandatory)
Before generating any recap text, list the slugs in S and assert their ordering. Output this check to yourself internally (not to the user) before writing the recap:
Spoiler check:
cursor: <chapter-slug> (number <N>)
safe chapters: [<slug1> (1), <slug2> (2), ..., <slugN-1> (N-1)]
assertion: every chapter in safe set has number < <N> -> PASS
If the assertion fails for any chapter, remove it from S and note the anomaly. Do not include chapters whose number is ambiguous or >= cursor number.
Step 4 — Gather source material for the safe set
For each chapter slug in S:
Read the chapter page body (narrative events):
# Read the file directly — plot-recap reads wiki files but never writes themUse the
Readtool onwiki/chapters/<book-slug>/<slug>.md.Read the chapter's plot beats page if it exists: Use the
Readtool onwiki/plot/<book-slug>/ch<N>-beats.md.Read character mentions for this chapter:
node _lumina/scripts/wiki.mjs read-edges --from chapters/<book-slug>/<slug> --type features --json
Step 5 — Read character and theme context
For each character who appears in at least one safe chapter:
node _lumina/scripts/wiki.mjs read-edges --from characters/<book-slug>/<character-slug> --type appears_in --json
Filter to appearances in S only. Read the character page body for context.
For themes promoted across safe chapters, read theme pages from wiki/themes/<book-slug>/.
Step 6 — Generate the recap
Write the
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash - 02
Read
FAQ
Что делает скилл lumi-reading-plot-recap?
Generate a spoiler-safe progressive recap of a book up to (but NOT including) the user's current chapter cursor. Use whenever the user asks for a summary of what has happened so far — including phrasings like "where am I in the story", "what's happened so far", "recap up to chapter 3", "remind me of the plot", "catch me up", "what do I know so far", or "summarize the story to this point".
Как установить скилл lumi-reading-plot-recap?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл lumi-reading-plot-recap запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…