graphify
Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question…
Skill by iqbalhasandev
Chalk Labs
Need help deploying graphify?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/iqbalhasandev-graphify
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill 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.
- License
- MIT
- Instructions
- 739 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: 739 lines (spec recommends under 500)
Files (10)
- .graphify_version
- SKILL.md
- add-watch.md · references/
- exports.md · references/
- extraction-spec.md · references/
- github-and-merge.md · references/
- hooks.md · references/
- query.md · references/
- transcribe.md · references/
- update.md · references/
SKILL.md (first lines)
# /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 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 path to `.`. Just print the Usage block and return.
**Fast path — existing graph:** Before doing anything else, check whether `graphify-out/graph.json` exists. The expected location is `graphify-out/graph.json` relative to the **current working directory** (i.e. the project root where you are running commands). If it exists AND the user's request is a natural-language question about the codebase (e.g. "How does X work?", "What calls Y?", "Trace the data flow through Z") and NOT an explicit rebuild command (`--update`, `--cluster-only`, or a bare path/URL that implies fresh extraction): **skip Steps 1–5 entirely and jump straight to `## For /graphify query`.** Run `graphify query "<question>"` immediately. Do not run detect. Do not check corpus size. Do not ask the user to narrow. The graph is already built — use it.
If no path was given, use `.` (current directory). Do not ask the user for a path.
If the path argument starts with `https://github.com/` or `http://github.com/`, treat it as a GitHub URL - run Step 0 before anything else, then continue with the resolved local path.
Follow these steps in order. Do not skip steps.
### Step 0 - GitHub repos and multi-path merge (only if a URL or several paths)
Only when the path is one or more `https://github.com/...` URLs, or several local subfolders to merge. See `references/github-and-merge.md` for the clone, cross-repo merge, and monorepo flow, then continue with the resolved local path. A plain local path skips this step.
### Step 1 - Ensure graphify is installed
```bash
# Detect the correct Python interpreter (handles uv tool, pipx, venv, system installs)
PYTHON=""
GRAPHIFY_BIN=$(which graphify 2>/dev/null)
# 1. uv tool installs — most reliable on modern Mac/Linux
if [ -z "$PYTHON" ] && command -v uv >/dev/null 2>&1; then
_UV_PY=$(uv tool run --from graphifyy python -c "import sys; print(sys.executable)" 2>/dev/null)
if [ -n "$_UV_PY" ]; then PYTHON="$_UV_PY"; fi
fi
# 2. Read shebang from graphify binary (pipx and direct pip installs)
if [ -z "$PYTHON" ] && [ -n "$GRAPHIFY_BIN" ]; then
_SHEBANG=$(head -1 "$GRAPHIFY_BIN" | tr -d '#!')
case "$_SHEBANG" in
*[!a-zA-Z0-9/_.@-]*) ;;
*) "$_SHEBANG" -c "import graphify" 2>/dev/null && PYTHON="$_SHEBANG" ;;
esac
fi
# 3. Fall back to python3
if [ -z "$PYTHON" ]; then PYTHON="python3"; fi
if ! "$PYTHON" -c "import graphify" 2>/dev/null; then
if command -v uv >/dev/null 2>&1; then
uv tool install --upgrade graphifyy -q 2>&1 | tail -3
_UV_PY=$(uv tool run --from graphifyy python -c "import sys; print(sys.executable)" 2>/dev/null)
if [ -n "$_UV_PY" ]; then PYTHON="$_UV_PY"; fi
else
"$PYTHON" -m pip install graphifyy -q 2>/dev/null \
|| "$PYTHON" -m pip install graphifyy -q --break-system-packages 2>&1 | tail -3
fi
fi
# Write interpreter path for all subsequent steps (persists across invocations)
mkdir -p graphify-out
"$PYTHON" -c "import sys; open('graphify-out/.graphify_python', 'w', encoding='utf-8').write(sys.executable)"
# Save scan root so `graphify update` (no args) knows where to look next time.
# The scan path is passed through a quoted heredoc, never substituted into the
# command line itself: a bare `cd <path>` (or an unquoted heredoc, which
# still expands $()/backticks in its body) would let a malicious path execute
# as shell code the moment this line runs.
"$PYTHON" -c "import os, sys; out_path = os.path.abspath('graphify-out/.graphify_root'); os.chdir(sys.stdin.readline().rstrip('\n')); open(out_path, 'w', encoding='utf-8').write(os.getcwd())" <<'GRAPHIFY_ROOT_EOF'
INPUT_PATH
GRAPHIFY_ROOT_EOF
```
If the import succeeds, print nothing and move straight to Step 2.
**In every subsequent bash block, replace `python3` with `$(cat graphify-out/.graphify_python)` to use the correct interpreter.**
### Step 2 - Detect files
```bash
$(cat graphify-out/.graphify_python) -c "
import json
from graphify.detect import detect
from pathlib import Path
from graphify.paths import out_path
from graphify.watch import _read_build_excludes, _read_build_gitignore
result = detect(Path('INPUT_PATH'), extra_excludes=_read_build_excludes(out_path()), gitignore=_read_build_gitignore(out_path()))
# Write the sidecar from Python, not a shell redirect, so the same block renders
# on PowerShell hosts without console-encoding drift (#2528).From iqbalhasandev/claude-code-config, MIT.
More from iqbalhasandev/claude-code-config
- 0.555score
remotion-maps
iqbalhasandev
Remotion Map animation knowledge
SkillAFreshness: AClaude Code +9 - 0.555score
remotion-best-practices
iqbalhasandev
Router for all Remotion skills
SkillAFreshness: AClaude Code +9 - 0.555score
remotion-upgrade
iqbalhasandev
Upgrade Remotion, and related packages
SkillAFreshness: AClaude Code +9 - 0.552score
remotion-saas
iqbalhasandev
Build an app with Remotion
SkillAFreshness: AClaude Code +9 - 0.552score
remotion-studio
iqbalhasandev
Preview a Remotion video
SkillAFreshness: AClaude Code +9 - 0.552score
remotion-render
iqbalhasandev
Export a Remotion video
SkillAFreshness: AClaude Code +9 - 0.552score
remotion-create
iqbalhasandev
Create a new Remotion video
SkillAFreshness: AClaude Code +9 - 0.552score
remotion-docs
iqbalhasandev
Search Remotion documentation
SkillAFreshness: AClaude Code +9 - 0.547score
remotion-multimedia
iqbalhasandev
Interacting with Mediabunny
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 15, 2026 (15 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.627score
graphify
sammcj
Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question…
SkillCFreshness: C★ 167Claude Code +9 - 0.369score
graphify
alo-exp
Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question…
SkillAFreshness: A★ 7Claude Code +9 - 0.369score
graphify
alo-exp
Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question…
SkillAFreshness: A★ 7Claude Code +9 - 0.369score
graphify
alo-exp
Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question…
SkillAFreshness: A★ 7Claude Code +9 - 0.369score
graphify
alo-exp
Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question…
SkillAFreshness: A★ 7Claude Code +9 - 0.369score
graphify
alo-exp
Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question…
SkillAFreshness: A★ 7Claude Code +9 - 0.354score
graphify
PanPanFR
Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question…
SkillBFreshness: B★ 12Claude Code +9 - 0.350score
graphify
Garioli-Labs
Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question…
SkillAFreshness: A★ 1Claude Code +9 - 0.348score
graphify
jsb4702-glitch
Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question…
SkillBFreshness: B★ 7Claude Code +9 - 0.339score
graphify
idallasjlabs
Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question…
SkillAFreshness: AClaude Code +9 - 0.336score
graphify
belajarcarabelajar
Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question…
SkillAFreshness: AClaude Code +9 - 0.333score
graphify
rahmatrdn
Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question…
SkillAFreshness: AClaude Code +9
More from iqbalhasandev
- 0.555score
remotion-maps
iqbalhasandev
Remotion Map animation knowledge
SkillAFreshness: AClaude Code +9 - 0.555score
remotion-best-practices
iqbalhasandev
Router for all Remotion skills
SkillAFreshness: AClaude Code +9 - 0.555score
remotion-upgrade
iqbalhasandev
Upgrade Remotion, and related packages
SkillAFreshness: AClaude Code +9 - 0.552score
remotion-saas
iqbalhasandev
Build an app with Remotion
SkillAFreshness: AClaude Code +9 - 0.552score
remotion-studio
iqbalhasandev
Preview a Remotion video
SkillAFreshness: AClaude Code +9 - 0.552score
remotion-render
iqbalhasandev
Export a Remotion video
SkillAFreshness: AClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get graphify running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
graphify skill. Agent Mart. https://agentmart.dev/skills/iqbalhasandev-graphify (last updated 2026-10-24)