Enrich the Obsidian knowledge graph with MOC hubs, entity notes, and cross-links. Use when the user says "seed the graph", "enrich graph", "graph seeding", "add nodes", "make graph richer", or wants to grow their knowledge graph from project context.
brain.yaml in the current directory's .brain/ to find the architecture mode~/Brain)Count and record:
.md files in the hub vault (top-level only, not Machine/ subdirs)[[wikilinks]] across all hub vault .md filesRead {hub}/Machine/Memory/projects.md to get all registered projects.
For each registered project, scan these sources silently:
README.md → project purpose, tech stackCLAUDE.md → tools, conventions, domainpackage.json / pyproject.toml / Cargo.toml / go.mod → dependencies and language.brain/brain.yaml → module type, frameworkMachine/Memory/context-cache.md → existing contextMachine/Memory/entities.md → already-known entitiesBuild a master list of:
Deduplication: Normalize names (lowercase comparison). If a note already exists in the hub vault, skip it. Only create new notes.
For each discovered domain, create a MOC — {Domain}.md note if it doesn't exist:
---