/chidi-optimal-brain:vault-context-canvas Optional: create | refresh (default refresh if canvas exists)from chidi-optimal-brain
Create or refresh an Obsidian JSON Canvas context graph in the vault from Context Index and project-context notes (not the Cursor IDE canvas). Use when the user wants to see how vault notes connect, asks for a context graph or map, or after big research sessions. Reads and writes only this repo and the vault path you configured.
Ships in chidi-optimal-brain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build or refresh a spatial context graph as an Obsidian JSON Canvas (.canvas file) in the vault. This is the open JSON Canvas format — not the Cursor IDE React .canvas.tsx canvas skill.
Requires /setup-knowledge-vault.
Read:
.agent/context/knowledge-vault.md (fallback: docs/agents/knowledge-vault.md) — vault root.agent/context/project-context.md (fallback: docs/agents/project-context.md) — project folder + wikilinksIndexes/Context Index.md (or Context Index.md at vault root)Default path:
{VAULT_PATH}/{ProjectFolder}/Context Graph.canvas
Create {ProjectFolder}/ if missing.
project-context.md under "Relevant global knowledge" and related sections[[wikilinks]] in included notes; add edges when both endpoints are on the canvaslabel sparingly (grounds, supersedes, related)Follow JSON-CANVAS-FORMAT.md — grid inside group nodes.
No existing canvas at output path. Build from scratch.
Canvas exists — merge by stable node id derived from file path; update node set from current Context Index + project-context; re-layout; preserve unknown nodes if possible (Obsidian may add custom fields — do not strip them).
User argument create forces full rebuild (confirm if canvas has manual edits).
nodes and edges per JSON-CANVAS-FORMAT{ProjectFolder}/Context Graph.canvas as pretty-printed JSONmaintain-context-graph recipe/project-notes — personal notes may appear on canvas if linked from project-contextSuggest /setup-knowledge-vault (or copying .agent/context/knowledge-vault.example.md if present). Do not guess paths.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (chidiokoene/optimal-brain) — no native marketplace selected
npx claudepluginhub p/chidiokoene-mattpocock-skills36 skills in this plugin
/agent-loopAgentic loop discipline. Use when the user wants to loop until done, iterate until tests pass, keep fixing until green, run until verification passes, or mentions red-green-refactor in an iterative fix context./ask-brainRouter for the whole optimal-brain pack: given a task, picks the single best skill or an ordered chain of skills, says why, and says what to skip. Use when the user is unsure which skill to use, asks what to do next or where to start, or describes a task without naming a skill./codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.Other plugins' skills for the same job