Imported from krhrtky/llmwiki (
skills/llmwiki/SKILL.md). Install upstream withnpx skills add krhrtky/llmwiki --skill llmwiki. Copyright stays with the author.
LLM Wiki
Use llmwiki as the structural authority and the target Wiki's AGENTS.md as
the local knowledge-model authority. Do not change raw/ or
.llmwiki/manifest.json except through the CLI.
Select the Wiki
- Use the target the user specifies. Otherwise, look for an initialized
knowledge/directory in the current repository. - If none exists, propose or create
knowledge/withllmwiki init knowledge. Do not runinitat a non-empty repository root. - Confirm that the CLI is available and that
llmwiki --helpshowsinit,source,search, andcheck. If another command owns this name, do not overwrite it or assume it is compatible; ask the user for the path to this CLI or a preferred command name. If it is absent, install the released binary or build the intended source withcargo install --path .. - Read
TARGET/AGENTS.mdbefore changing the Wiki. Its local taxonomy, source policy, and privacy rules override generic conventions here.
Ingest a Source
- Register a source outside
TARGET/raw/withllmwiki source add TARGET FILE.... Never copy or edit raw files directly. - Read the registered raw source and
TARGET/wiki/index.md. - Follow the local
AGENTS.mdto create or update its source page, integrate supported claims into relevant knowledge pages, preserve contradictions, and update the index and append-only log. - Run
llmwiki check TARGET. Resolve every structural error before reporting completion. - Report the registered source and the pages added or changed. Distinguish sourced findings from uncertainty.
Query or Lint
- For a query, read
wiki/index.mdfirst, follow page links to source pages and raw sources, and state the supporting evidence and uncertainty. Save only reusable analysis when the local policy permits it. - For a semantic lint, inspect contradictions, stale claims, unlinked concepts,
and weak provenance. Make only changes authorized by the local
AGENTS.md. - After editing a Wiki, append the required log entry and run
llmwiki check TARGET.
Boundaries
- Treat raw sources as immutable and preserve the log as append-only.
- Do not invent source content, citations, or resolution of a contradiction.
- Keep repository-specific instructions in
TARGET/AGENTS.md; keep reusable CLI workflow in this Skill.