graphify

graphify is a skill for Claude Code, Codex from Graphify-Labs/graphify. It costs 76 tokens per session (10,393 once invoked), scanned B, original, Apache-2.0.

A codebase and document mapping tool that turns files, repositories, papers, images, and videos into a navigable knowledge graph. A knowledge graph links related items so you can inspect relationships instead of searching files one by one.

In plain words
What is it for?
It helps investigate architecture, file relationships, project content, and connections across multiple repositories, with an interactive view and machine-readable output.
Why use it?
It helps make large or unfamiliar projects easier to explore and preserves a report of how the links were produced. It can also update the graph when files change.

Skill for Claude CodeCodex

About the project

Graphify is a tool that turns a codebase and related documents into a queryable knowledge graph, mapping connections between source code, documentation, schemas, configuration, and other files. It helps developers explore and understand projects through questions and traced relationships instead of searching files manually. Its catalogue entry is an instruction for using Graphify with AI coding assistants.

Graphify-Labs/graphify · 114,787 stars · on GitHub

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/graphify-labs/graphify/graphify_
Any agent
npx skills add Graphify-Labs/graphify --skill graphify_
Clone the repo
git clone --depth 1 https://github.com/Graphify-Labs/graphify

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/graphify-labs/graphify/graphify_.svg)](https://agentmods.dev/skills/graphify-labs/graphify/graphify_)
Your own site
<a href="https://agentmods.dev/skills/graphify-labs/graphify/graphify_"><img src="https://agentmods.dev/badge/skills/graphify-labs/graphify/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 10,393 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00076 $0.10393
Opus 5 $0.00038 $0.05196
Sonnet 5 $0.00015 $0.02079
Haiku 4.5 $0.00008 $0.01039

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

Security

Grade B, and why

graphify scanned grade B with 1 finding 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 today.

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.

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

Copies of this mod

8 near-identical copies found in the catalogue:

  • graphify — 100% identical, 13 lines differ
  • graphify — 100% identical, 15 lines differ
  • graphify — 92% identical, 24 lines differ
  • graphify — 92% identical, 89 lines differ
  • graphify — 92% identical, 52 lines differ
  • graphify — 92% identical, 58 lines differ
  • graphify — 92% identical, 52 lines differ
  • graphify — 92% identical, 58 lines differ
tools/skillgen/expected/graphify__skill.md · 714 lines

How it starts

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

/graphify

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 · 714 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. today First seen · 714 lines · 76 tokens per session scan B 3e4d30df5a93

Subscribe to this mod's changes

graphify is a skill published in the GitHub repository Graphify-Labs/graphify (114,787 stars, last pushed today), licensed Apache-2.0. It adds 76 tokens to every session and 10,393 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

mcp-builder

Automates the creation, validation, and management of Model Context Protocol (MCP) server projects. Provides standardized project scaffolding, build automation, and integration patterns for MCP-compliant services.

raphaelmansuy/edgequake · 0 tokens

rag-mcp-tool-selection

Select the top-K tools from a registry of 30+ MCP / AWS / internal-API tools for a given natural-language query, replacing MCP's tools/list dump with a RAG-style filter that reduces prompt tokens 50-70%. Three-step pipeline: retrieve / validate / format. Use when the agent has access to many tools and prompt bloat is…

AnthonyAlcaraz/agentic-graph-rag-skills · 132 tokens

rrf-hybrid-retrieval

Reciprocal Rank Fusion (RRF) hybrid retrieval across 4 parallel channels — semantic / keyword / graph-traversal / temporal — followed by cross-encoder rerank and token-budget filter (HINDSIGHT, Latimer et al. 2025, cited in Ch4). Rank-based fusion means scores don't need calibration across channels; absent items…

AnthonyAlcaraz/agentic-graph-rag-skills · 144 tokens

vector-vs-graph-retrieval-selector

Recommend VECTOR / GRAPH / HYBRID retrieval for a query workload, grounded in Ch1's BenchmarkQED evidence for where vector RAG succeeds and where it collapses. Classifies the workload on the BenchmarkQED scope x type axes (local/global, data/activity), weighs multi-hop / temporal / associativity needs, domain…

AnthonyAlcaraz/agentic-graph-rag-skills · 215 tokens

three-graph-router

Route an incoming record/fact into the correct graph of the Three-Graph Architecture (Ch3) — DOMAIN (trusted, entity-resolved single source of truth), LEXICAL (verbatim source text with provenance, the "retrieval" in RAG), or SUBJECT (LLM-extracted artifacts kept SEPARATE from domain until entity resolution links…

AnthonyAlcaraz/agentic-graph-rag-skills · 219 tokens

LangChain RAG Pipeline

INVOKE THIS SKILL when building ANY retrieval-augmented generation (RAG) system. Covers document loaders, RecursiveCharacterTextSplitter, embeddings (OpenAI), and vector stores (Chroma, FAISS, Pinecone).

jackjin1997/ClawForge · 53 tokens