Questions? hello@viberation.devGet supportBlogDocsChangelog
Get started

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 graphify

Runs 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-code

    Add -g to 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 docs
  • Claude.ai

    Upload the ZIP

    1. In Settings > Capabilities, turn on Code execution and file creation.
    2. Go to Customize > Skills, press +, then Create skill.
    3. 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 docs
  • ChatGPT

    Upload the ZIP

    1. Open Skills in ChatGPT and select Create.
    2. Select Upload from your computer and pick the ZIP you downloaded.
    3. 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 docs
  • Codex

    Run this in your project

    npx skills add https://github.com/safishamsi/graphify --skill graphify -a codex

    Add -g to 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 docs
  • Cursor

    Run this in your project

    npx skills add https://github.com/safishamsi/graphify --skill graphify -a cursor

    Add -g to 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 docs
  • GitHub Copilot

    Run this in your project

    npx skills add https://github.com/safishamsi/graphify --skill graphify -a github-copilot

    Add -g to 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 docs
  • Antigravity

    Run this in your project

    npx skills add https://github.com/safishamsi/graphify --skill graphify -a antigravity

    Add -g to 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.

    Or copy the folder yourself

    Unzip the download into .agents/skills/ for this project, or ~/.gemini/config/skills/ for all your projects.

    Antigravity skills docs
  • Gemini CLI

    Run this in your project

    npx skills add https://github.com/safishamsi/graphify --skill graphify -a gemini-cli

    Add -g to 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
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.

  • 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

    16 Sept 2026
What's inside (200 files)
  • __init__.py1.4K chars
  • __main__.py29.3K chars
  • _minhash.py4.1K chars
  • affected.py9.4K chars
  • always_on/agents-md.md1.1K chars
  • always_on/antigravity-rules.md933 chars
  • always_on/claude-md.md772 chars
  • always_on/gemini-md.md772 chars
  • always_on/kiro-steering.md504 chars
  • always_on/vscode-instructions.md1K chars
  • analyze.py29.3K chars
  • benchmark.py5.6K chars
  • build.py95.1K chars
  • cache.py63.3K chars
  • callflow_html.py80.7K chars
  • cargo_introspect.py4K chars
  • cli.py197.4K chars
  • cluster.py13.3K chars
  • command-kilo.md407 chars
  • dedup.py33.8K chars
  • detect.py88.8K chars
  • diagnostics.py15.1K chars
  • export.py47.6K chars
  • exporters/__init__.py25 chars
  • exporters/base.py606 chars
  • exporters/graphdb.py6.5K chars
  • exporters/html.py24.8K chars
  • extract.py270.3K chars
  • extractors/__init__.py2.6K chars
  • extractors/apex.py8.5K chars
  • extractors/base.py4.3K chars
  • extractors/bash.py22.7K chars
  • extractors/blade.py2.6K chars
  • extractors/csharp.py17.9K chars
  • extractors/dart.py25.4K chars
  • extractors/dm.py19.3K chars
  • extractors/elixir.py9.3K chars
  • extractors/engine.py260.3K chars
  • extractors/fortran.py13.4K chars
  • extractors/go.py20.5K chars
  • extractors/json_config.py9.7K chars
  • extractors/julia.py12.2K chars
  • extractors/markdown.py8.3K chars
  • extractors/MIGRATION.md5.1K chars
  • extractors/models.py4.1K chars
  • extractors/objc.py22.4K chars
  • extractors/pascal_forms.py6.9K chars
  • extractors/pascal.py28.8K chars
  • extractors/powershell.py22.7K chars
  • extractors/razor.py4.8K chars
  • extractors/resolution.py119.6K chars
  • extractors/rust.py19.5K chars
  • extractors/sln.py3.9K chars
  • extractors/sql.py20.2K chars
  • extractors/terraform.py7.4K chars
  • extractors/verilog.py14.1K chars
  • extractors/zig.py7.4K chars
  • file_slice.py6.3K chars
  • global_graph.py6.7K chars
  • google_workspace.py8.9K chars
  • hooks.py32.2K chars
  • ids.py2.1K chars
  • ingest.py12.5K chars
  • install.py101.3K chars
  • llm.py144.1K chars
  • manifest_ingest.py8.9K chars
  • manifest.py214 chars
  • mcp_ingest.py12.9K chars
  • multigraph_compat.py8.3K chars
  • pascal_resolution.py5.8K chars
  • paths.py14.4K chars
  • pg_introspect.py7.6K chars
  • prs.py28.4K chars
  • querylog.py2.8K chars
  • reflect.py37.3K chars
  • report.py13.3K chars
  • resolver_registry.py3.2K chars
  • ruby_resolution.py9.7K chars
  • scip_ingest.py13.9K chars
  • security.py17.4K chars
  • semantic_cleanup.py14.9K chars
  • serve.py106.4K chars
  • skill-agents.md40.7K chars
  • skill-aider.md55.3K chars
  • skill-amp.md40.7K chars
  • skill-claw.md41K chars
  • skill-codex.md41K chars
  • skill-copilot.md41K chars
  • skill-devin.md62.3K chars
  • skill-droid.md40.7K chars
  • skill-kilo.md41.3K chars
  • skill-kiro.md41K chars
  • skill-opencode.md40.4K chars
  • skill-pi.md41K chars
  • skill-trae.md40.8K chars
  • skill-vscode.md40.7K chars
  • skill-windows.md42.4K chars
  • skill.md41K chars
  • skills/agents/references/add-watch.md2.5K chars
  • skills/agents/references/exports.md3.4K chars
  • skills/agents/references/extraction-spec.md7.9K chars
  • skills/agents/references/github-and-merge.md2.2K chars
  • skills/agents/references/hooks.md1.3K chars
  • skills/agents/references/query.md13.4K chars
  • skills/agents/references/transcribe.md3.2K chars
  • skills/agents/references/update.md10.4K chars
  • skills/amp/references/add-watch.md2.5K chars
  • skills/amp/references/exports.md3.4K chars
  • skills/amp/references/extraction-spec.md7.9K chars
  • skills/amp/references/github-and-merge.md2.2K chars
  • skills/amp/references/hooks.md1.3K chars
  • skills/amp/references/query.md13.4K chars
  • skills/amp/references/transcribe.md3.2K chars
  • skills/amp/references/update.md10.4K chars
  • skills/claude/references/add-watch.md2.5K chars
  • skills/claude/references/exports.md3.4K chars
  • skills/claude/references/extraction-spec.md7.9K chars
  • skills/claude/references/github-and-merge.md2.2K chars
  • skills/claude/references/hooks.md1.3K chars
  • skills/claude/references/query.md13.4K chars
  • skills/claude/references/transcribe.md3.2K chars
  • skills/claude/references/update.md10.4K chars
  • skills/claw/references/add-watch.md2.5K chars
  • skills/claw/references/exports.md3.4K chars
  • skills/claw/references/extraction-spec.md4.4K chars
  • skills/claw/references/github-and-merge.md2.2K chars
  • skills/claw/references/hooks.md1.3K chars
  • skills/claw/references/query.md13.4K chars
  • skills/claw/references/transcribe.md3.2K chars
  • skills/claw/references/update.md10.4K chars
  • skills/codex/references/add-watch.md2.5K chars
  • skills/codex/references/exports.md3.4K chars
  • skills/codex/references/extraction-spec.md4.4K chars
  • skills/codex/references/github-and-merge.md2.2K chars
  • skills/codex/references/hooks.md1.3K chars
  • skills/codex/references/query.md13.4K chars
  • skills/codex/references/transcribe.md3.2K chars
  • skills/codex/references/update.md10.4K chars
  • skills/copilot/references/add-watch.md2.5K chars
  • skills/copilot/references/exports.md3.4K chars
  • skills/copilot/references/extraction-spec.md7.9K chars
  • skills/copilot/references/github-and-merge.md2.2K chars
  • skills/copilot/references/hooks.md1.3K chars
  • skills/copilot/references/query.md13.4K chars
  • skills/copilot/references/transcribe.md3.2K chars
  • skills/copilot/references/update.md10.4K chars
  • skills/droid/references/add-watch.md2.5K chars
  • skills/droid/references/exports.md3.4K chars
  • skills/droid/references/extraction-spec.md7.9K chars
  • skills/droid/references/github-and-merge.md2.2K chars
  • skills/droid/references/hooks.md1.3K chars
  • skills/droid/references/query.md13.4K chars
  • skills/droid/references/transcribe.md3.2K chars
  • skills/droid/references/update.md10.4K chars
  • skills/kilo/references/add-watch.md2.5K chars
  • skills/kilo/references/exports.md3.4K chars
  • skills/kilo/references/extraction-spec.md7.9K chars
  • skills/kilo/references/github-and-merge.md2.2K chars
  • skills/kilo/references/hooks.md1.3K chars
  • skills/kilo/references/query.md13.4K chars
  • skills/kilo/references/transcribe.md3.2K chars
  • skills/kilo/references/update.md10.4K chars
  • skills/kiro/references/add-watch.md2.5K chars
  • skills/kiro/references/exports.md3.4K chars
  • skills/kiro/references/extraction-spec.md4.4K chars
  • skills/kiro/references/github-and-merge.md2.2K chars
  • skills/kiro/references/hooks.md1.3K chars
  • skills/kiro/references/query.md13.4K chars
  • skills/kiro/references/transcribe.md3.2K chars
  • skills/kiro/references/update.md10.4K chars
  • skills/opencode/references/add-watch.md2.5K chars
  • skills/opencode/references/exports.md3.4K chars
  • skills/opencode/references/extraction-spec.md7.9K chars
  • skills/opencode/references/github-and-merge.md2.2K chars
  • skills/opencode/references/hooks.md1.3K chars
  • skills/opencode/references/query.md13.4K chars
  • skills/opencode/references/transcribe.md3.2K chars
  • skills/opencode/references/update.md10.4K chars
  • skills/pi/references/add-watch.md2.5K chars
  • skills/pi/references/exports.md3.4K chars
  • skills/pi/references/extraction-spec.md4.4K chars
  • skills/pi/references/github-and-merge.md2.2K chars
  • skills/pi/references/hooks.md1.3K chars
  • skills/pi/references/query.md13.4K chars
  • skills/pi/references/transcribe.md3.2K chars
  • skills/pi/references/update.md10.4K chars
  • skills/trae/references/add-watch.md2.5K chars
  • skills/trae/references/exports.md3.4K chars
  • skills/trae/references/extraction-spec.md7.9K chars
  • skills/trae/references/github-and-merge.md2.2K chars
  • skills/trae/references/hooks.md1.6K chars
  • skills/trae/references/query.md13.4K chars
  • skills/trae/references/transcribe.md3.2K chars
  • skills/trae/references/update.md10.4K chars
  • skills/vscode/references/add-watch.md2.5K chars
  • skills/vscode/references/exports.md3.4K chars
  • skills/vscode/references/extraction-spec.md7.9K chars
  • skills/vscode/references/github-and-merge.md2.2K chars
  • skills/vscode/references/hooks.md1.3K chars
  • skills/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

More in Skills