Skip to content
Research
Command

/kg-index

Re-index the Obsidian vault knowledge graph

BOOST
From plugin
knowledge-graph
1131 skill1 command1 MCP
Install
$ npx -y skills add obra/knowledge-graph --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/kg-index

Context preview

What this command does when you run it.

Re-index the Obsidian vault knowledge graph

Command definition

kg-index.md
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.

Ships withknowledge-graph

Query and traverse an Obsidian vault as a knowledge graph. Semantic search, path finding, community detection, and graph analysis — all local, no cloud APIs.

Get the whole plugin
Stats
114
Stars
33
Forks
Quiet
Maintenance
TypeScript
Language
7mo ago
Last commit
7mo ago
Created
22h ago
Added

Repo: obra/knowledge-graph