/alive:my-context-graphfrom alive
Generates an interactive force-directed graph from walnut and bundle frontmatter, showing connections between walnuts, people, bundles, and tags. Opens in the browser with D3.js.
Ships in alive. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Visual overview of the entire ALIVE world — connections, clusters, health.
Not a list (that's the tree in alive:world). Not a search (that's alive:search-world). Map is spatial — it shows how everything connects and where the energy is.
Run generate-index.py from the plugin to walk all walnuts and collect frontmatter. Always use the plugin cache copy — never copy scripts to the world (world-local copies drift from the plugin and produce stale data).
python3 "$ALIVE_PLUGIN_ROOT/scripts/generate-index.py" "$WORLD_ROOT"
The script walks all directories for key.md files, handling both _kernel/key.md (current structure) and root-level key.md (flat/legacy structure). It deduplicates entries and skips template walnuts.
Collected data per walnut:
key.md people: field — multi-line list)key.md links: field — wikilink extraction)key.md parent: field)*/context.manifest.yaml in walnut root — name, status, goal)_kernel/now.json if present)_kernel/now.json updated field)Projection tiers: The graph supports three projection levels for controlling visual density:
Default to Tier 2. Offer toggle controls for Tier 1 (simplified) and Tier 3 (full detail).
Outputs:
.alive/_index.yaml — human-readable world index.alive/_index.json — machine-readable for graph consumptionRun generate-graph.py from the plugin to read the JSON index and generate an interactive D3.js graph.
python3 "$ALIVE_PLUGIN_ROOT/scripts/generate-graph.py" "$WORLD_ROOT"
The graph is written to .alive/context-graph.html — an HTML file with embedded data. Requires internet connection (D3.js loads from CDN, fonts from Fontshare/Google Fonts).
Open in browser:
# macOS
open "$WORLD_ROOT/.alive/context-graph.html"
# Linux
xdg-open "$WORLD_ROOT/.alive/context-graph.html"
# Windows
start "" "$WORLD_ROOT/.alive/context-graph.html"
Theme: Alive branded. Light mode default (cream #FAF8F5, orange primary #F97316). Dark mode toggle (forest green #0A1F0D, copper #B87333 accents). Custom fonts: Array (display), Khand (headings), Inter (body).
Nodes:
Edges:
links: field connections between walnutsparent: -> child relationships (dashed)Color by ALIVE domain:
Colors adapt per theme (lighter in dark mode for visibility).
Size by activity:
Health signals visible:
> **squirrel map generated**
> 58 walnuts, 78 people, 41 bundles
> 60 nodes, 36 links, 11 people connectors
>
> > Opening in browser...
Click any node to open a pinned side panel showing:
task_counts payload)/ hotkey -> focus search boxClick any walnut with bundles to expand them as orbiting nodes:
| File | Purpose |
|---|---|
.alive/_index.yaml | Generated world index — human-readable, all frontmatter |
.alive/_index.json | Generated world index — JSON for graph consumption |
.alive/context-graph.html | Interactive D3.js graph — self-contained, Alive branded |
$ALIVE_PLUGIN_ROOT/scripts/generate-index.py | Index generator (walks tree, reads frontmatter, outputs YAML + JSON) |
$ALIVE_PLUGIN_ROOT/scripts/generate-graph.py | Graph generator (reads JSON index, outputs branded HTML with D3.js) |
Important: Always use the plugin cache copies. Do NOT copy scripts to .alive/scripts/ — world-local copies drift from the plugin on updates and produce stale data (root cause of t003).
The index and graph should be regenerated:
alive:my-context-graph invocation (always fresh)alive:save when structural changes occurred (new walnut, new bundle, new person)alive:system-cleanup resolves issues that affect the graph (broken links, orphan walnuts)> **squirrel world changed — regenerate map?**
> New walnut created: flux-engine
> 2 new bundles, 1 new person
>
> > Regenerate / Skip
alive:world — world is the operational dashboard (what to work on). Map is the spatial view (how things connect).alive:search-world — find retrieves specific content. Map shows the topology.alive:system-cleanup — tidy fixes structural issues. Map visualizes the structure.World answers "what should I do?" Map answers "what does my world look like?"
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub alivecontext/alive --plugin alive17 skills in this plugin
/build-extensionsCreate new skills, rules, and hooks for your world. Checks plugin compatibility, writes to the human's space (not plugin cache), validates against the system, and suggests when repeated work should become a skill. For marketplace-ready plugins, hands off to the contributor plugin./bundleCreate, share, and graduate bundles — the unit of focused work within a walnut. Manages the full bundle lifecycle from creation through sharing to graduation./capture-contextUse when external content arrives in the session — emails, transcripts, screenshots, documents, files, or in-session research worth keeping. Also use when there's nothing obvious to capture — the skill checks 03_Inbox/ for unrouted files and enters inbox scan mode. Stores raw content, routes to bundles, extracts tasks and insights into the stash.Other plugins' skills for the same job