/agent-continuity:canvas-map <hub-note-name>from Agent Continuity
Generate an Obsidian Canvas (.canvas) relationship map for a hub note — the note in the center, its outgoing links to one side and its backlinks to the other, wired with edges — saved into the vault's Architecture/ folder. Uses the Obsidian CLI to read the link graph. Use when the user wants a visual map of how a note connects to the rest of the vault, an architecture/dependency diagram, or asks to "make a canvas for X" / "map what links to X".
Ships in Agent Continuity. 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.
None: SKILL.md is the whole skill.
Interactive walkthrough. Gather the link graph, propose the layout, confirm, write, validate.
Composes the query-vault channel (the Obsidian CLI) with the JSON Canvas format.
The link graph comes from the Obsidian CLI, which needs the app running with the vault open.
obsidian vault # active vault name + path, or error
If unavailable, tell the user to open Obsidian (the map can't be built from raw reads reliably) and stop — don't fabricate a graph.
The hub note name is passed as $ARGUMENTS (or ask). Resolve and sanity-check it exists:
obsidian backlinks file="$ARGUMENTS" format=tsv # files that link TO the hub
obsidian links file="$ARGUMENTS" format=tsv # files the hub links OUT to
Report the counts ("12 backlinks, 3 outgoing") so the user sees the map's size before you draw it. If a hub has dozens of links, offer to cap each side (e.g. top 15) or scope to a folder.
Three columns, hub centered:
backlinks HUB outgoing links
(x = -700) (x = 0) (x = +700)
[note] ──arrow──▶ [ HUB ] ──arrow──▶ [note]
[note] ──────────▶ ─────────▶ [note]
type: "file", file: "<vault-relative path>").backlink → hub and hub → outgoing, toEnd: "arrow". Optionally color the two
sides differently (color "4"/"5") so direction reads at a glance.Confirm the hub, the per-side counts/caps, and the output path before writing.
Default path: <vault>/Architecture/<HubName> Map.canvas. Refuse to overwrite an existing
canvas unless the user opts in (offer a .draft.canvas instead).
A .canvas is JSON: {"nodes": [...], "edges": [...]}. Build it programmatically — generate a
unique 16-char hex id per node and edge, required fields id/type/x/y/width/height, file
nodes carry file, edges carry fromNode/toNode/toEnd: "arrow". Generating with a small
python3 script (one node per CLI line) is more reliable than hand-writing JSON. Use real \n
in any text nodes, never literal \\n.
Non-negotiable, or Obsidian shows a broken/blank canvas:
python3 - <<'PY'
import json
c=json.load(open(PATH))
ids={n["id"] for n in c["nodes"]}
assert all(e["fromNode"] in ids and e["toNode"] in ids for e in c["edges"]), "dangling edge"
assert len(ids)==len(c["nodes"]), "duplicate node id"
print("canvas valid:", len(c["nodes"]), "nodes,", len(c["edges"]), "edges")
PY
Check: valid JSON, every fromNode/toNode resolves to a node, all ids unique, every file
path actually exists in the vault.
Architecture/'s index so it's discoverable.Knowledge/Domain_Legal.md), exactly as the
CLI prints them.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub monolith-inc/agent-continuity --plugin agent-continuity13 skills in this plugin
/add-refactor-entryGiven a commit hash, derive a before/after entry for Agent Continuity Style Refactor Catalog with the principle applied. Use when the user wants to capture a notable refactor as a teaching example, or asks to "add this commit to the refactor catalog" / "log this refactor"./init-rulesDrop a starter set of `.agent/rules/*.md` template files (strict-implementation-lock, rules-architect-protocol, rules-git-workflow, rules-date-time-handling) at the project root. Use when bootstrapping a project that has no `.agent/rules/` yet, or when the user asks to "scaffold the agent rules" / "drop starter rule templates"./init-vaultScaffold an Agent Continuity Obsidian vault from a research-backed archetype (software-project, research, personal-pkm, technical-docs). Reads the archetype spec for folder structure and conventions, scaffolds the skeleton, writes a .agent-continuity-vault.json marker, and seeds archetype-appropriate files. Use when a project adopting Agent Continuity needs a new vault, or the user asks to "create the agent vault" / "scaffold the agent knowledge vault".