Wiki Graph banner
SamurAIGPT SamurAIGPT

Wiki Graph

AI community

Description

Build the LLM Wiki knowledge graph. Usage: /wiki-graph First try running: python tools/build_graph.py --open If that fails (missing dependencies), build the graph manually: 1. Use Grep to find all [[wikilinks]] across every file in wiki/ 2. Build a nodes list: one node per wiki page, with id=relative-path, label=title, type from frontmatter 3. Build an edges list: one edge per [[wikilink]], tagged EXTRACTED 4. Infer additional implicit relationships between pages not captured by wikilinks —

Installation

Installs to ~/.claude/commands/samuraigpt-llm-wiki-agent-wiki-graph.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/SamurAIGPT/llm-wiki-agent/HEAD/.claude/commands/wiki-graph.md -o ~/.claude/commands/samuraigpt-llm-wiki-agent-wiki-graph.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository