gsd-graphify

gsd-graphify is a command for Claude Code, Codex from mrmyothet/zach-hair-studio. It costs 22 tokens per session (9,765 once invoked), scanned A, original, MIT.

A command for building, querying, and inspecting a project knowledge graph stored in the .planning/graphs/ folder. A knowledge graph records connections between project information.

In plain words
What is it for?
Use it to create or inspect the project graph and query its stored information when graphify is enabled in .planning/config.json.
Why use it?
It helps you examine project relationships in one place instead of searching planning files manually.

Command for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also reads ~/.codex or $CODEX_HOME. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/myothet/repos/vct/zach-hair-studio/landing-page/.claude/gsd-core/bin/${_GSD_SHIM_NAME}.

Good fit Use it to create or inspect the project graph and query its stored information when graphify is enabled in .planning/config.json.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code, Codex.

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 gsd-graphify

README.md
[![agentmods](https://agentmods.dev/badge/commands/mrmyothet/zach-hair-studio/gsd-graphify/github.svg)](https://agentmods.dev/commands/mrmyothet/zach-hair-studio/gsd-graphify)
Your own site
<a href="https://agentmods.dev/commands/mrmyothet/zach-hair-studio/gsd-graphify"><img src="https://agentmods.dev/badge/commands/mrmyothet/zach-hair-studio/gsd-graphify/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 gsd-graphify

Your own site · 80×15
<a href="https://agentmods.dev/commands/mrmyothet/zach-hair-studio/gsd-graphify"><img src="https://agentmods.dev/badge/commands/mrmyothet/zach-hair-studio/gsd-graphify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 9,765 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.
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.00022 $0.09765
Opus 5 $0.00011 $0.04882
Sonnet 5 $0.00004 $0.01953
Haiku 4.5 $0.00002 $0.00976

Measured 10d ago against content hash 4cdefbef9f2c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

gsd-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 10d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

landing-page/.claude/commands/gsd-graphify.md · 205 lines

How it starts

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

STOP -- DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by Claude Code's command system. Using the Read tool on this file wastes tokens. Begin executing Step 0 immediately.

CJS-only (graphify): graphify subcommands are not registered on gsd-tools query. Use the gsd_run launcher shim (defined in each bash block below) or invoke the binary directly: node <runtime-home>/gsd-core/bin/gsd-tools.cjs graphify … where <runtime-home> is your runtime's config directory (e.g. ~/.claude, ~/.hermes, ~/.cursor). See docs/CLI-TOOLS.md for details. Other tooling may still use gsd-tools query where a handler exists.

Step 0 -- Banner

Before ANY tool calls, display this banner:

GSD > GRAPHIFY

Then proceed to Step 1.

Step 1 -- Config Gate

Check if graphify is enabled by reading .planning/config.json directly using the Read tool.

DO NOT use the gsd-tools config get-value command -- it hard-exits on missing keys.

  1. Read .planning/config.json using the Read tool
  2. If the file does not exist: display the disabled message below and STOP
  3. Parse the JSON content. Check if config.graphify && config.graphify.enabled === true
  4. If graphify.enabled is NOT explicitly true: display the disabled message below and STOP
  5. If graphify.enabled is true: proceed to Step 2

Disabled message:

GSD > GRAPHIFY

Knowledge graph is disabled. To activate:

  node <runtime-home>/gsd-core/bin/gsd-tools.cjs config-set graphify.enabled true

Then run /gsd-graphify build to create the initial graph.

Step 2 -- Parse Argument

Parse $ARGUMENTS to determine the operation mode:

Argument Action
build Run inline build (Step 3)
query <term> Run inline query (Step 2a)
status Run inline status check (Step 2b)
diff Run inline diff check (Step 2c)
No argument or unknown Show usage message

Usage message (shown when no argument or unrecognized argument):

Read the full file on GitHub · 205 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. 10d ago First seen · 205 lines · 22 tokens per session scan A 4cdefbef9f2c

Subscribe to this mod's changes

gsd-graphify is a command published in the GitHub repository mrmyothet/zach-hair-studio (11 stars, last pushed 26d ago), licensed MIT. It adds 22 tokens to every session and 9,765 once invoked, about $0.0001 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-30.