graphify
Turn a codebase into a knowledge graph your agent can query.
A skill that maps code, docs and schemas into a graph with every relationship explained, so the agent answers questions about a large project without rereading every file.
Install this skill
npx skills add https://github.com/safishamsi/graphify --skill graphifyRuns the open-source skills CLI in your own terminal. It asks which agents to add the skill to. Read what it tells your agent to do before you install it.
Install for your agent
Claude Code
Run this in your project
npx skills add https://github.com/safishamsi/graphify --skill graphify -a claude-codeAdd
-gto install it for every project instead.Or ask Claude Code to do it
Install the "graphify" skill from https://github.com/safishamsi/graphify for Claude Code. Copy the skill folder (the one containing SKILL.md, with any scripts or reference files next to it) into .claude/skills/ in this project. Before copying, show me the SKILL.md and list any scripts it includes, and wait for me to confirm.
Or copy the folder yourself
Unzip the download into
.claude/skills/for this project, or~/.claude/skills/for all your projects.Picked up in the current session, no restart needed.
Claude Code skills docsClaude.ai
Upload the ZIP
- In Settings > Capabilities, turn on Code execution and file creation.
- Go to Customize > Skills, press +, then Create skill.
- Choose Upload a skill and pick the ZIP you downloaded.
Free, Pro and Max plans. On Team and Enterprise, an owner turns skills on in Organization settings first.
Claude.ai skills docsChatGPT
Upload the ZIP
- Open Skills in ChatGPT and select Create.
- Select Upload from your computer and pick the ZIP you downloaded.
- Wait for ChatGPT's safety scan. A skill marked Needs Review asks you to check it before use.
Skills that rely on scripts or a terminal may not work unchanged in ChatGPT.
ChatGPT skills docsCodex
Run this in your project
npx skills add https://github.com/safishamsi/graphify --skill graphify -a codexAdd
-gto install it for every project instead.Or ask Codex to do it
Install the "graphify" skill from https://github.com/safishamsi/graphify for Codex. Copy the skill folder (the one containing SKILL.md, with any scripts or reference files next to it) into .agents/skills/ in this project. Before copying, show me the SKILL.md and list any scripts it includes, and wait for me to confirm.
Or copy the folder yourself
Unzip the download into
.agents/skills/for this project, or~/.agents/skills/for all your projects.Restart Codex if the skill does not show up.
Codex skills docsCursor
Run this in your project
npx skills add https://github.com/safishamsi/graphify --skill graphify -a cursorAdd
-gto install it for every project instead.Or ask Cursor to do it
Install the "graphify" skill from https://github.com/safishamsi/graphify for Cursor. Copy the skill folder (the one containing SKILL.md, with any scripts or reference files next to it) into .cursor/skills/ in this project. Before copying, show me the SKILL.md and list any scripts it includes, and wait for me to confirm.
Or copy the folder yourself
Unzip the download into
.cursor/skills/for this project, or~/.cursor/skills/for all your projects.Run it by typing / and the skill name in chat.
Cursor skills docsGitHub Copilot
Run this in your project
npx skills add https://github.com/safishamsi/graphify --skill graphify -a github-copilotAdd
-gto install it for every project instead.Or ask GitHub Copilot to do it
Install the "graphify" skill from https://github.com/safishamsi/graphify for GitHub Copilot. Copy the skill folder (the one containing SKILL.md, with any scripts or reference files next to it) into .github/skills/ in this project. Before copying, show me the SKILL.md and list any scripts it includes, and wait for me to confirm.
Or copy the folder yourself
Unzip the download into
.github/skills/for this project, or~/.copilot/skills/for all your projects.Works in Copilot CLI, the cloud agent and agent mode in VS Code and JetBrains.
GitHub Copilot skills docsAntigravity
Run this in your project
npx skills add https://github.com/safishamsi/graphify --skill graphify -a antigravityAdd
-gto install it for every project instead.Or ask Antigravity to do it
Install the "graphify" skill from https://github.com/safishamsi/graphify for Antigravity. Copy the skill folder (the one containing SKILL.md, with any scripts or reference files next to it) into .agents/skills/ in this project. Before copying, show me the SKILL.md and list any scripts it includes, and wait for me to confirm.
Antigravity skills docsOr copy the folder yourself
Unzip the download into
.agents/skills/for this project, or~/.gemini/config/skills/for all your projects.Gemini CLI
Run this in your project
npx skills add https://github.com/safishamsi/graphify --skill graphify -a gemini-cliAdd
-gto install it for every project instead.Or ask Gemini CLI to do it
Install the "graphify" skill from https://github.com/safishamsi/graphify for Gemini CLI. Copy the skill folder (the one containing SKILL.md, with any scripts or reference files next to it) into .gemini/skills/ in this project. Before copying, show me the SKILL.md and list any scripts it includes, and wait for me to confirm.
Or copy the folder yourself
Unzip the download into
.gemini/skills/for this project, or~/.gemini/skills/for all your projects.Run /skills to check it was found.
Gemini CLI skills docs
- Installs
- 7.3K via skills.sh
- GitHub
- 118.8K stars ↗
- Last updated
- 16 Sept 2026
- Licence
- Apache-2.0
Security checks
Run by independent scanners and published on skills.sh. Their results, not a Viberation review.
- 16 Sept 2026
Gen Agent Trust Hub Pass
The graphify skill is a legitimate code and architecture analysis utility. It features robust security implementations, including SSRF protection for remote fetches, zip-bomb prevention for office document processing, and multi-layered defenses against indirect prompt injection (delimiters, defanging, and evidence-based validation).
- 16 Sept 2026
Socket Warning
3 alerts: gptAnomaly
- 16 Sept 2026
Snyk Pass
Risk: LOW · No issues
What's inside (200 files)
__init__.py1.4K chars__main__.py29.3K chars_minhash.py4.1K charsaffected.py9.4K charsalways_on/agents-md.md1.1K charsalways_on/antigravity-rules.md933 charsalways_on/claude-md.md772 charsalways_on/gemini-md.md772 charsalways_on/kiro-steering.md504 charsalways_on/vscode-instructions.md1K charsanalyze.py29.3K charsbenchmark.py5.6K charsbuild.py95.1K charscache.py63.3K charscallflow_html.py80.7K charscargo_introspect.py4K charscli.py197.4K charscluster.py13.3K charscommand-kilo.md407 charsdedup.py33.8K charsdetect.py88.8K charsdiagnostics.py15.1K charsexport.py47.6K charsexporters/__init__.py25 charsexporters/base.py606 charsexporters/graphdb.py6.5K charsexporters/html.py24.8K charsextract.py270.3K charsextractors/__init__.py2.6K charsextractors/apex.py8.5K charsextractors/base.py4.3K charsextractors/bash.py22.7K charsextractors/blade.py2.6K charsextractors/csharp.py17.9K charsextractors/dart.py25.4K charsextractors/dm.py19.3K charsextractors/elixir.py9.3K charsextractors/engine.py260.3K charsextractors/fortran.py13.4K charsextractors/go.py20.5K charsextractors/json_config.py9.7K charsextractors/julia.py12.2K charsextractors/markdown.py8.3K charsextractors/MIGRATION.md5.1K charsextractors/models.py4.1K charsextractors/objc.py22.4K charsextractors/pascal_forms.py6.9K charsextractors/pascal.py28.8K charsextractors/powershell.py22.7K charsextractors/razor.py4.8K charsextractors/resolution.py119.6K charsextractors/rust.py19.5K charsextractors/sln.py3.9K charsextractors/sql.py20.2K charsextractors/terraform.py7.4K charsextractors/verilog.py14.1K charsextractors/zig.py7.4K charsfile_slice.py6.3K charsglobal_graph.py6.7K charsgoogle_workspace.py8.9K charshooks.py32.2K charsids.py2.1K charsingest.py12.5K charsinstall.py101.3K charsllm.py144.1K charsmanifest_ingest.py8.9K charsmanifest.py214 charsmcp_ingest.py12.9K charsmultigraph_compat.py8.3K charspascal_resolution.py5.8K charspaths.py14.4K charspg_introspect.py7.6K charsprs.py28.4K charsquerylog.py2.8K charsreflect.py37.3K charsreport.py13.3K charsresolver_registry.py3.2K charsruby_resolution.py9.7K charsscip_ingest.py13.9K charssecurity.py17.4K charssemantic_cleanup.py14.9K charsserve.py106.4K charsskill-agents.md40.7K charsskill-aider.md55.3K charsskill-amp.md40.7K charsskill-claw.md41K charsskill-codex.md41K charsskill-copilot.md41K charsskill-devin.md62.3K charsskill-droid.md40.7K charsskill-kilo.md41.3K charsskill-kiro.md41K charsskill-opencode.md40.4K charsskill-pi.md41K charsskill-trae.md40.8K charsskill-vscode.md40.7K charsskill-windows.md42.4K charsskill.md41K charsskills/agents/references/add-watch.md2.5K charsskills/agents/references/exports.md3.4K charsskills/agents/references/extraction-spec.md7.9K charsskills/agents/references/github-and-merge.md2.2K charsskills/agents/references/hooks.md1.3K charsskills/agents/references/query.md13.4K charsskills/agents/references/transcribe.md3.2K charsskills/agents/references/update.md10.4K charsskills/amp/references/add-watch.md2.5K charsskills/amp/references/exports.md3.4K charsskills/amp/references/extraction-spec.md7.9K charsskills/amp/references/github-and-merge.md2.2K charsskills/amp/references/hooks.md1.3K charsskills/amp/references/query.md13.4K charsskills/amp/references/transcribe.md3.2K charsskills/amp/references/update.md10.4K charsskills/claude/references/add-watch.md2.5K charsskills/claude/references/exports.md3.4K charsskills/claude/references/extraction-spec.md7.9K charsskills/claude/references/github-and-merge.md2.2K charsskills/claude/references/hooks.md1.3K charsskills/claude/references/query.md13.4K charsskills/claude/references/transcribe.md3.2K charsskills/claude/references/update.md10.4K charsskills/claw/references/add-watch.md2.5K charsskills/claw/references/exports.md3.4K charsskills/claw/references/extraction-spec.md4.4K charsskills/claw/references/github-and-merge.md2.2K charsskills/claw/references/hooks.md1.3K charsskills/claw/references/query.md13.4K charsskills/claw/references/transcribe.md3.2K charsskills/claw/references/update.md10.4K charsskills/codex/references/add-watch.md2.5K charsskills/codex/references/exports.md3.4K charsskills/codex/references/extraction-spec.md4.4K charsskills/codex/references/github-and-merge.md2.2K charsskills/codex/references/hooks.md1.3K charsskills/codex/references/query.md13.4K charsskills/codex/references/transcribe.md3.2K charsskills/codex/references/update.md10.4K charsskills/copilot/references/add-watch.md2.5K charsskills/copilot/references/exports.md3.4K charsskills/copilot/references/extraction-spec.md7.9K charsskills/copilot/references/github-and-merge.md2.2K charsskills/copilot/references/hooks.md1.3K charsskills/copilot/references/query.md13.4K charsskills/copilot/references/transcribe.md3.2K charsskills/copilot/references/update.md10.4K charsskills/droid/references/add-watch.md2.5K charsskills/droid/references/exports.md3.4K charsskills/droid/references/extraction-spec.md7.9K charsskills/droid/references/github-and-merge.md2.2K charsskills/droid/references/hooks.md1.3K charsskills/droid/references/query.md13.4K charsskills/droid/references/transcribe.md3.2K charsskills/droid/references/update.md10.4K charsskills/kilo/references/add-watch.md2.5K charsskills/kilo/references/exports.md3.4K charsskills/kilo/references/extraction-spec.md7.9K charsskills/kilo/references/github-and-merge.md2.2K charsskills/kilo/references/hooks.md1.3K charsskills/kilo/references/query.md13.4K charsskills/kilo/references/transcribe.md3.2K charsskills/kilo/references/update.md10.4K charsskills/kiro/references/add-watch.md2.5K charsskills/kiro/references/exports.md3.4K charsskills/kiro/references/extraction-spec.md4.4K charsskills/kiro/references/github-and-merge.md2.2K charsskills/kiro/references/hooks.md1.3K charsskills/kiro/references/query.md13.4K charsskills/kiro/references/transcribe.md3.2K charsskills/kiro/references/update.md10.4K charsskills/opencode/references/add-watch.md2.5K charsskills/opencode/references/exports.md3.4K charsskills/opencode/references/extraction-spec.md7.9K charsskills/opencode/references/github-and-merge.md2.2K charsskills/opencode/references/hooks.md1.3K charsskills/opencode/references/query.md13.4K charsskills/opencode/references/transcribe.md3.2K charsskills/opencode/references/update.md10.4K charsskills/pi/references/add-watch.md2.5K charsskills/pi/references/exports.md3.4K charsskills/pi/references/extraction-spec.md4.4K charsskills/pi/references/github-and-merge.md2.2K charsskills/pi/references/hooks.md1.3K charsskills/pi/references/query.md13.4K charsskills/pi/references/transcribe.md3.2K charsskills/pi/references/update.md10.4K charsskills/trae/references/add-watch.md2.5K charsskills/trae/references/exports.md3.4K charsskills/trae/references/extraction-spec.md7.9K charsskills/trae/references/github-and-merge.md2.2K charsskills/trae/references/hooks.md1.6K charsskills/trae/references/query.md13.4K charsskills/trae/references/transcribe.md3.2K charsskills/trae/references/update.md10.4K charsskills/vscode/references/add-watch.md2.5K charsskills/vscode/references/exports.md3.4K charsskills/vscode/references/extraction-spec.md7.9K charsskills/vscode/references/github-and-merge.md2.2K charsskills/vscode/references/hooks.md1.3K charsskills/vscode/references/query.md13.4K chars
SKILL.md, first part. Shown as plain text.
--- name: graphify description: "Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question should be treated as a graphify query first. Turns any input (code, docs, papers, images, videos) into a persistent knowledge graph with god nodes, community detection, and query/path/explain tools." --- # /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 ``` ## What graphify is for Drop any folder of code, docs, papers, images, or video into graphify and get a queryable knowledge graph. Persistent across sessions, honest audit trail (EXTRACTED/INFERRED/AMBIGUOUS), community detection surfaces cross-document connections you wouldn't think to ask about. ## What You Must Do When Invoked If the user invoked `/graphify --help` or `/graphify -h` (with no other arg
Works with
Key info
- Pricing
- Open source
- Category
- Skills
- Skill category
- Data & analysis
- Works in
- Every agent listed here, including Claude.ai and ChatGPT
- Best for
- Intermediate
- Made by
- safishamsi (community)
- Use it when
- Your codebase is too big for your agent to keep in its head
