From llm-wiki
Bootstraps repo-local wiki knowledge system with YAML pages, raw manifests, Python scripts for validation/ingest/provenance, auto-updates, and configs for Claude Code/Cursor/Windsurf. For durable project context and wiki-first rules.
npx claudepluginhub ss1024ss/llm-wiki --plugin llm-wikiThis skill uses the workspace's default tool permissions.
Use this when the user wants a project to stop relying on chat memory and start behaving like a sane system.
agents/openai.yamlreferences/playbook.mdscripts/bootstrap_knowledge_system.pytemplates/claude-commands/wiki-check.mdtemplates/claude-commands/wiki-status.mdtemplates/claude-commands/wiki-upgrade.mdtemplates/configs/AGENTS.mdtemplates/configs/CLAUDE.mdtemplates/github/workflows/wiki-lint.ymltemplates/manifests/README.mdtemplates/manifests/raw_sources.csvtemplates/manifests/raw_sources.meta.jsontemplates/scripts/delta_compile.pytemplates/scripts/export_memory_repo.pytemplates/scripts/ingest_raw.pytemplates/scripts/init_raw_root.pytemplates/scripts/provenance_check.pytemplates/scripts/raw_manifest_check.pytemplates/scripts/stale_report.pytemplates/scripts/untracked_raw_check.pyInitializes or syncs .helloagents/ project knowledge base by analyzing code to generate context.md, guidelines.md, verify.yaml, CHANGELOG.md, DESIGN.md, and modules/ docs. Explicit ~wiki invocation only.
Manages LLM-compiled knowledge bases in .wiki/ or ~/wiki/: ingests sources to raw/, compiles interconnected markdown articles with indexes, queries, lints, and supports topic sub-wikis.
Initializes Knowledge Base section in CLAUDE.md and creates docs/kb/ directory with README and structure guidelines. Idempotent—safe to run multiple times for Claude Code projects.
Share bugs, ideas, or general feedback.
Use this when the user wants a project to stop relying on chat memory and start behaving like a sane system.
Scaffolds a complete wiki-first knowledge system (30 files):
docs/wiki/ — 8 wiki pages with YAML frontmatter (title, source, created, tags, status, optional provenance fields)manifests/raw_sources.csv — raw file index (never raw files themselves)scripts/ — 11 validation and utility scripts:
wiki_check.py — structure + broken links + frontmatter enforcementingest_raw.py — scan a local raw root, dedupe, update manifest, and build a low-cost intake report with table-level diff summariesraw_manifest_check.py — manifest integrityuntracked_raw_check.py — finds orphan PDFs/Excel/images not in manifestprovenance_check.py — content hash freshness (source_hash in frontmatter) with strict unresolved-source failuresstale_report.py — report wiki pages that are stale, missing hashes, unresolved, or blocked by manifest statusdelta_compile.py — generate manual draft stubs for stale/new raw instead of auto-overwriting wiki contentversion_check.py — auto-checks GitHub for new LLM-wiki releasesupgrade.sh — one-command upgrade (scripts only, never touches wiki content)init_raw_root.py — create local raw directory structureexport_memory_repo.py — export wiki to separate memory repoAGENTS.md, CLAUDE.md, .cursorrules, .windsurfrules.claude/commands/ — Claude Code slash commands: /wiki-check, /wiki-upgrade, /wiki-status.github/workflows/wiki-lint.yml — CI smoke testcompile-firstwriteback is mandatorywiki before heavy RAGIdea / Intent outranks CodeDo not use it for tiny throwaway demos.
python3 scripts/bootstrap_knowledge_system.py /path/to/repo "Name" --dry-runpython3 scripts/bootstrap_knowledge_system.py /path/to/repo "Project Name"python3 scripts/init_raw_root.pypython3 scripts/ingest_raw.pypython3 scripts/wiki_check.py && python3 scripts/raw_manifest_check.py && python3 scripts/stale_report.pypython3 scripts/delta_compile.py --write-draftsIf the repo already has docs or a CLAUDE.md:
docs/wiki/ manuallymanifests/raw_sources.csvExisting bootstrapped projects can upgrade in place:
bash scripts/upgrade.sh
If the project predates scripts/upgrade.sh, use the public repo wrapper once:
git clone https://github.com/Ss1024sS/LLM-wiki.git
cd LLM-wiki
bash scripts/upgrade.sh /path/to/your-project
Updates validation scripts and CI only. Wiki content and customized configs are never touched.
scripts/bootstrap_knowledge_system.pyreferences/playbook.md (points to docs/knowledge-system-playbook.md)