with one click
llm-wiki
// Build and maintain a persistent markdown wiki from raw sources using incremental ingest, indexed pages, and append-only logging.
// Build and maintain a persistent markdown wiki from raw sources using incremental ingest, indexed pages, and append-only logging.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | llm-wiki |
| description | Build and maintain a persistent markdown wiki from raw sources using incremental ingest, indexed pages, and append-only logging. |
| user-invocable | true |
| metadata | {"hybridclaw":{"category":"memory","short_description":"Persistent markdown wiki.","tags":["wiki","knowledge-base","research","markdown"],"related_skills":["pdf","notion"]}} |
Use this skill when the user wants a persistent knowledge base that compounds over time instead of answering from raw documents from scratch on every turn.
Treat the wiki as three layers:
raw/ is the immutable source collection. Read from it; do not edit or
rewrite it during normal maintenance.wiki/ is the maintained knowledge layer. This is where summaries, entity
pages, concept pages, and durable analyses live.AGENTS.md, index.md, and log.md define and track the system:
AGENTS.md is the schema and workflow contract, index.md is the catalog,
and log.md is the append-only timeline.This is not a one-shot note dump. The goal is to integrate new information into existing pages, preserve cross-references, and keep the wiki internally coherent as the source set grows.
Use this order:
raw/, wiki/, index.md,
and log.mdDo not assume the current workspace is the wiki root just because it contains Markdown files.
If the target is an Obsidian vault, also follow skills/obsidian/SKILL.md.
When the user already has a wiki, always orient yourself before acting:
AGENTS.md first to understand the local schema, domain, taxonomy,
link style, and workflow rules.index.md to learn what pages exist and how the wiki is organized.log.md to understand recent ingest, query,
lint, archive, and cleanup activity.wiki/**/*.md before
creating anything new.Do this every session before ingest, query, lint, archive, or broad cleanup. Skipping orientation causes duplicate pages, weak cross-references, and schema drift.
Unless the user already has a stronger convention, initialize or preserve this shape:
raw/raw/assets/wiki/wiki/sources/wiki/entities/wiki/concepts/wiki/analyses/index.mdlog.mdAGENTS.mdUse the starter files in skills/llm-wiki/templates/ when bootstrapping a new
wiki. Copy only missing files unless the user asks to replace existing ones.
When the wiki does not exist yet:
skills/llm-wiki/templates/.AGENTS.md to the user's domain if they gave one.log.md.Do not overwrite an existing AGENTS.md, index.md, or log.md without
reading them first.
AGENTS.md is the local schema for the wiki. It should define:
When bootstrapping or upgrading a wiki, make sure AGENTS.md contains a usable
schema, not just a short description.
The authoritative default schema lives in
skills/llm-wiki/templates/AGENTS.md. Use that file as the source of truth for
default frontmatter, taxonomy, page thresholds, lint checks, archive behavior,
and link style. Adapt the copied AGENTS.md to the user's domain
instead of duplicating those defaults here.
When the user asks to ingest a source:
AGENTS.md, index.md, and recent log.md.raw/ or the user-provided path.wiki/sources/.index.md for every created, renamed, archived, or merged page.log.md listing the files created or updated.Preferred source page sections:
Favor synthesis over excerpt hoarding. Pull forward the durable information and cite where it came from.
When a source conflicts with existing wiki content:
If one ingest would touch many pages, narrate the scope clearly before making a large coordinated update.
Apply the local AGENTS.md rules for frontmatter, tags, thresholds, page
shape, and link style. If the wiki still uses the default bundled schema, that
means following the defaults copied from skills/llm-wiki/templates/AGENTS.md.
When answering a wiki question:
index.md to find the relevant pages.wiki/analyses/ and log it.Do not pretend the wiki is comprehensive. Call out gaps, unresolved questions, and contradictions clearly.
When the user asks for a health check, audit the wiki against the rules in the
local AGENTS.md.
If the wiki uses the bundled default schema, the checks in
skills/llm-wiki/templates/AGENTS.md are authoritative. Report findings by
severity, then record meaningful lint passes in log.md.
When ingesting multiple sources at once:
index.md once at the endlog.mdFor archive behavior, page shape, link style, and other
schema defaults, defer to the local AGENTS.md. If the wiki was bootstrapped
from the bundled defaults, skills/llm-wiki/templates/AGENTS.md is the
authoritative reference.
Use headings like:
## [2026-04-07] create | Wiki initialized
## [2026-04-07] ingest | Source Title
## [2026-04-07] query | Market map of competitors
## [2026-04-07] lint | Weekly health check
## [2026-04-07] archive | Superseded page
Keep log entries concise but specific about what changed, which files moved, and what follow-ups remain. Rotate long logs when they stop being usable.
raw/ unless the user explicitly asks.AGENTS.md schema defaults or customizations.index.md or log.md drift behind the actual wiki state.