strata:graphify

A command that rebuilds a map of a codebase and connects it to notes in Obsidian, a note-taking app with a visual link graph.

In plain words
What is it for?
Use it to list functions, classes, and modules as linked notes, or to regenerate the code graph without an internet connection or language-model key.
Why use it?
It removes the need to update code relationships by hand after refactors and helps reveal when the saved graph is out of date.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/gideondk/strata/graphify
Any agent
npx skills add gideondk/strata --skill graphify
Clone the repo
git clone --depth 1 https://github.com/gideondk/strata

Made for: Claude Code, Codex.

Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,484 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00083 $0.01484
Opus 5 $0.00042 $0.00742
Sonnet 5 $0.00017 $0.00297
Haiku 4.5 $0.00008 $0.00148

Measured 2d ago against content hash 64c151220dbd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

strata:graphify 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 2d 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.

skills/graphify/SKILL.md · 129 lines

How it starts

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

strata:graphify

Orchestration wrapper. Doesn't bundle Graphify, shells out to whatever graphify is on PATH (install separately: pip install graphifyy).

What it does

The orchestrator runs two steps in sequence:

  1. Build the graph. Runs graphify update . (AST-only, no LLM, no network) which produces graphify-out/graph.json with nodes and edges for every function / class / module Graphify can see.

  2. Wire it into the vault. Reads the freshly-produced graph.json and writes one markdown note per node into <vault>/<repo>/graphify/, with [[wikilinks]] for each edge. This step is local and mechanical, no LLM, no API key, no network. It's Strata's own implementation of Graphify's --obsidian flag, designed to work without an LLM key.

After both steps, Obsidian's graph view shows one continuous knowledge graph: a decision note that wikilinks [[MedicationService]] visually connects to the Graphify-generated note for that class.

How

# Default — incremental graphify update + vault wiring
"${CLAUDE_PLUGIN_ROOT}/bin/strata" graphify

# Skip the vault wiring (graph.json still produced)
"${CLAUDE_PLUGIN_ROOT}/bin/strata" graphify --no-obsidian

# Full rebuild instead of incremental (slower, deterministic)
"${CLAUDE_PLUGIN_ROOT}/bin/strata" graphify --rebuild

# Status only — print graph age + size, no build
"${CLAUDE_PLUGIN_ROOT}/bin/strata" graphify --status

# Semantic-edge mode (uses Graphify's LLM path).
# Costs tokens AND sends file content to an external LLM API.
# DO NOT use for regulated content.
"${CLAUDE_PLUGIN_ROOT}/bin/strata" graphify --deep

Resulting vault layout

~/StrataVault/<repo>/
├── decisions/                  # ADRs (Strata-managed)
├── domain/                     # vocabulary (Strata-managed)
├── pr-context/                 # per-branch notes (Strata-managed)
├── lessons/                    # retrospectives (Strata-managed)
├── procedural/                 # recipes (Strata-managed)
└── graphify/                   # per-function / class / module nodes
                                 (regenerated by /strata:graphify)

Read the full file on GitHub · 129 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. 2d ago First seen · 129 lines · 83 tokens per session scan A 64c151220dbd

Subscribe to this mod's changes

strata:graphify is a skill published in the GitHub repository gideondk/strata (5 stars, last pushed 1mo ago), licensed MPL-2.0. It adds 83 tokens to every session and 1,484 once invoked, about $0.0004 per session on Opus 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-31.

Related

Other skills, from other repositories

my-wiki

Manage local OKF-compatible Markdown My Wiki vaults with an AI agent. Use for capturing webpages, PDFs, Office documents, notes, images, folders, and ZIP bundles as References; maintaining Reference-to-Concept evidence links; searching or answering from a vault; checking or repairing vault health; switching among…

NimaChu/my-wiki · 78 tokens

save-to-favorites

The single complete Pickoo workflow for new Xiaohongshu, WeChat, Douyin, Bilibili, Xiaoyuzhou, podcast, music, article/blog, or general web links. Use for 收藏、保存、收录、抓取、归档、拆解、分析、OCR、ASR or 完整处理 from Codex, WorkBuddy, Hermes, Claude, or Claudian. It owns intake and the complete downstream workflow; obsolete standalone…

KristenPan/pickoo-your-favorites · 110 tokens

asset-review-agent

Independently review source-extracted quote, viewpoint, hook, and structure candidates. Image and shot assets are outside automatic review and enter only after explicit user interaction.

KristenPan/pickoo-your-favorites · 37 tokens

phase-orchestrator

Orchestrates phase-based implementation plans using the host's todo tracker and subagents for implementation, review, validation, default phase commits, plan finalization, and a final end-to-end review. Delegates work through the companion phase-implementer, phase-reviewer, and phase-final-reviewer skills and consumes…

hraness/kb · 101 tokens

answer-processing

Use whenever the user uploads a hand-written or scanned answer PDF to be graded against a reference solution. Converts answer PDFs in answers/.pdf to markdown in answers/converted/.md using the pdf skill (OCR as needed), then performs strategy-based grading against converted/solutions/.md or quizzes/answers.md.…

OPTIMETA/PAIDEIA · 79 tokens

course-builder

Use whenever the user wants to ingest a new course's materials (lecture notes, textbook chapters, HW problems, HW solutions) and build the course-specific knowledge base — patterns.md (recurring solution techniques), coverage.md (HW-to-section map with 🔥 exam tiers + ⚠weak flags), and summary.md (topic tree). Invoked…

OPTIMETA/PAIDEIA · 119 tokens