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

Full documentation available on GitHub

View Source Repository