graph-builder
Original:🇺🇸 English
Translated
2 scriptsChecked / no sensitive code detected
Analyze and build knowledge graph links in Obsidian vault. Find orphan notes, suggest connections, add backlinks, visualize link structure. Triggers on /graph, "analyze links", "find orphans", "suggest connections".
8installs
Sourcesmixs/agent-second-brain
Added on
NPX Install
npx skill4agent add smixs/agent-second-brain graph-builderTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Graph Builder
Analyze vault link structure and build meaningful connections between notes.
Use Cases
- Analyze — Statistics and insights about vault graph
- Find Orphans — Notes without incoming/outgoing links
- Suggest Links — AI-powered connection recommendations
- Add Links — Batch link creation based on content analysis
- Visualize — Export graph data for visualization
Quick Commands
| Command | Action |
|---|---|
| Full vault analysis with stats |
| List unconnected notes |
| Get link suggestions |
| Apply suggested links |
Analysis Output
📊 Vault Graph Analysis
Total notes: 247
Total links: 892
Orphan notes: 12
Most connected: [[MEMORY]] (47 links)
Weakest domain: learnings/ (avg 1.2 links/note)
🔗 Suggested connections:
• [[Project A]] ↔ [[Client X]] (mentioned 5x)
• [[Idea B]] → [[MOC/Ideas]] (category match)Domain Configuration
Domains are configured in . Default structure:
references/domains.md- daily/ — Daily journal entries
- thoughts/ — Processed ideas, reflections, learnings
- goals/ — Goal cascade files
- MOC/ — Maps of Content (index pages)
- projects/ — Project notes
Link Building Strategy
- Entity extraction — Find mentions of existing notes
- Category mapping — Connect notes to relevant MOCs
- Temporal links — Link daily entries to related thoughts
- Cross-domain — Bridge domains (project ↔ goal ↔ daily)
Scripts
- — Graph statistics and orphan detection
scripts/analyze.py - — Batch link insertion
scripts/add_links.py
References
- — Domain definitions and rules
references/domains.md - — Frontmatter schema for notes
references/frontmatter.md
Output Format
Reports use plain markdown (for vault notes) or HTML (for Telegram).
For vault: Standard markdown with [[wiki-links]]
For Telegram: HTML tags (b, i, code only)