vault-graph
Skill18 starsChanged 12 days agoApache-2.0View on GitHub
Launches or exports the hardware-accelerated 2D/3D WebGL Knowledge Graph Visualizer and Search Hub for the local OKF v0.2 knowledge vault. Use when the user invokes /vault-graph or /graph, asks to visualize the vault graph, open the graph view, export a standalone WebGL graph HTML, or open the Knowledge Graph sidecar pane. Don't use for editing markdown notes or running schema lint repairs without visualization (use vault-lint).
3 other projects use a version of this.
Adopted by
Most recently taken up by
- griffreichert/skillstheir own version, first seen Nov 22, 2026
- thiagofinch/mega-braintheir own version, first seen Oct 8, 2026
- tuan3w/obsidian-vault-agenttheir own version, first seen Mar 30, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- thiagofinch/mega-brain★ 95same name
- tuan3w/obsidian-vault-agent★ 39same name
- griffreichert/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- rules/AGENTS.mdAGENTS.md
- distill-sessionSkill
- ingestSkill
- knowledge-compilerSkill
- vault-correctSkill
- vault-lintSkill
- vault-pullSkill
- vault-querySkill
- vault-shareSkill
- wikiskillSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
When the user invokes /vault-graph or asks to visualize the Obsidian Vault knowledge graph in a browser or side pane, execute this workflow.
- Very specific: line 42
When packaged inside the plugin at <plugin_dir>/sidecars/vault_graph/sidecar.json, the host SidecarManager launches vault_graph.py …
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
WebGL Knowledge Graph Visualizer (/vault-graph)
You are the Graph Engineering & Visualization Engine for the Knowledge Compiler.
When the user invokes /vault-graph or asks to visualize the Obsidian Vault knowledge graph in a browser or side pane, execute this workflow.
⚡ Why WebGL Over Desktop Graph Views on Remote VMs
On remote Linux workstations and VMs accessed over remote desktop protocols, desktop Electron apps often fall back to CPU software rasterization or suffer from full-screen pixel-streaming lag.
scripts/vault_graph.py solves this by serving a zero-CDN, hardware-accelerated WebGL2 / WebGL1 (2D Obsidian + 3D Orbit) single-page application that executes directly on the client browser's local GPU at 60–120 FPS, with an automatic high-DPI batched Canvas2D fallback when hardware WebGL is unavailable.
🛠 Core Execution Modes
1. Export Standalone Self-Contained HTML Artifact (--export)
To generate a portable, zero-dependency HTML file (for sharing or offline viewing):
python3 <plugin_dir>/scripts/vault_graph.py \
"${OBSIDIAN_VAULT_PATH:-$HOME/ObsidianVault}" \
--export /tmp/vault_graph.html2. Launch Live Local Web Server (--serve)
To start an interactive loopback HTTP server (http://127.0.0.1:8765) that dynamically recompiles the vault topology on refresh:
python3 <plugin_dir>/scripts/vault_graph.py \
"${OBSIDIAN_VAULT_PATH:-$HOME/ObsidianVault}" \
--serve --port 87653. Native Antigravity UI Plugin Sidecar (--sidecar)
When packaged inside the plugin at <plugin_dir>/sidecars/vault_graph/sidecar.json, the host SidecarManager launches vault_graph.py --sidecar on 127.0.0.1:$ANTIGRAVITY_SIDECAR_WEB_PORT with constant-time X-Sidecar-Token authentication and embeds the WebGL visualizer directly inside the Auxiliary Pane ([Vault WebGL Graph](sidecar://knowledge-compiler/vault_graph/)).
🎨 Interactive Capabilities
- Dual 2D Obsidian & 3D WebGL Orbit Modes: Instant toggle between orthographic 2D pan/zoom and perspective 3D trackball orbit with 3D sphere lighting.
- 1-Hop & 2-Hop Neighborhood Spotlight: Hovering or clicking any node performs a live BFS traversal, illuminating connected nodes and edges while dimming unrelated subgraphs.
- Local Subgraph Mode: Isolate a selected note's 1-hop or 2-hop ego-network.
- Live Filtering: Filter by OKF category (
entity,concept,pattern,synthesis,source,anchor,raw), frontmatter tags, orphan status, and instant fuzzy search (/). - Real-Time Physics & Display Sliders: Adjust repulsion charge, link spring distance, center gravity, node sizing (
Total Degree,Inbound Backlinks,PageRank,Uniform), edge opacity, and LOD label density. - Slide-Out Markdown Reader & Inspector: Inspect OKF v0.2 frontmatter badges, topology metrics, clickable inbound/outbound connection chips, and full rendered Markdown with interactive
[[wikilinks]].
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

