Command Palette

Search for a command to run...

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

lumi-verify

Check that wiki notes match the sources they cite. Flags statements that appear in a wiki page but are not supported by the cited material, statements that…

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

Установить lumi-verify в Claude Code и Claude Desktop

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

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

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

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

/lumi-verify

Read README.md at the project root before this SKILL.md.

Role

You are the wiki's semantic integrity auditor. You run three reviewers — each deliberately starved of the others' context — to find fabricated or drifted claims in sources/* entries without anchoring bias. Findings are advisory: you write to frontmatter only, never to body text.

Context

Key workspace paths:

  • _lumina/scripts/wiki.mjs — all frontmatter mutations go through here
  • _lumina/_state/lumi-verify-<ts>.json — timestamped run report (never overwritten)
  • _lumina/_state/verify-prompts/<slug>/ — Bash-only fallback prompt files
  • wiki/sources/ — entities this skill operates on
  • wiki/graph/ — edge context for Grounding reviewer
  • raw/ — immutable raw artifacts; only read, never written

Read references/reviewers.md before launching any reviewer sub-agent or writing Bash-only prompt files. It contains the full text of all three reviewer prompts.

Read references/triage.md before classifying a finding or merging results from multiple reviewers.

Instructions

Step 1 — Detect runtime

Try to determine whether the Agent tool is available. If the host runtime supports Agent (Claude Code), proceed with the preferred path. Otherwise, take the Bash-only fallback path described in Step 3b.

Step 2 — Parse args and resolve targets

Accepted invocations:

  • /lumi-verify <slug> — verify one entry, e.g. sources/attention-revisited
  • /lumi-verify --all — verify every sources/* entry
  • /lumi-verify --since <date> — verify entries whose updated >= <date> (ISO 8601 date or datetime). Reject malformed dates with exit 1.
  • /lumi-verify --external — additionally run the External reviewer (open-web check). Default is offline-only (Blind + Grounding).
  • /lumi-verify --stage <...> — run the reviewers and report findings but do not write anything to the page (see Step 5); useful for a preview pass.

Resolve the target list:

node _lumina/scripts/wiki.mjs list-entities --type sources --json

For a single <slug> arg: validate it exists, exit 2 with a message if not.

For --all: count entries. If count > 50, HALT and confirm with the user before proceeding (token budget guard).

For --since <date>: filter the list using each entry's updated frontmatter field read via wiki.mjs read-meta.

Step 3 — For each target entry

Preflight: read entry metadata

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

Collect: raw_paths, provenance, verify_status (if any).

Provenance gate:

  • provenance: missing or no raw_paths at all → set verify_status: skipped, log reason, write to report, skip remaining steps for this entry.
  • raw_paths present: check each path exists on disk using Bash test -f. If any resolve to missing files → set verify_status: drift_detected, log which files are missing, write to report. Skip Grounding reviewer (Steps 3a-ii below) cleanly — do not error.

3a — Preferred path (Agent tool available)

Launch up to two reviewers in parallel (Blind always runs; Grounding only if preflight passed). External runs only when --external is passed explicitly.

Read references/reviewers.md for the full text of each reviewer prompt before launching.

Reviewer i — Blind

Launch a sub-agent with:

  • Context: the full text of wiki/sources/<slug>.md
  • No access to raw files, no graph, no sources frontmatter field
  • Task: per the Blind reviewer prompt in references/reviewers.md

Reviewer ii — Grounding (skip if drift_detected or provenance: missing)

Launch a sub-agent with:

  • Context: entry text + contents of every file listed in raw_paths + relevant excerpt from wiki/graph/edges.jsonl for this entry
  • Task: per the Grounding reviewer prompt in references/reviewers.md

Reviewer iii — External (only if --external flag passed)

Launch a sub-agent with:

  • Context: entry text + two web queries (confirmatory + adversarial)
  • The adversarial query <central claim> debunked|criticism|alternative is mandatory. Do not skip it.
  • Task: per the External reviewer prompt in references/reviewers.md

Collect each reviewer's findings as a structured list. Proceed to Step 4.

3b — Bash-only fallback path (no Agent tool)

Write per-reviewer prompt files using the text from references/reviewers.md, substituting the actual entry content and raw file contents:

_lumina/_state/verify-prompts/<slug>/blind.md
_lumina/_state/verify-prompts/<slug>/grounding.md   (if raw_paths resolved)
_lumina/_state/verify-prompts/<slug>/external.md    (if --external passed)

HALT. Tell the user:

"Agent tool not available. Reviewer prompts written to _lumina/_state/verify-prompts/<slug>/. Run each in a fresh session and paste the findings back here to continue."

Do not proceed to Step 4 until the user provides findings.

Step 4 — Triage and merge findings

Read references/triage.md for the full four-bucket cl

Полный SKILL.md на GitHub

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

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

  1. 01Bash
  2. 02Read
  3. 03Agent

Вложенные файлы

  • references/reviewers.md
  • references/triage.md

FAQ

Что делает скилл lumi-verify?

Check that wiki notes match the sources they cite. Flags statements that appear in a wiki page but are not supported by the cited material, statements that contradict other parts of the same page, and (with --external) statements contradicted by current web search results. Reports findings for the user to review; never edits notes automatically. Run on one page (`/lumi-verify <slug>`), the whole wiki (`/lumi-verify --all`), or only recently-changed pages (`--since <date>`). Use after AI adds new wiki pages, before sharing or exporting the wiki, or as a periodic health check on older pages. Trigger on phrases like "verify", "fact-check the wiki", "is this page accurate?", "check sources", "retro verify". Operates on sources/* pages in v0.9; other page types are skipped.

Как установить скилл lumi-verify?

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

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

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

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

Сравнить lumi-verify с