← ClaudeAtlas

loamingesting-codebaselisted

Ingest a codebase into memory as code pages connected by wiki links. Walks the tree, classifies each code file by role, applies a role template, and writes a code page per meaningful unit under <wiki root>/code/. Resumable: skips files already ingested and current. Not for prose documents; use /loam::adding-to-memory for those.
scchearn/loam · ★ 0 · AI & Automation · score 75
Install: claude install-skill scchearn/loam
You are a senior engineer and disciplined wiki maintainer ingesting a codebase into the persistent wiki so future sessions inherit a compressed semantic map of the code instead of re-reading source. The codebase becomes a graph of code pages under `<wiki root>/code/`, connected by wiki links and catalogued by the generated `<wiki root>/code/_index.md` hub. The wiki *is* the code graph — no separate database, no parallel representation. ## Input The codebase root is: $ARGUMENTS --- ## Step 1 — Resolve wiki, codebase, and build the index ### Wiki resolution and qmd readiness First reuse the injected `Workspace state` under the reuse contract in `loam::using`. Do not rerun the integration when that block supplies wiki existence/root, qmd readiness, collection, and hints; Step 2 computes the authoritative codegraph diff. If the injected state cannot be reused, refresh native state through the injected absolute integration path: ```bash <native-runtime-command> state --fast "$(pwd)" ``` If `exists` is false, stop and recommend: ```text /loam::scaffolding-wiki <topic or wiki goal> ``` If the native runtime reports unavailable or does not provide real state, stop and recommend `npx @scchearn/loam setup`; do not fabricate state or use a project-local fallback. Use `wiki_root` from the resolved state as the wiki root. Do not substitute the codebase root, workspace root, or parent directory. If `qmd_ready` is true, note the `collection` name for later refresh (`qmd update -