gsd:graphify

gsd:graphify is a command for Claude Code from bitflight-devops/skilllint. It costs 22 tokens per session (2,044 once invoked), scanned A, a copy of gsd-graphify, MIT.

A command that builds and lets you inspect a knowledge graph for project information. A knowledge graph links related pieces of information so their connections can be queried.

In plain words
What is it for?
Use it to build, query, and inspect the graph stored in the project planning directory.
Why use it?
It helps you explore relationships between project decisions, documents, and other planning data instead of searching through files one by one.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node ./.claude/get-shit-done/bin/gsd-tools.cjs config-set graphify.enabled true.

Good fit Use it to build, query, and inspect the graph stored in the project planning directory.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/bitflight-devops/skilllint
agentmods
npx agentmods add commands/bitflight-devops/skilllint/graphify

Made for: Claude Code.

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/bitflight-devops/skilllint/graphify.svg)](https://agentmods.dev/commands/bitflight-devops/skilllint/graphify)
Your own site
<a href="https://agentmods.dev/commands/bitflight-devops/skilllint/graphify"><img src="https://agentmods.dev/badge/commands/bitflight-devops/skilllint/graphify.svg" alt="Measured on agentmods" 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 2,044 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 92% copy Near-identical to another mod 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.02044
Opus 5 $0.00011 $0.01022
Sonnet 5 $0.00004 $0.00409
Haiku 4.5 $0.00002 $0.00204

Measured 4d ago against content hash 6351e0341652, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 4d 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

This is a copy

92% identical to gsd-graphify — 33 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/gsd/graphify.md · 200 lines

How it starts

The opening of the file, as written. The whole thing — 200 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-sdk query. Use node ./.claude/get-shit-done/bin/gsd-tools.cjs graphify … as documented in this command and in docs/CLI-TOOLS.md. Other tooling may still use gsd-sdk 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 ./.claude/get-shit-done/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):

GSD > GRAPHIFY

Usage: /gsd:graphify <mode>

Modes:
  build           Build or rebuild the knowledge graph
  query <term>    Search the graph for a term
  status          Show graph freshness and statistics
  diff            Show changes since last build

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

Subscribe to this mod's changes

gsd:graphify is a command published in the GitHub repository bitflight-devops/skilllint (7 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 2,044 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to gsd-graphify, differing in 33 lines, and is treated as a copy.