graphify

graphify is a command for Claude Code from rylsherdamz-rgb/stellar-forge. It costs 0 tokens per session (294 once invoked), scanned A, original, MIT.

A command that maps a project’s files, code, documentation, and relationships into a searchable knowledge graph. A knowledge graph is a connected map of facts and links between them.

In plain words
What is it for?
Generating an interactive project map, an audit report, raw graph data, and answers to questions about project structure.
Why use it?
It makes a large or unfamiliar project easier to navigate and helps reveal how parts such as contracts, frontends, and payment flows connect.

Command for Claude Code

Part of the stellar-forge plugin — 19 skills, 6 commands, 6 agents, 4 MCP servers shipped together

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 commands/rylsherdamz-rgb/stellar-forge/graphify
Clone the repo
git clone --depth 1 https://github.com/rylsherdamz-rgb/stellar-forge

Made for: Claude Code.

Or install stellar-forge, the plugin that ships this one along with the rest of its 19 skills, 6 commands, 6 agents, 4 MCP servers.

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 graphify

README.md
[![agentmods](https://agentmods.dev/badge/commands/rylsherdamz-rgb/stellar-forge/graphify.svg)](https://agentmods.dev/commands/rylsherdamz-rgb/stellar-forge/graphify)
Your own site
<a href="https://agentmods.dev/commands/rylsherdamz-rgb/stellar-forge/graphify"><img src="https://agentmods.dev/badge/commands/rylsherdamz-rgb/stellar-forge/graphify.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 294 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.00000 $0.00294
Opus 5 $0.00000 $0.00147
Sonnet 5 $0.00000 $0.00059
Haiku 4.5 $0.00000 $0.00029

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

Security

Grade A, and why

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 5d 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.

.claude/commands/graphify.md · 33 lines

What it actually says

/graphify

Build a knowledge graph of the current project or a specific path for navigation and querying.

Usage

/graphify [path] [options]
  • path: defaults to . (current project root)
  • options: --no-viz, --mode deep, --update, --directed

What it does

  1. Detects all files in the project
  2. Extracts entities and relationships (AST for code, semantic for docs)
  3. Builds a knowledge graph with community detection
  4. Generates graphify-out/ with:
    • graph.html — interactive visualization
    • GRAPH_REPORT.md — audit report with god nodes and surprising connections
    • graph.json — raw graph data for queries

After graphify

You can navigate the project:

  • /graphify query "How do the contracts connect to the frontend?"
  • /graphify query "What's the payment flow?"
  • /graphify explain "<node-name>"

Integration Points

  • Run automatically after /scaffold to graph the new project
  • Run automatically after /deploy to graph the deployed project state
  • Run automatically after /test-e2e to graph test artifacts
  • Part of Phase 0 (self-graphify the framework repo)
  • Part of Phase 4.5 (graphify the user's generated project)
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. 5d ago First seen · 33 lines · 0 tokens per session scan A 3b4b6cfed474

Subscribe to this mod's changes

graphify is a command published in the GitHub repository rylsherdamz-rgb/stellar-forge (17 stars, last pushed 12d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 294 tokens. 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.