SamurAIGPT

Wiki Graph — AI skill for Claude Code

AI community

Build the LLM Wiki knowledge graph.

How to install Wiki Graph

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.

What Wiki Graph does

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 —

Alternatives in AI

  • WeKnora — Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, an 26.9k ★
  • Open Knowledge — Beautiful, AI-native markdown IDE and LLM wiki 3.7k ★
  • Karpathy LLM Wiki — Agent Skills-compatible LLM wiki for Claude Code, Cursor, and Codex 618 ★

Full documentation available on GitHub

View Source Repository