my-context-graph

my-context-graph is a skill for Claude Code from alivecontext/alive. It costs 48 tokens per session (1,899 once invoked), scanned A, original, MIT.

An interactive graph of an ALIVE world: a connected collection of notes, people, bundles, and tags.

In plain words
What is it for?
Use it to generate a world index from note metadata and open a browser map showing links, parents, bundles, task counts, and related details.
Why use it?
It shows clusters and relationships spatially, so connections are easier to see than in a plain list or tree.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the alive plugin — 17 skills, 5 hooks shipped together

Good fit Use it to generate a world index from note metadata and open a browser map showing links, parents, bundles, task counts, and related details.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alivecontext/alive/my-context-graph
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add alivecontext/alive --skill my-context-graph
Clone the repo
git clone --depth 1 https://github.com/alivecontext/alive

Made for: Claude Code.

Or install alive, the plugin that ships this one along with the rest of its 17 skills, 5 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for my-context-graph

README.md
[![agentmods](https://agentmods.dev/badge/skills/alivecontext/alive/my-context-graph/github.svg)](https://agentmods.dev/skills/alivecontext/alive/my-context-graph)
Your own site
<a href="https://agentmods.dev/skills/alivecontext/alive/my-context-graph"><img src="https://agentmods.dev/badge/skills/alivecontext/alive/my-context-graph/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for my-context-graph

Your own site · 80×15
<a href="https://agentmods.dev/skills/alivecontext/alive/my-context-graph"><img src="https://agentmods.dev/badge/skills/alivecontext/alive/my-context-graph.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,899 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.01899
Opus 5.5 $0.00019 $0.00760
Sonnet 5.5 $0.00010 $0.00380
Haiku 4.5 $0.00005 $0.00190

Measured 23d ago against content hash 178a9c413adc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

my-context-graph scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/alive/skills/my-context-graph/SKILL.md · 215 lines

How it starts

The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Map

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.


What It Does

1. Generate the World Index

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:

  • Name, type, goal, phase, rhythm, tags
  • People (from key.md people: field — multi-line list)
  • Links (from key.md links: field — wikilink extraction)
  • Parent (from key.md parent: field)
  • Bundles (detected by */context.manifest.yaml in walnut root — name, status, goal)
  • Task counts (from _kernel/now.json if present)
  • Last updated (from _kernel/now.json updated field)

Projection tiers: The graph supports three projection levels for controlling visual density:

  • Tier 1 — Walnuts only — just the walnut nodes and their connections. Fast, clean overview.
  • Tier 2 — Walnuts + People — adds people nodes that bridge multiple walnuts. Shows relationship topology.
  • Tier 3 — Full graph — walnuts, people, bundles, tags. Maximum detail. Can get dense in large worlds.

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 consumption

2. Render the Graph

Run generate-graph.py from the plugin to read the JSON index and generate an interactive D3.js graph.

Read the full file on GitHub · 215 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 23d ago Changed · -3 lines · -2 tokens per session 178a9c413adc
  2. 3mo ago First seen · 218 lines · 50 tokens per session scan A 0ae05cd8e7ea

Subscribe to this mod's changes

my-context-graph is a skill published in the GitHub repository alivecontext/alive (132 stars, last pushed 15d ago), licensed MIT. It adds 48 tokens to every session and 1,899 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

my-context-graph compared with skills from other repositories

my-context-graph next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
my-context-graphalivecontext/aliveSkill13215d agoMITA48Claude Code
doc-digestegorfedorov/claude-context-optimizerSkill1422d agoMITA75Claude Code
fresh-startegorfedorov/claude-context-optimizerSkill1422d agoMITA60Claude Code
token-checkegorfedorov/claude-context-optimizerSkill1422d agoMITA66Claude Code
project-contextegorfedorov/claude-context-optimizerSkill1422d agoMITA81Claude Code
brain-logtoroleapinc/claude-brainSkill975mo agoMITB10Claude Code
writing-handoffse4thvin/context-handoffSkill16mo agoMITA93Claude Code