/hallouminate:install [target repo path]from Hallouminate
Install 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.
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.
You are guiding the user from zero to a working hallouminate install with a first, indexed wiki page — committed to git. Work through the phases in order. Narrate briefly; do not dump this whole document back to the user.
hallouminate is a markdown-corpus indexer: an LLM authors per-repo wikis
through an MCP surface (add_markdown / read_markdown / delete_markdown /
ground) and queries them semantically. The filesystem is the source of truth;
wikis live under <repo>/.hallouminate/wiki/.
If the user passed a target repo path as an argument, treat that as the wiki's home and skip the "where" question in Phase 5.
Run uname -sm. Prebuilt binaries exist for:
uname -sm | target |
|---|---|
Darwin arm64 | aarch64-apple-darwin |
Linux aarch64 | aarch64-unknown-linux-gnu |
Linux x86_64 | x86_64-unknown-linux-gnu |
Two platforms need special handling — tell the user plainly, don't silently fall through:
Darwin x86_64): no prebuilt — the ort (ONNX Runtime)
dependency ships no x86_64-darwin binary. Say so loudly and go straight to
the source build (Phase 2, step 4), which needs Rust and protoc.flock). Point at
https://github.com/paulnsorensen/hallouminate/issues/48 and stop.Try each step in order and stop at the first that leaves hallouminate --version working. No Rust toolchain or protoc is needed unless you reach
step 4.
npm (preferred, when npm is available):
npm install -g hallouminate
The package is a thin shim — its postinstall downloads the prebuilt for the
detected platform from the matching GitHub release and the global install
puts hallouminate on PATH.
Prebuilt installer (no node needed):
curl --proto '=https' --tlsv1.2 -LsSf \
https://github.com/paulnsorensen/hallouminate/releases/latest/download/hallouminate-installer.sh | sh
The installer downloads the prebuilt for the detected platform and prints
where it installed (typically ~/.cargo/bin if you have one, else
~/.local/bin). Make sure that directory is on PATH.
cargo binstall (if already installed): cargo binstall hallouminate
— fetches the same prebuilt via the Release's dist-manifest.json.
Source build (fallback; required on Intel macOS): needs cargo
(https://rustup.rs) and protoc (brew install protobuf on macOS,
sudo apt-get install -y protobuf-compiler on Debian/Ubuntu). Then:
cargo install hallouminate --locked
This compiles native dependencies and takes a few minutes. Cargo installs
to ~/.cargo/bin, which must be on PATH.
The MCP server is hallouminate serve over stdio. Use the current harness's
plugin route when available:
Claude Code: the installed plugin bundles .mcp.json. Install with
/plugin marketplace add paulnsorensen/hallouminate, then
/plugin install hallouminate@hallouminate. For user scope, or when the
bundled registration has not loaded, run:
claude mcp add hallouminate --scope user -- hallouminate serve
Codex: run
codex plugin marketplace add paulnsorensen/hallouminate, restart, then
codex plugin add hallouminate@hallouminate (or install from /plugins).
The plugin bundles the skills and .mcp.json.
Copilot CLI: run
copilot plugin marketplace add paulnsorensen/hallouminate, then
copilot plugin install hallouminate@hallouminate. The root
plugin.json exposes the bundled skills and .mcp.json.
OMP: run /marketplace add paulnsorensen/hallouminate, then
/marketplace install hallouminate@hallouminate. OMP consumes the
Claude-compatible marketplace and payload.
Cursor: for Teams/Enterprise, import
https://github.com/paulnsorensen/hallouminate under
Plugins → Team Marketplaces. For a local install, clone the repo, copy or
symlink plugins/hallouminate to
~/.cursor/plugins/local/hallouminate, then reload/restart Cursor. The
Cursor manifest exposes the bundled skills and .mcp.json.
Gemini CLI: from a checkout, run
gemini extensions install ./plugins/hallouminate --consent. From an
extracted versioned archive, use
./hallouminate-skills-<version>/plugins/hallouminate instead. Gemini
reads the inline MCP server from gemini-extension.json and auto-discovers
skills/.
opencode: add the MCP server to the active opencode.json:
{
"mcp": {
"hallouminate": {
"type": "local",
"command": ["hallouminate", "serve"]
}
}
}
Copy the skills to ~/.config/opencode/skills/:
cp -r plugins/hallouminate/skills/ ~/.config/opencode/skills/
Anything else: any MCP client can launch hallouminate serve over
stdio.
The hallouminate MCP tools (ground, add_markdown, read_markdown,
etc.) appear after the harness reloads its plugins or MCP servers. If they have
not loaded in this session, use the CLI for the remaining phases.
Every MCP tool call takes a required cwd argument: the absolute path of
your own active checkout. In a git worktree, this can differ from the
harness's original directory. Passing the wrong one silently reads or writes
the wrong worktree.
Run hallouminate config init to write the XDG baseline config
(~/.config/hallouminate/config.toml), then hallouminate config validate to
confirm it parses. Don't hand-edit the baseline here — the per-repo wiki is
declared by a repo-layer config in Phase 6.
Before writing anything, work out where the wiki should live and what it
should first capture. Ask the user a short, focused sequence of questions — one
decision at a time, Socratic style, each building on the last. Use the
AskUserQuestion tool. Cover at least:
git rev-parse --show-toplevel.hallouminate-wiki).Keep it to 3–4 crisp questions. Reflect each answer back in one line before moving on, so the user can course-correct early.
In the target repo, run the seeding subcommand (identical on every harness):
hallouminate init-repo <repo-name> # seeds the current directory
# or: hallouminate init-repo <repo-name> --path <repo-root>
It writes .hallouminate/config.toml declaring the repo as a tenant
([[repository]] with path = ".", which resolves against the repo root so it
works from any checkout or worktree) and a .hallouminate/wiki/ skeleton. The
wiki becomes searchable as the repo:<repo-name>:wiki corpus. Choose a unique
<repo-name>, and do not also declare the same name in the XDG baseline,
or the two layers collide on the duplicate-name check. If a repo config already
exists, init-repo refuses; --force overwrites the config but never touches
an existing wiki.
Narrate the first daemon spawn. The first hallouminate index / ground /
serve after install auto-spawns a background daemon — the single owner of the
LanceDB ground directory; CLI and MCP talk to it over a Unix socket. Tell the
user this once so the background process isn't a surprise, and where to look:
hallouminate daemon status / stop / restart, with early-startup errors
landing in ~/.local/state/hallouminate/daemon-bootstrap.log. The README's
"How the daemon works" section has the full lifecycle.
Using what you learned in Phase 5, write the first page. Convention: one topic
per file, first line is # Title, and the file stem matches the slug
(e.g. architecture.md → # Architecture).
Prefer the MCP tool mcp__hallouminate__add_markdown — pass cwd as your
own active checkout directory. It writes under the
corpus' first root atomically, auto-reindexes just that file, and returns
advisory lint warnings (empty links, heading-level jumps, empty mermaid
blocks). If the MCP tools haven't loaded yet this session, write the file
directly to .hallouminate/wiki/<slug>.md instead and rely on Phase 8 to index.
Make the first page genuinely useful and grounded in the actual repo — read
real code and configs to get it right; don't invent. Resolve any lint warnings
add_markdown reports.
If the page links to a local file outside the wiki (an absolute path, ~, or
a relative path escaping .hallouminate/wiki/), copy that file into the wiki
first — add_markdown it (e.g. under sources/<slug>.md) or, if it belongs to
a different knowledge base, into a corpus declared in config — then link the
corpus-relative copy. ground never indexes targets outside a corpus, and such
links break when the wiki moves. Web URLs pass through unchanged; cite code as
path:line text, not a link.
If you wrote files directly (no add_markdown), run hallouminate index to
build the index. Then prove it end-to-end:
hallouminate ground "<a question the page answers>"
Show the user the hit. A real result confirms the daemon, index, and corpus wiring all work.
On the branch agreed in Phase 5, stage and commit the scaffolding plus the first page:
git checkout -b <branch>
git add .hallouminate/
git commit -m "Add hallouminate wiki scaffolding and first page"
Show the diff and summarize what landed. Then offer next steps:
add_markdown (or the CLI).hallouminate hook install
adds post-commit / post-merge hooks that re-index in the background.hallouminate ground "<query>" or the ground MCP tool.Recap for the user: binary installed (prebuilt, no toolchain), MCP server
available for their harness, config initialized, repo seeded with init-repo,
first wiki page authored + indexed + committed, and how to grow it from here.
What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/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)./wiki-initBootstrap 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).Other plugins' skills for the same job
npx claudepluginhub paulnsorensen/hallouminate --plugin hallouminate