graphify
any input (code, docs, papers, images) → knowledge graph → clustered communities → HTML + JSON + audit report
Skill by veverkap
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/veverkap-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: documents, frontend, security
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
- any input (code, docs, papers, images) → knowledge graph → clustered communities → HTML + JSON + audit report
- License
- MIT
- Instructions
- 1,218 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: 1218 lines (spec recommends under 500)
Files (2)
- .graphify_version
- SKILL.md
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 → Obsidian vault
/graphify <path> # full pipeline on specific path
/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> --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> --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
graphify is built around Andrej Karpathy's /raw folder workflow: drop anything into a folder - papers, tweets, screenshots, code, notes - and get a structured knowledge graph that shows you what you didn't know was connected.
Three things it does that Claude alone cannot:
1. **Persistent graph** - relationships are stored in `graphify-out/graph.json` and survive across sessions. Ask questions weeks later without re-reading everything.
2. **Honest audit trail** - every edge is tagged EXTRACTED, INFERRED, or AMBIGUOUS. You know what was found vs invented.
3. **Cross-document surprise** - community detection finds connections between concepts in different files that you would never think to ask about directly.
Use it for:
- A codebase you're new to (understand architecture before touching anything)
- A reading list (papers + tweets + notes → one navigable graph)
- A research corpus (citation graph + concept graph in one)
- Your personal /raw folder (drop everything in, let it grow, query it)
## What You Must Do When Invoked
If no path was given, use `.` (current directory). Do not ask the user for a path.
Follow these steps in order. Do not skip steps.
### Step 1 - Ensure graphify is installed
```bash
# Detect the correct Python interpreter (handles pipx, venv, system installs)
GRAPHIFY_BIN=$(which graphify 2>/dev/null)
if [ -n "$GRAPHIFY_BIN" ]; then
PYTHON=$(head -1 "$GRAPHIFY_BIN" | tr -d '#!')
case "$PYTHON" in
*[!a-zA-Z0-9/_.-]*) PYTHON="python3" ;;
esac
else
PYTHON="python3"
fi
"$PYTHON" -c "import graphify" 2>/dev/null || "$PYTHON" -m pip install graphifyy -q 2>/dev/null || "$PYTHON" -m pip install graphifyy -q --break-system-packages 2>&1 | tail -3
# Write interpreter path for all subsequent steps (persists across invocations)
mkdir -p graphify-out
"$PYTHON" -c "import sys; open('graphify-out/.graphify_python', 'w').write(sys.executable)"
```
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
result = detect(Path('INPUT_PATH'))
print(json.dumps(result))
" > graphify-out/.graphify_detect.json
```
Replace INPUT_PATH with the actual path the user provided. Do NOT cat or print the JSON - read it silently and present a clean summary instead:
```
Corpus: X files · ~Y words
code: N files (.py .ts .go ...)
docs: N files (.md .txt ...)
papers: N files (.pdf ...)
images: N files
```
Then act on it:
- If `total_files` is 0: stop with "No supported files found in [path]."
- If `skipped_sensitive` is non-empty: mention file count skipped, not the file names.
- If `total_words` > 2,000,000 OR `total_files` > 200: show the warning and the top 5 subdirectories by file count, then ask which subfolder to run on. Wait for the user's answer before proceeding.
- Otherwise: proceed directly to Step 3 - no need to ask anything.
### Step 3 - Extract entities and relationships
**Before starting:** note whether `--mode deep` was given. You must pass `DEEP_MODE=true` to every subagent in Step B2 if it was. Track this from the original invocation - do not lose it.
This step has two parts: **structural extraction** (deterministic, free) and **semantic extraction** (Claude, costs tokens).
**Run Part A (AST) and Part B (semantic) in parallel. Dispatch all semantic subagents AND start AST extraction in the same message. Both can run simultaneously since they operate on different file types. Merge results in Part C as before.**
Note: Parallelizing AST + semantic saves 5-15s on large corpora. AST is deterministic and fast; start it while subagents are processing docs/papers.
#### Part A - Structural extraction for code files
For any code files detected, run AST extraction in parallel with Part B subagents:From veverkap/skills, MIT.
More from veverkap/skills
- 0.524score
duplicate-code-detector
veverkap
Detect significant duplicate code patterns in recently changed files using semantic analysis and open focused remediation issues (one per pattern, up to 3).
SkillBFreshness: BClaude Code +9 - 0.521score
ci-coach
veverkap
Analyze local CI workflow definitions, identify low-risk efficiency improvements, implement focused updates, and generate a data-backed optimization report.
SkillBFreshness: BClaude Code +9 - 0.521score
code-simplifier
veverkap
Analyze recently modified local code and simplify it for clarity and maintainability while preserving behavior.
SkillBFreshness: BClaude Code +9 - 0.521score
grumpy-reviewer
veverkap
Perform a critical, grumpy senior-style review of local diffs, focusing on correctness, security, performance, and maintainability.
SkillBFreshness: BClaude Code +9 - 0.521score
nitpick-reviewer
veverkap
Perform a detailed local diff nitpick review focused on subtle naming, structure, and consistency issues that linters often miss.
SkillBFreshness: BClaude Code +9 - 0.521score
principal-engineer-review
veverkap
Review local diffs and design changes from a principal engineer standpoint: MVP scope, correctness, maintainability, security, reliability, and reuse of…
SkillBFreshness: BClaude Code +9 - 0.521score
resolve-review-notes
veverkap
Find the GitHub pull request for the current branch, collect and validate all review comments against current code, apply valid fixes, resolve addressed…
SkillBFreshness: BClaude Code +9 - 0.521score
change-fix
veverkap
Diagnose and fix local branch failures or requested issues, verify with project checks, and produce a clear fix summary.
SkillBFreshness: BClaude Code +9 - 0.496score
improve-codebase-architecture
veverkap
Scan a codebase for deepening opportunities, present them as a visual HTML report, then drill into the selected option with concrete interface and migration…
SkillBFreshness: BClaude Code +9 - 0.281score
babysit-changes
veverkap
No description from the publisher yet.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 9, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/veverkap/skills
- 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.504score
graphify
indfn
any input (code, docs, papers, images) - knowledge graph - clustered communities - HTML + JSON + audit report
SkillBFreshness: BClaude Code +9 - 0.273score
graphify
itsyashvardhan
any input (code, docs, papers, images) - knowledge graph - clustered communities - HTML + JSON + audit report
SkillCFreshness: CClaude Code +9
More from veverkap
- 0.524score
duplicate-code-detector
veverkap
Detect significant duplicate code patterns in recently changed files using semantic analysis and open focused remediation issues (one per pattern, up to 3).
SkillBFreshness: BClaude Code +9 - 0.521score
ci-coach
veverkap
Analyze local CI workflow definitions, identify low-risk efficiency improvements, implement focused updates, and generate a data-backed optimization report.
SkillBFreshness: BClaude Code +9 - 0.521score
code-simplifier
veverkap
Analyze recently modified local code and simplify it for clarity and maintainability while preserving behavior.
SkillBFreshness: BClaude Code +9 - 0.521score
grumpy-reviewer
veverkap
Perform a critical, grumpy senior-style review of local diffs, focusing on correctness, security, performance, and maintainability.
SkillBFreshness: BClaude Code +9 - 0.521score
nitpick-reviewer
veverkap
Perform a detailed local diff nitpick review focused on subtle naming, structure, and consistency issues that linters often miss.
SkillBFreshness: BClaude Code +9 - 0.521score
principal-engineer-review
veverkap
Review local diffs and design changes from a principal engineer standpoint: MVP scope, correctness, maintainability, security, reliability, and reuse of…
SkillBFreshness: BClaude Code +9
Cite this page
graphify skill. Agent Mart. https://agentmart.dev/skills/veverkap-graphify (last updated 2026-10-24)