/hallouminate:wiki-initfrom Hallouminate
Bootstrap a hallouminate wiki from scratch by interviewing the user with Socratic questioning, then writing the first entries. Use when a repo has no wiki yet or the corpus is near-empty — "start a wiki", "bootstrap the knowledge base", "interview me about this project", "set up the wiki", "/wiki-init". Do NOT use to answer questions (use wiki-query) or to fold new source docs into an existing wiki (use wiki-ingest).
Ships in Hallouminate. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Turn what's in the user's head into a structured, searchable wiki. The hard part is elicitation — experts can't introspect tacit knowledge on demand, so you ask about behavior in concrete situations and extract the model from their answers.
Every hallouminate MCP tool call takes a required cwd: the absolute path of
your own active checkout. In a git worktree, this can differ from the
harness's original directory. Pass the wrong one and you silently read or
write another worktree's wiki.
Agent topology (required):
add_markdown. Drafting is mechanical formatting of slots the
root already gathered — cheap, parallel, isolated.The root interviews; it does not draft pages itself. Haiku drafts; it does not interview. Never invert.
Semi-structured beats both a rigid script and open rambling. Move unstructured → semi-structured → structured: open wide to learn the domain's vocabulary, then tighten to fill gaps.
Rules of the interview:
purpose, components,
constraints, gotchas, decisions/why, edge-cases) silently. Never say the
slot name — ask "what would break this?" not "what are the constraints?".ACTA sequence (the practical spine):
Task diagram — first, scope it: "Break this project into more than three but fewer than six major areas — what are they?" This sets the page list without premature detail.
Knowledge audit — per area, probe with the high-yield question types:
| Probe | Asks for | Example |
|---|---|---|
| Tour | the mental model | "Walk me through how X works here." |
| Taxonomic | categories | "What kinds of Y are there?" |
| Reason-seeking | rationale | "Why this way and not the obvious alternative?" |
| Constraint | non-obvious limits | "What can go wrong? What breaks it?" |
| Counterfactual | edge cases | "What if [current condition] weren't true?" |
| Consistency | contradictions | "Earlier you said X — does that fit with Y?" |
| Elaboration | depth | "Tell me more about that." |
Simulation — for tricky areas: "Imagine situation Z lands — what do you do, and why?" Surfaces decision logic direct questions miss.
Chain the questions. Derive each next question from the prior answer — pick one thread to deepen, park the others, come back. Stop an area when probes stop yielding new slots; stop the session when the user signals done or the task diagram's areas are all covered.
After each exchange, extract what was said into a structured slot record (keep it in your working notes), separating what was said from how it'll be written.
# Title (the chunker uses the
H1 as the breadcrumb root and the index gloss).architecture.md, mcp-surface.md);
subdirectories for clusters (adapters/lance.md). The daemon creates dirs and
maintains each index.md link list for you.../../templates/wiki-entry.md from this skill's directory): lifecycle
frontmatter, H1 first, footnote citations, provenance footer.wiki-conventions.md first (the wiki's constitution): slug rules, the
H1 rule, one-topic-per-file, the voice, and a provenance-footer convention
(_Source: <how we know this> · Updated: <date> · Supersedes: <if any>_). Declare
the Supersedes: field here so wiki-ingest writes and reads one key. Also declare
the two ingest-ledger conventions so wiki-ingest reads and writes one shape:
log.md — an append-only ingest journal at the corpus root under a stable
## Log heading. wiki-ingest appends one row per decision via
an add_markdown append (corpus, path: "log.md", under_heading: "Log", position: "append", content: <row>, cwd); it is never
rewritten and never a routing/merge target.sha256sum source-hash ledger — wiki-ingest's Layer-1 dedup hashes each
normalized source (sha256sum, first 16 hex chars) and records the id in log.md;
a ledger hit skips the whole source. Note the hash convention here so the id format
is stable across ingests.
Also declare the local-link rule: links must resolve inside the corpus. A
link target that is a local file outside the corpus root gets copied into the
corpus first (add_markdown, e.g. sources/<slug>.md) — or into another
corpus declared in config if it belongs elsewhere — and the link rewritten
corpus-relative. Web URLs pass through; code is cited as path:line text,
never linked or copied.
Later skills (wiki-ingest) read all of this to stay consistent.repo:{name}:wiki for the repo, or ask if ambiguous
(list_corpora { cwd }). Confirm the page list with the user before fanning out.Spawn one haiku sub-agent per planned page, in a single message, each with:
wiki-conventions.md rules,Draft a one-topic markdown entry from these slots. First non-blank line is
# <Title>. Lead with the conclusion, ~50–150 lines, concrete over abstract, cite code aspath:linewhere the slots name files. Link only corpus-relative targets — if a slot names a local doc that should be linked, do not link it; flag it in your return for the root to copy into the corpus. Add the provenance footer. Then calladd_markdown { corpus, path, content, overwrite: false, cwd }— pass your own active checkout directory ascwd. The target corpus must be single-root (add_markdownrejects multi-root corpora);repo:{name}:wikiis single-root. Return the path written and any lintwarningsfrom the response. Do NOT interview the user. Do NOT invent facts beyond the slots — if a slot is thin, write only what's there and note the gap.
The daemon reindexes each file and refreshes ancestor index.md link lists
automatically on write.
overwrite: true redraft.add_markdown, e.g.
sources/<slug>.md) and add the corpus-relative links — no page ships a link
that resolves outside the corpus.list_tree to confirm the shape; write or refine the top-level index.md prose
(outside the <!-- HALLOUMINATE:INDEX-START --> / <!-- HALLOUMINATE:INDEX-END -->
markers — the daemon owns the link list between them).log.md at the corpus root so wiki-ingest has a ledger to
append to from its first run: add_markdown { corpus, path: "log.md", content: "# Ingest Log\n\n## Log\n", overwrite: false, cwd }. It stays append-only thereafter.wiki-init continuation or wiki-ingest).What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/installInstall hallouminate and bootstrap the user's first LLM-authored per-repo wiki. Use when the user runs /install from the hallouminate skill pack, or asks to "install hallouminate", "set up hallouminate", "get hallouminate working", or "start a hallouminate wiki" on a machine without a working install. Do NOT use when the binary already works — route a brand-new wiki to wiki-init and new content to wiki-ingest./wiki-harvest-memoryManually curate durable, repository-specific knowledge from local Claude Code or Codex memories into the current hallouminate wiki./wiki-ingestFolds new source material or a recorded fact into an existing hallouminate wiki, merging each claim into the page it extends. Use when the user says "add this to the wiki", "ingest these docs", "update the wiki with what we learned", "remember this", "record this decision", or invokes /wiki-ingest <path|topic>. Do NOT use to bootstrap an empty wiki (/wiki-init) or to answer a question (/wiki-query).Other plugins' skills for the same job
npx claudepluginhub paulnsorensen/hallouminate --plugin hallouminate