obsidian-graph
Installation
SKILL.md
Obsidian Graph Analysis
Use obsidian_search and obsidian_read_file to gather vault data, then run Python/networkx analysis via Bash.
Citation Network
Steps:
obsidian_searchwithquery="",extensions=".md"— get all notes.- For each note,
obsidian_read_fileand extract:- Outgoing links: regex
\[\[([^\]|#]+)on the file body. - Zotero citekey from frontmatter
citekeyfield.
- Outgoing links: regex
- Write a Python script and run with
Bash:
import json, re, pathlib, sys