Command Palette

Search for a command to run...

Назад к скиллам
скилл № 33769

lumi-reading-character-track

Maintain character pages in wiki/characters/<book-slug>/ and update inter-character relationship edges as new chapters are ingested. Use whenever the user…

БесплатноБез исполняемых скриптов
tronghieuот tronghieu★ 40 звёзд на GitHub

Установить lumi-reading-character-track в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

/lumi-reading-character-track

TL;DR

Updates wiki/characters/<book-slug>/<character-slug>.md pages with new chapter appearances and inter-character relationship edges after a chapter has been ingested. Run this after each chapter-ingest (or in batch after several chapters).

Context

Read README.md at the project root before this SKILL.md. The full schema reference lives there. Character pages live under wiki/characters/<book-slug>/ — the book-slug namespace is mandatory because a workspace may hold multiple books and the same character name must not collide across them.

Book namespaces are encoded in the slug path, e.g. characters/<book-slug>/<character-slug>. See README.md for the full edge-type vocabulary; the reading-pack inter-character edge used here is appears_with (symmetric, stored once).

All graph and frontmatter mutations go through _lumina/scripts/wiki.mjs. Never edit wiki/graph/edges.jsonl directly. add-edge is idempotent and writes reverse edges automatically except terminal/symmetric cases such as appears_with.

Inputs

  • <book-slug> — kebab-case identifier for the book.
  • <chapter-slug> or --all — which chapter(s) to process appearances from. If the user says "update characters after chapter 4", use that chapter's slug. If no chapter is specified, scan all chapter pages for this book and update all character pages.

Workflow

Step 1 — Discover affected characters

List chapters to process:

node _lumina/scripts/wiki.mjs list-entities chapters/<book-slug> --json

For each target chapter, read the features edges to find character slugs:

node _lumina/scripts/wiki.mjs read-edges --from chapters/<book-slug>/<chapter-slug> --type features --json

Step 2 — Update each character page

For each character found:

  1. Check if the page already exists:

    node _lumina/scripts/wiki.mjs read-meta characters/<book-slug>/<character-slug> --json
    

    Exit 2 means not found — create a new stub (see chapter-ingest for stub format). If it exists, proceed to update.

  2. Update the updated frontmatter field:

    node _lumina/scripts/wiki.mjs set-meta characters/<book-slug>/<character-slug> updated YYYY-MM-DD
    
  3. Verify the appears_in edge back to this chapter (chapter-ingest should have written it automatically from the chapter's features edge):

    node _lumina/scripts/wiki.mjs read-edges --from characters/<book-slug>/<character-slug> --type appears_in --json
    

    If the chapter is missing from the results, add the chapter-to-character edge so the engine can create the reverse:

    node _lumina/scripts/wiki.mjs add-edge chapters/<book-slug>/<chapter-slug> features characters/<book-slug>/<character-slug>
    
  4. Write a prose ## Appearances section update to the character's body — append the new chapter appearance with a one-line summary of what the character did.

Step 3 — Register inter-character edges

Read the chapter text to identify which characters interact in this chapter. For each pair that appears together in a scene:

# appears_with is symmetric — stored once with sorted endpoints
node _lumina/scripts/wiki.mjs add-edge characters/<book-slug>/<char-a> appears_with characters/<book-slug>/<char-b>

Do not infer relationships beyond what the chapter text states. Speculation belongs in an ## Open Questions section on the character page, not in edges.

Step 4 — Self-verification

Run edge read for each updated character and confirm:

node _lumina/scripts/wiki.mjs read-edges --from characters/<book-slug>/<character-slug> --json

Every inter-character edge must use the characters/<book-slug>/<character-slug> slug form. If any bare character slug appears, add the edge again with the namespaced slug. The engine is idempotent: re-adding a correctly formed edge is a safe no-op.

Update wiki/index.md if new character pages were created, append the activity via:

node _lumina/scripts/wiki.mjs log reading-character-track "<book-slug> ch<N> -> <K> characters updated, <M> edges added"

Run node _lumina/scripts/lint.mjs --json when available; use --fix only for index/frontmatter fixes within this skill's scope.

Output / Definition of Done

  • Every character mentioned in the target chapter(s) has an up-to-date page under wiki/characters/<book-slug>/.
  • Each character page has at least one appears_in edge back to a chapter.
  • Inter-character appears_with edges are registered for all pairs that interact in the processed chapter(s).
  • All inter-character edges use namespaced slugs.
  • wiki/index.md updated when character pages were created.
  • wiki/log.md has a new entry: ## [YYYY-MM-DD] reading-character-track | <book-slug> ch<N> → <K> characters updated, <M> edges added
  • Lint/check run where available; unresolved issues are reported with exact slugs.

Guardrails

  • Use Write only to c
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Bash
  2. 02Read
  3. 03Write
  4. 04Edit

FAQ

Что делает скилл lumi-reading-character-track?

Maintain character pages in wiki/characters/<book-slug>/ and update inter-character relationship edges as new chapters are ingested. Use whenever the user wants to update or review character information — including phrasings like "update character profiles after chapter 4", "add the relationship between Alice and Bob", "who has Alice met so far", "track character appearances", or "refresh character pages".

Как установить скилл lumi-reading-character-track?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл lumi-reading-character-track запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить lumi-reading-character-track с