← ClaudeAtlas

kw-initlisted

Scaffold a new knowledge engine workspace OR link to an existing shared knowledge base. Use when starting a new knowledge base or connecting a project to an existing one.
chenpg2/kw-engine · ★ 9 · AI & Automation · score 79
Install: claude install-skill chenpg2/kw-engine
# /kw-init — scaffold or link a knowledge engine workspace **Two modes:** ## Mode 1: Link to an existing knowledge base (most common) If a shared knowledge base already exists (e.g. `~/Downloads/soft/knowledge_wiki/memory/`), link this project to it instead of creating a new one: ```bash kw link ~/Downloads/soft/knowledge_wiki/memory/ ``` This creates `.kw/config.yaml` with `paths.memory` pointing to the shared library. All `kw` commands (`search`, `verify`, `status`, etc.) now use the shared knowledge. ## Mode 2: Create a new knowledge base from scratch Run this once in any repo to set up a fresh, empty knowledge engine. ## What it creates ``` <project-root>/ ├── .kw/ │ └── config.yaml # Engine config (model routing, fetch policy) ├── memory/ │ ├── SCHEMA.md # Data structure contract │ ├── index.json # Central index (starts empty) │ ├── papers/ # L1 faithful readings │ ├── principles/ # L2 abstract principles │ ├── synthesis/ # L3 design-space, contradictions, gaps │ └── golden/ # Exemplar records for quality reference ├── paper/ # Raw PDFs (gitignored) ├── process/ │ ├── extract-template.md # L1 extraction rubric │ └── distill-rubric.md # L2 distillation rubric └── problems/ # Use-case pointers ``` ## Procedure 1. Check if `memory/SCHEMA.md` already exists. If yes, report "Already initialized" and STOP. 2. Create the directory structur