Skip to content
Documentation
Command

/wiki-global-init

Create or repair the user's default cross-project wiki.

BOOST
From plugin
llm-wiki-compiler
32812 skills12 commands
Install
> /plugin marketplace add ussumant/llm-wiki-compiler
> /plugin install llm-wiki-compiler@llm-wiki-compiler

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/wiki-global-init

Context preview

What this command does when you run it.

Create or repair the user's default cross-project wiki.

Command definition

wiki-global-init.md

Initialize the Global Wiki

Create or repair the user's default cross-project wiki.

Arguments

  • `/wiki-global-init` — initialize the default global wiki
  • `/wiki-global-init --path ~/Somewhere` — initialize a custom global wiki directory

Codex prompt equivalents:

Set up my global wiki

or:

Use ~/Knowledge as my global wiki

Global wiki location

Default:

~/Knowledge

Override:

LLM_WIKI_GLOBAL_DIR=/path/to/wiki-root

Prefer `~/Knowledge` over hidden app storage because users can browse it, back it up, sync it, edit sources, and understand where their knowledge lives.

Instructions

1. Resolve the target directory:

  • `--path` wins if provided.
  • Else `LLM_WIKI_GLOBAL_DIR` if set.
  • Else `~/Knowledge`.

2. Create the directory if it does not exist. 3. Create these subdirectories if missing:

   wiki-sources/captures/
   wiki/

4. If `.wiki-compiler.json` does not exist, create it from `templates/global-wiki-config.json`. 5. If `.wiki-compiler.json` exists, verify it includes `wiki-sources/captures/` in `sources[]`; ask before adding it if missing. 6. Do not overwrite an existing config. 7. Print:

   Global wiki ready at {path}

   Try:
   https://example.com
   capture this in my wiki

Default config

Use `templates/global-wiki-config.json` as the default config shape. The default wiki is a knowledge-mode wiki with capture sources enabled and output at `wiki/`.

Read more
Ships withllm-wiki-compiler

A Claude Code and Codex-compatible plugin that compiles knowledge into a topic-based wiki — from scattered markdown files or entire codebases. Reduce context costs by ~90% and give your agent a synthesized understanding of any project. Documentation

Get the whole plugin

Other commands on llm-wiki-compiler.