obra

Kg Index — Development skill for Claude Code

Development community

Re-index the Obsidian vault knowledge graph.

How to install Kg Index

Installs to ~/.claude/skills/obra-knowledge-graph-kg-index/SKILL.md

Terminal
mkdir -p ~/.claude/skills/obra-knowledge-graph-kg-index && curl -fsSL https://raw.githubusercontent.com/obra/knowledge-graph/HEAD/commands/kg-index.md -o ~/.claude/skills/obra-knowledge-graph-kg-index/SKILL.md

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

What Kg Index does


name: kg-index description: Re-index the Obsidian vault knowledge graph

Re-index the knowledge graph by calling the `kg_index` MCP tool. Report the indexing stats (nodes indexed, edges, communities detected, stubs created) when complete.

If the index has never been built, this will do a full index. Otherwise it's incremental — only changed files are reprocessed.

Alternatives in Development

  • Obsidian MCP Server — Read, write, search, and surgically edit Obsidian vault notes, tags, and frontmatter via MCP 686 ★
  • Obsidian Connect — Bridge two unrelated domains using your vault's link graph — forces creative friction to spark new ideas 277 ★
  • Obsidian MCP Connector — Your Obsidian vault, exposed to Claude, Codex, Cursor and any MCP client 115 ★

Full documentation available on GitHub

View Source Repository