Skip to content
Documentation
Command

/wiki-global-init

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

From plugin
llm-wiki-compiler
33212 skills12 commands
> /plugin marketplace add ussumant/llm-wiki-compiler
> /plugin install llm-wiki-compiler@llm-wiki-compiler

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
@ussumant
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

Stars on GitHub

Momentum

stars in total
332
Star history of ussumant/llm-wiki-compiler on GitHub, a chart by star-history.com

Other commands on llm-wiki-compiler.

fetch-bookmarks

fetch-bookmarks

Command

Pull bookmarks from an external service (X/Twitter today; Readwise, Pocket, GitHub stars planned) into a local directory that…

wiki-capture

wiki-capture

Command

Capture a URL plus user context, normalize it into a durable markdown source, then connect it to the global wiki, local project…

wiki-ingest

wiki-ingest

Command

Interactive workflow for adding one source file to the wiki. The LLM reads the file, discusses key takeaways with the user, then…

wiki-init

wiki-init

Command

Interactive, conversational setup for a new knowledge base wiki. One question at a time, multiple choice when possible.

More commands from other plugins.