graphify

graphify is a skill for Claude Code, Codex from RichardGeorgeDavis/Codex-Workspace. It costs 76 tokens per session (9,848 once invoked), scanned C, a copy of graphify, MIT.

A guide for using Graphify, a tool that turns a codebase into a searchable knowledge graph showing relationships between files and concepts. In Workspace Hub, it uses an existing local code-only graph.

In plain words
What is it for?
Use it to answer questions about a codebase, its architecture, project content, and connections between files, especially when a graphify-out directory already exists.
Why use it?
It gives agents a structured way to investigate architecture and file relationships before changing code. The guide also limits queries to approved local data and requires important findings to be checked against source files.

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/richardgeorgedavis/codex-workspace/graphify
Any agent
npx skills add RichardGeorgeDavis/Codex-Workspace --skill graphify
Clone the repo
git clone --depth 1 https://github.com/RichardGeorgeDavis/Codex-Workspace

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 graphify

README.md
[![agentmods](https://agentmods.dev/badge/skills/richardgeorgedavis/codex-workspace/graphify.svg)](https://agentmods.dev/skills/richardgeorgedavis/codex-workspace/graphify)
Your own site
<a href="https://agentmods.dev/skills/richardgeorgedavis/codex-workspace/graphify"><img src="https://agentmods.dev/badge/skills/richardgeorgedavis/codex-workspace/graphify.svg" alt="Measured on agentmods" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,848 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin 91% 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 $0.00076 $0.09848
Opus 5 $0.00038 $0.04924
Sonnet 5 $0.00015 $0.01970
Haiku 4.5 $0.00008 $0.00985

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

Security

Grade C, and why

graphify scanned grade C with 2 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

> Requires `multi_agent = true` under `[features]` in `~/.codex/config.toml`.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

If the user invoked `/graphify --help` or `/graphify -h` (with no other arguments), print the contents of the `## Usage` section above verbatim and stop. Do not run any commands, do not detect files, do not default the p
Origin

This is a copy

91% identical to graphify — 53 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.

repos/workspace-hub/.codex/skills/graphify/SKILL.md · 695 lines

How it starts

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

/graphify

Workspace Hub pilot policy

This section overrides every broader capability described below when this skill is used in Workspace Hub.

  • The parent Codex Workspace instructions remain authoritative. Source, tests, manifests, and tracked docs remain the source of truth.
  • Graphify is pinned to 0.9.11. Never install, upgrade, or repair the package from this skill. If the pinned command is unavailable, stop and report it.
  • Use only the existing code-only graphify-out/ corpus. Do not add docs, media, URLs, external repositories, semantic extraction, or API backends.
  • Do not start MCP, HTTP, watch, wiki, Neo4j, FalkorDB, Obsidian, remote clone, cross-repo merge, or other export/service modes.
  • Prefix query, path, explain, and hook-related commands with GRAPHIFY_QUERY_LOG_DISABLE=1.
  • Rebuild only with ../../tools/scripts/graphify-repo.sh --run .; that wrapper enforces the pinned version, allowlist, local output, and logging policy.
  • Keep all generated output ignored and check important relationships against source before acting on them.

Turn any folder of files into a navigable knowledge graph with community detection, an honest audit trail, and three outputs: interactive HTML, GraphRAG-ready JSON, and a plain-language GRAPH_REPORT.md.

Usage

/graphify                                             # full pipeline on current directory (HTML viz; add --obsidian for a vault)
/graphify <path>                                      # full pipeline on specific path
/graphify https://github.com/<owner>/<repo>           # clone repo then run full pipeline on it
/graphify https://github.com/<owner>/<repo> --branch <branch>  # clone a specific branch
/graphify <url1> <url2> ...                           # clone multiple repos, build each, merge into one cross-repo graph
/graphify <path> --mode deep                          # thorough extraction, richer INFERRED edges
/graphify <path> --update                             # incremental - re-extract only new/changed files
/graphify <path> --directed                            # build directed graph (preserves edge direction: source→target)
/graphify <path> --whisper-model medium                # use a larger Whisper model for better transcription accuracy
/graphify <path> --cluster-only                       # rerun clustering on existing graph
/graphify <path> --no-viz                             # skip visualization, just report + JSON
/graphify <path> --html                               # (HTML is generated by default - this flag is a no-op)
/graphify <path> --svg                                # also export graph.svg (embeds in Notion, GitHub)
/graphify <path> --graphml                            # export graph.graphml (Gephi, yEd)
/graphify <path> --neo4j                              # generate graphify-out/cypher.txt for Neo4j
/graphify <path> --neo4j-push bolt://localhost:7687   # push directly to Neo4j
/graphify <path> --falkordb                           # generate graphify-out/cypher.txt for FalkorDB
/graphify <path> --falkordb-push falkordb://localhost:6379   # push directly to FalkorDB
/graphify <path> --mcp                                # start MCP stdio server for agent access
/graphify <path> --watch                              # watch folder, auto-rebuild on code changes (no LLM needed)
/graphify <path> --wiki                               # build agent-crawlable wiki (index.md + one article per community)
/graphify <path> --obsidian --obsidian-dir ~/vaults/my-project  # write vault to custom path (e.g. existing vault)
/graphify add <url>                                   # fetch URL, save to ./raw, update graph
/graphify add <url> --author "Name"                   # tag who wrote it
/graphify add <url> --contributor "Name"              # tag who added it to the corpus
/graphify query "<question>"                          # BFS traversal - broad context
/graphify query "<question>" --dfs                    # DFS - trace a specific path
/graphify query "<question>" --budget 1500            # cap answer at N tokens
/graphify path "AuthModule" "Database"                # shortest path between two concepts
/graphify explain "SwinTransformer"                   # plain-language explanation of a node

Read the full file on GitHub · 695 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 695 lines · 76 tokens per session scan C a15fad6beb63

Subscribe to this mod's changes

graphify is a skill published in the GitHub repository RichardGeorgeDavis/Codex-Workspace (2 stars, last pushed 25d ago), licensed MIT. It adds 76 tokens to every session and 9,848 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 2 findings (reads agent configuration directories, unrestricted tool access). It is 91% identical to graphify, differing in 53 lines, and is treated as a copy.

Related

Other skills, from other repositories

ship-release

Drive a Telepresence release from a prepared branch all the way through CI, docs, the Releases workflow, and PR merges. Assumes make prepare-release has already been run locally and the branch with that commit was pushed and a PR opened. Use when the user says "ship the release", or "complete the release". User-only.

telepresenceio/telepresence · 72 tokens

regression-tests

Run, scope, or debug telepresence regression tests under regressiontest/ — the integration-level suite. Use when the user wants to run an area, suite, or single test, debug a failure, or says "/regression-tests". Runs go test ./regressiontest scoped with -run, in the background, writing to a log file so heavy output…

telepresenceio/telepresence · 82 tokens

changelog-entry

Add a new entry to CHANGELOG.yml under the current unreleased version (or create the version block if needed), then regenerate documentation. Use when the user says things like "add a changelog entry", "log this fix in the changelog", or "/changelog-entry".

telepresenceio/telepresence · 60 tokens

prepare-release

Create the local release commit and tags by setting TELEPRESENCEVERSION and running make prepare-release. Stops at the local commit+tags - pushing is the ship-release skill's job. Use when the user explicitly asks to prepare a release, RC, or test build. User-only.

telepresenceio/telepresence · 60 tokens

docker-compose-local-setup

Creates or updates local multi-service orchestration using docker compose. Covers compose.yaml design, service health checks, dependson readiness, env files, named volumes, migrations/seeds jobs, verification commands, and cleanup workflows for local development.

soulcodex/agentic · 52 tokens

claude-local-bridge

Access local repos from Claude on your phone via approval-gated MCP bridge.

suhteevah/claude-local-bridge · 5 tokens