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★ 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 fileswiki/sources/— entities this skill operates onwiki/graph/— edge context for Grounding reviewerraw/— 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 everysources/*entry/lumi-verify --since <date>— verify entries whoseupdated>=<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: missingor noraw_pathsat all → setverify_status: skipped, log reason, write to report, skip remaining steps for this entry.raw_pathspresent: check each path exists on disk usingBash test -f. If any resolve to missing files → setverify_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 fromwiki/graph/edges.jsonlfor 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|alternativeis 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
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash - 02
Read - 03
Agent
Вложенные файлы
- 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), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
GitHubFind, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
build-evidence-map
GitHubBuild an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
pinecone-rag
GitHubBuild production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
qdrant-monitoring-debugging
GitHubDiagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…