{"id":48389153,"url":"https://github.com/safishamsi/graphify","last_synced_at":"2026-06-09T00:01:47.723Z","repository":{"id":349016445,"uuid":"1200597263","full_name":"safishamsi/graphify","owner":"safishamsi","description":"AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs, papers, images, or videos into a queryable knowledge graph. App code + database schema + infrastructure in one graph.","archived":false,"fork":false,"pushed_at":"2026-06-03T22:08:56.000Z","size":3626,"stargazers_count":58900,"open_issues_count":285,"forks_count":6144,"subscribers_count":205,"default_branch":"v8","last_synced_at":"2026-06-04T00:02:35.282Z","etag":null,"topics":["antigravity","claude-code","codex","gemini","graphrag","knowledge-graph","leiden","openclaw","rag","skills","tree-sitter"],"latest_commit_sha":null,"homepage":"https://graphifylabs.ai/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/safishamsi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null},"funding":{"github":"safishamsi"}},"created_at":"2026-04-03T15:49:07.000Z","updated_at":"2026-06-03T23:57:53.000Z","dependencies_parsed_at":"2026-06-04T00:00:58.919Z","dependency_job_id":null,"html_url":"https://github.com/safishamsi/graphify","commit_stats":null,"previous_names":["safishamsi/graphify"],"tags_count":128,"template":false,"template_full_name":null,"purl":"pkg:github/safishamsi/graphify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/safishamsi%2Fgraphify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/safishamsi%2Fgraphify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/safishamsi%2Fgraphify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/safishamsi%2Fgraphify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/safishamsi","download_url":"https://codeload.github.com/safishamsi/graphify/tar.gz/refs/heads/v8","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/safishamsi%2Fgraphify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34085321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["antigravity","claude-code","codex","gemini","graphrag","knowledge-graph","leiden","openclaw","rag","skills","tree-sitter"],"created_at":"2026-04-05T23:10:17.797Z","updated_at":"2026-06-09T00:01:47.716Z","avatar_url":"https://github.com/safishamsi.png","language":"Python","funding_links":["https://github.com/sponsors/safishamsi"],"categories":["Python","HarmonyOS","Projects","AI拓展工具","Tool","🎯 Agent Skills","CLIs","Productivity Tools","🧠 Agent Skills","Open-source repos","Extensions, Skills \u0026 Rules","知识图谱"],"sub_categories":["Windows Manager","AI and Agents","Vibe coding tool","Memory \u0026 Context Management","Claude Code Skills \u0026 Plugins","大语言对话模型及数据"],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://graphifylabs.ai\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/safishamsi/graphify/v4/docs/logo-text.svg\" width=\"260\" height=\"64\" alt=\"Graphify\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  🇺🇸 \u003ca href=\"README.md\"\u003eEnglish\u003c/a\u003e | 🇨🇳 \u003ca href=\"docs/translations/README.zh-CN.md\"\u003e简体中文\u003c/a\u003e | 🇯🇵 \u003ca href=\"docs/translations/README.ja-JP.md\"\u003e日本語\u003c/a\u003e | 🇰🇷 \u003ca href=\"docs/translations/README.ko-KR.md\"\u003e한국어\u003c/a\u003e | 🇩🇪 \u003ca href=\"docs/translations/README.de-DE.md\"\u003eDeutsch\u003c/a\u003e | 🇫🇷 \u003ca href=\"docs/translations/README.fr-FR.md\"\u003eFrançais\u003c/a\u003e | 🇪🇸 \u003ca href=\"docs/translations/README.es-ES.md\"\u003eEspañol\u003c/a\u003e | 🇮🇳 \u003ca href=\"docs/translations/README.hi-IN.md\"\u003eहिन्दी\u003c/a\u003e | 🇧🇷 \u003ca href=\"docs/translations/README.pt-BR.md\"\u003ePortuguês\u003c/a\u003e | 🇷🇺 \u003ca href=\"docs/translations/README.ru-RU.md\"\u003eРусский\u003c/a\u003e | 🇸🇦 \u003ca href=\"docs/translations/README.ar-SA.md\"\u003eالعربية\u003c/a\u003e | 🇮🇹 \u003ca href=\"docs/translations/README.it-IT.md\"\u003eItaliano\u003c/a\u003e | 🇵🇱 \u003ca href=\"docs/translations/README.pl-PL.md\"\u003ePolski\u003c/a\u003e | 🇳🇱 \u003ca href=\"docs/translations/README.nl-NL.md\"\u003eNederlands\u003c/a\u003e | 🇹🇷 \u003ca href=\"docs/translations/README.tr-TR.md\"\u003eTürkçe\u003c/a\u003e | 🇺🇦 \u003ca href=\"docs/translations/README.uk-UA.md\"\u003eУкраїнська\u003c/a\u003e | 🇻🇳 \u003ca href=\"docs/translations/README.vi-VN.md\"\u003eTiếng Việt\u003c/a\u003e | 🇮🇩 \u003ca href=\"docs/translations/README.id-ID.md\"\u003eBahasa Indonesia\u003c/a\u003e | 🇸🇪 \u003ca href=\"docs/translations/README.sv-SE.md\"\u003eSvenska\u003c/a\u003e | 🇬🇷 \u003ca href=\"docs/translations/README.el-GR.md\"\u003eΕλληνικά\u003c/a\u003e | 🇷🇴 \u003ca href=\"docs/translations/README.ro-RO.md\"\u003eRomână\u003c/a\u003e | 🇨🇿 \u003ca href=\"docs/translations/README.cs-CZ.md\"\u003eČeština\u003c/a\u003e | 🇫🇮 \u003ca href=\"docs/translations/README.fi-FI.md\"\u003eSuomi\u003c/a\u003e | 🇩🇰 \u003ca href=\"docs/translations/README.da-DK.md\"\u003eDansk\u003c/a\u003e | 🇳🇴 \u003ca href=\"docs/translations/README.no-NO.md\"\u003eNorsk\u003c/a\u003e | 🇭🇺 \u003ca href=\"docs/translations/README.hu-HU.md\"\u003eMagyar\u003c/a\u003e | 🇹🇭 \u003ca href=\"docs/translations/README.th-TH.md\"\u003eภาษาไทย\u003c/a\u003e | 🇺🇿 \u003ca href=\"docs/translations/README.uz-UZ.md\"\u003eOʻzbekcha\u003c/a\u003e | 🇹🇼 \u003ca href=\"docs/translations/README.zh-TW.md\"\u003e繁體中文\u003c/a\u003e | 🇵🇭 \u003ca href=\"docs/translations/README.fil-PH.md\"\u003eFilipino\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.ycombinator.com/companies/graphify\"\u003e\u003cimg src=\"https://img.shields.io/badge/Y%20Combinator-S26-F0652F?style=flat\u0026logo=ycombinator\u0026logoColor=white\" alt=\"YC S26\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://safishamsi.gumroad.com/l/qetvlo\"\u003e\u003cimg src=\"https://img.shields.io/badge/Book-The%20Memory%20Layer-2ea44f?style=flat\u0026logo=gitbook\u0026logoColor=white\" alt=\"The Memory Layer\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/safishamsi/graphify/actions/workflows/ci.yml\"\u003e\u003cimg src=\"https://github.com/safishamsi/graphify/actions/workflows/ci.yml/badge.svg?branch=v8\" alt=\"CI\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://pypi.org/project/graphifyy/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/graphifyy\" alt=\"PyPI\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://pepy.tech/project/graphifyy\"\u003e\u003cimg src=\"https://img.shields.io/pepy/dt/graphifyy?color=blue\u0026label=downloads\" alt=\"Downloads\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/sponsors/safishamsi\"\u003e\u003cimg src=\"https://img.shields.io/badge/sponsor-safishamsi-ea4aaa?logo=github-sponsors\" alt=\"Sponsor\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.linkedin.com/in/safi-shamsi\"\u003e\u003cimg src=\"https://img.shields.io/badge/LinkedIn-Safi%20Shamsi-0077B5?logo=linkedin\" alt=\"LinkedIn\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://x.com/graphifyy\"\u003e\u003cimg src=\"https://img.shields.io/badge/X-graphifyy-000000?logo=x\u0026logoColor=white\" alt=\"X\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://star-history.com/#safishamsi/graphify\u0026Date\"\u003e\n    \u003cimg src=\"https://api.star-history.com/svg?repos=safishamsi/graphify\u0026type=Date\" alt=\"Star History Chart\" width=\"370\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nType `/graphify` in your AI coding assistant and it maps your entire project — code, docs, PDFs, images, videos — into a knowledge graph you can query instead of grepping through files.\n\nWorks in Claude Code, Codex, OpenCode, Kilo Code, Cursor, Gemini CLI, GitHub Copilot CLI, VS Code Copilot Chat, Aider, Amp, OpenClaw, Factory Droid, Trae, Hermes, Kimi Code, Kiro, Pi, Devin CLI, and Google Antigravity.\n\n```\n/graphify .\n```\n\nThat's it. You get three files:\n\n```\ngraphify-out/\n├── graph.html       open in any browser — click nodes, filter, search\n├── GRAPH_REPORT.md  the highlights: key concepts, surprising connections, suggested questions\n└── graph.json       the full graph — query it anytime without re-reading your files\n```\n\nFor a readable architecture page with Mermaid call-flow diagrams, run:\n\n```bash\ngraphify export callflow-html\n```\n\n---\n\n## Prerequisites\n\n| Requirement | Minimum | Check | Install |\n|---|---|---|---|\n| Python | 3.10+ | `python --version` | [python.org](https://www.python.org/downloads/) |\n| uv *(recommended)* | any | `uv --version` | `curl -LsSf https://astral.sh/uv/install.sh \\| sh` |\n| pipx *(alternative)* | any | `pipx --version` | `pip install pipx` |\n\n**macOS quick install (Homebrew):**\n```bash\nbrew install python@3.12 uv\n```\n\n**Windows quick install:**\n```powershell\nwinget install astral-sh.uv\n```\n\n**Ubuntu/Debian:**\n```bash\nsudo apt install python3.12 python3-pip pipx\n# or install uv:\ncurl -LsSf https://astral.sh/uv/install.sh | sh\n```\n\n---\n\n## Install\n\n\u003e **Official package:** The PyPI package is `graphifyy` (double-y). Other `graphify*` packages on PyPI are not affiliated. The CLI command is still `graphify`.\n\n**Step 1 — install the package:**\n\n```bash\n# Recommended (uv puts graphify on PATH automatically):\nuv tool install graphifyy\n\n# Alternatives:\npipx install graphifyy\npip install graphifyy  # may need PATH setup — see note below\n```\n\n**Step 2 — register the skill with your AI assistant:**\n\n```bash\ngraphify install\n```\n\nThat's it. Open your AI assistant and type `/graphify .`\n\nTo install the assistant skill into the current repository instead of your user\nprofile, add `--project`:\n\n```bash\ngraphify install --project\ngraphify install --project --platform codex\n```\n\nProject-scoped installs write under the current directory, for example\n`.claude/skills/graphify/SKILL.md` or `.agents/skills/graphify/SKILL.md` (plus a\n`references/` sidecar the skill loads on demand), and\nprint a `git add` hint for files that can be committed.\nPer-platform commands that support project-scoped installs accept the same flag,\nfor example `graphify claude install --project` or `graphify codex install --project`.\n\n\u003e **PowerShell note:** Use `graphify .` not `/graphify .` — the leading slash is a path separator in PowerShell.\n\n\u003e **`graphify: command not found`?** Use `uv tool install graphifyy` or `pipx install graphifyy` — both put the CLI on PATH automatically. With plain `pip`, add `~/.local/bin` (Linux) or `~/Library/Python/3.x/bin` (Mac) to your PATH, or run `python -m graphify`.\n\n\u003e **Avoid `pip install` on Mac/Windows** if possible. The skill resolves Python at runtime from `graphify-out/.graphify_python`; if that points to a different environment than where `pip` installed the package, you'll get `ModuleNotFoundError: No module named 'graphify'`. `uv tool install` and `pipx install` isolate the package in their own env and avoid this entirely.\n\n\u003e **Git hooks and uv tool / pipx:** `graphify hook install` embeds the current interpreter path directly into the hook scripts at install time, so the post-commit hook fires correctly even in GUI git clients and CI runners where `~/.local/bin` is not on PATH. If you reinstall or upgrade graphify, re-run `graphify hook install` to refresh the embedded path.\n\n### Pick your platform\n\n| Platform | Install command |\n|----------|----------------|\n| Claude Code (Linux/Mac) | `graphify install` |\n| Claude Code (Windows) | `graphify install` (auto-detected) or `graphify install --platform windows` |\n| CodeBuddy | `graphify install --platform codebuddy` |\n| Codex | `graphify install --platform codex` |\n| OpenCode | `graphify install --platform opencode` |\n| Kilo Code | `graphify install --platform kilo` |\n| GitHub Copilot CLI | `graphify install --platform copilot` |\n| VS Code Copilot Chat | `graphify vscode install` |\n| Aider | `graphify install --platform aider` |\n| OpenClaw | `graphify install --platform claw` |\n| Factory Droid | `graphify install --platform droid` |\n| Trae | `graphify install --platform trae` |\n| Trae CN | `graphify install --platform trae-cn` |\n| Gemini CLI | `graphify install --platform gemini` |\n| Hermes | `graphify install --platform hermes` |\n| Kimi Code | `graphify install --platform kimi` |\n| Amp | `graphify amp install` |\n| Kiro IDE/CLI | `graphify kiro install` |\n| Pi coding agent | `graphify install --platform pi` |\n| Cursor | `graphify cursor install` |\n| Devin CLI | `graphify devin install` |\n| Google Antigravity | `graphify antigravity install` |\n\nCodex users also need `multi_agent = true` under `[features]` in `~/.codex/config.toml` for parallel extraction. CodeBuddy uses the same Agent tool and PreToolUse hook mechanism as Claude Code. Factory Droid uses the `Task` tool for parallel subagent dispatch. OpenClaw and Aider use sequential extraction (parallel agent support is still early on those platforms). Trae uses the Agent tool for parallel subagent dispatch and does **not** support PreToolUse hooks — AGENTS.md is the always-on mechanism.\n\n\u003e Codex uses `$graphify` instead of `/graphify`.\n\n### Optional extras\n\nInstall only what you need:\n\n| Extra | What it adds | Install |\n|---|---|---|\n| `pdf` | PDF extraction | `uv tool install \"graphifyy[pdf]\"` |\n| `office` | `.docx` and `.xlsx` support | `uv tool install \"graphifyy[office]\"` |\n| `google` | Google Sheets rendering | `uv tool install \"graphifyy[google]\"` |\n| `video` | Video/audio transcription (faster-whisper + yt-dlp) | `uv tool install \"graphifyy[video]\"` |\n| `mcp` | MCP stdio server | `uv tool install \"graphifyy[mcp]\"` |\n| `neo4j` | Neo4j push support | `uv tool install \"graphifyy[neo4j]\"` |\n| `svg` | SVG graph export | `uv tool install \"graphifyy[svg]\"` |\n| `leiden` | Leiden community detection (Python \u003c 3.13 only) | `uv tool install \"graphifyy[leiden]\"` |\n| `ollama` | Ollama local inference | `uv tool install \"graphifyy[ollama]\"` |\n| `openai` | OpenAI / OpenAI-compatible APIs | `uv tool install \"graphifyy[openai]\"` |\n| `gemini` | Google Gemini API | `uv tool install \"graphifyy[gemini]\"` |\n| `anthropic` | Anthropic Claude API (`--backend claude`, uses `ANTHROPIC_API_KEY`) | `uv tool install \"graphifyy[anthropic]\"` |\n| `bedrock` | AWS Bedrock (uses IAM, no API key) | `uv tool install \"graphifyy[bedrock]\"` |\n| `azure` | Azure OpenAI Service (`--backend azure`, uses `AZURE_OPENAI_API_KEY` + `AZURE_OPENAI_ENDPOINT`) | `uv tool install \"graphifyy[openai]\"` |\n| `sql` | SQL schema extraction | `uv tool install \"graphifyy[sql]\"` |\n| `postgres` | Live PostgreSQL introspection (`--postgres DSN`) | `uv tool install \"graphifyy[postgres]\"` |\n| `dm` | BYOND DreamMaker `.dm`/`.dme` AST extraction (may need a C compiler + `python3-dev` if no wheel matches your platform) | `uv tool install \"graphifyy[dm]\"` |\n| `terraform` | Terraform / HCL `.tf`/`.tfvars`/`.hcl` AST extraction | `uv tool install \"graphifyy[terraform]\"` |\n| `chinese` | Chinese query segmentation (jieba) | `uv tool install \"graphifyy[chinese]\"` |\n| `all` | Everything above | `uv tool install \"graphifyy[all]\"` |\n\n---\n\n## Make your assistant always use the graph\n\nRun this once in your project after building a graph:\n\n| Platform | Command |\n|----------|---------|\n| Claude Code | `graphify claude install` |\n| CodeBuddy | `graphify codebuddy install` |\n| Codex | `graphify codex install` |\n| OpenCode | `graphify opencode install` |\n| Kilo Code | `graphify kilo install` |\n| GitHub Copilot CLI | `graphify copilot install` |\n| VS Code Copilot Chat | `graphify vscode install` |\n| Aider | `graphify aider install` |\n| OpenClaw | `graphify claw install` |\n| Factory Droid | `graphify droid install` |\n| Trae | `graphify trae install` |\n| Trae CN | `graphify trae-cn install` |\n| Cursor | `graphify cursor install` |\n| Gemini CLI | `graphify gemini install` |\n| Hermes | `graphify hermes install` |\n| Kimi Code | `graphify install --platform kimi` |\n| Amp | `graphify amp install` |\n| Kiro IDE/CLI | `graphify kiro install` |\n| Pi coding agent | `graphify pi install` |\n| Devin CLI | `graphify devin install` |\n| Google Antigravity | `graphify antigravity install` |\n\nThis writes a small config file that tells your assistant to consult the knowledge graph for codebase questions — preferring scoped queries like `graphify query \"\u003cquestion\u003e\"` over reading the full report or grepping raw files. On platforms that support payload-bearing hooks (Claude Code, Gemini CLI), a hook fires automatically before search-style tool calls (and, on Claude Code, before reading source files one by one via the Read/Glob tools) and nudges your assistant toward the graph path. On the others (Codex, OpenCode, Cursor, etc.), the persistent instruction files (`AGENTS.md`, `.cursor/rules/`, etc.) provide the same query-first guidance. `GRAPH_REPORT.md` is still available for broad architecture review.\n\n**CodeBuddy** does the same two things as Claude Code: writes a `CODEBUDDY.md` section telling CodeBuddy to read `graphify-out/GRAPH_REPORT.md` before answering architecture questions, and installs **PreToolUse hooks** (`.codebuddy/settings.json`) that fire before Bash search commands and file reads, nudging toward `graphify query` instead.\n\n**Codex** writes to `AGENTS.md` and also installs a **PreToolUse hook** in `.codex/hooks.json` that fires before every Bash tool call — same always-on mechanism as Claude Code.\n\nTo remove graphify from all platforms at once: `graphify uninstall` (add `--purge` to also delete `graphify-out/`). Or use the per-platform command (e.g. `graphify claude uninstall`).\n\n---\n\n**Kilo Code** installs the Graphify skill to `~/.config/kilo/skills/graphify/SKILL.md` and a native `/graphify` command to `~/.config/kilo/command/graphify.md`. `graphify kilo install` also writes `AGENTS.md` plus a native **`tool.execute.before` plugin** (`.kilo/plugins/graphify.js` + `.kilo/kilo.json` or `.kilo/kilo.jsonc` registration) so Kilo gets the same always-on graph reminder behavior through native `.kilo` config.\n\n**Cursor** writes `.cursor/rules/graphify.mdc` with `alwaysApply: true` — Cursor includes it in every conversation automatically, no hook needed.\n\n## What's in the report\n\n- **God nodes** — the most-connected concepts in your project. Everything flows through these.\n- **Surprising connections** — links between things that live in different files or modules. Ranked by how unexpected they are.\n- **The \"why\"** — inline comments (`# NOTE:`, `# WHY:`, `# HACK:`), docstrings, and design rationale from docs are extracted as separate nodes linked to the code they explain.\n- **Suggested questions** — 4–5 questions the graph is uniquely positioned to answer.\n- **Confidence tags** — every inferred relationship is marked `EXTRACTED`, `INFERRED`, or `AMBIGUOUS`. You always know what was found vs guessed.\n\n---\n\n## What files it handles\n\n| Type | Extensions |\n|------|-----------|\n| Code (28 tree-sitter grammars) | `.py .ts .js .jsx .tsx .mjs .go .rs .java .c .cpp .h .hpp .rb .cs .kt .scala .php .swift .lua .luau .zig .ps1 .ex .exs .m .mm .jl .vue .svelte .astro .groovy .gradle .dart .v .sv .svh .sql .f .f90 .f95 .f03 .f08 .pas .pp .dpr .dpk .lpr .inc .dfm .lfm .lpk .sh .bash .json .dm .dme .dmi .dmm .dmf .sln .slnx .csproj .fsproj .vbproj .razor .cshtml` (`.dm`/`.dme` requires `uv tool install graphifyy[dm]`) |\n| Salesforce Apex | `.cls .trigger` (regex-based; classes, interfaces, enums, methods, triggers, SOQL/DML edges) |\n| Terraform / HCL | `.tf .tfvars .hcl` (requires `uv tool install graphifyy[terraform]`) |\n| MCP configs | `.mcp.json` `mcp.json` `mcp_servers.json` `claude_desktop_config.json` — extracts server nodes, package refs, env var requirements |\n| Docs | `.md .mdx .qmd .html .txt .rst .yaml .yml` |\n| Office | `.docx .xlsx` (requires `uv tool install graphifyy[office]`) |\n| Google Workspace | `.gdoc .gsheet .gslides` (opt-in; requires `gws` auth and `--google-workspace`; Sheets need `uv tool install graphifyy[google]`) |\n| PDFs | `.pdf` |\n| Images | `.png .jpg .webp .gif` |\n| Video / Audio | `.mp4 .mov .mp3 .wav` and more (requires `uv tool install graphifyy[video]`) |\n| YouTube / URLs | any video URL (requires `uv tool install graphifyy[video]`) |\n\nCode is extracted locally with no API calls (AST via tree-sitter). Everything else goes through your AI assistant's model API.\n\nGoogle Drive for desktop `.gdoc`, `.gsheet`, and `.gslides` files are shortcut\npointers, not document content. To include native Google Docs, Sheets, and Slides\nin a headless extraction, install and authenticate the\n[`gws` CLI](https://github.com/googleworkspace/cli), then run:\n\n```bash\nuv tool install \"graphifyy[google]\"  # needed for Google Sheets table rendering\ngws auth login -s drive\ngraphify extract ./docs --google-workspace\n```\n\nYou can also set `GRAPHIFY_GOOGLE_WORKSPACE=1`. Graphify exports shortcuts into\n`graphify-out/converted/` as Markdown sidecars, then extracts those files.\n\n---\n\n## Common commands\n\n```bash\n/graphify .                        # build graph for current folder\n/graphify ./docs --update          # re-extract only changed files\n/graphify . --cluster-only         # rerun clustering without re-extracting\n/graphify . --cluster-only --resolution 1.5      # more granular communities\n/graphify . --cluster-only --exclude-hubs 99     # suppress utility super-hubs from god-node rankings\n/graphify . --no-viz               # skip the HTML, just the report + JSON\n/graphify . --wiki                 # build a markdown wiki from the graph\ngraphify export callflow-html      # Mermaid architecture/call-flow HTML (auto-regenerates on every git commit if hook is installed)\n\n/graphify query \"what connects auth to the database?\"\n/graphify path \"UserService\" \"DatabasePool\"\n/graphify explain \"RateLimiter\"\n\n/graphify add https://arxiv.org/abs/1706.03762   # fetch a paper and add it\n/graphify add \u003cyoutube-url\u003e                       # transcribe and add a video\n\ngraphify hook install              # auto-rebuild on git commit\ngraphify merge-graphs a.json b.json              # combine two graphs\n\ngraphify prs                       # PR dashboard: CI state, review status, worktree mapping\ngraphify prs 42                    # deep dive on PR #42 with graph impact\ngraphify prs --triage              # AI ranks your review queue (uses whatever backend is configured)\ngraphify prs --conflicts           # PRs sharing graph communities — merge-order risk\n```\n\nSee the [full command reference](#full-command-reference) below.\n\n---\n\n## Ignoring files\n\nCreate a `.graphifyignore` in your project root — same syntax as `.gitignore`, including `!` negation.\n\n**`.gitignore` is respected automatically.** If no `.graphifyignore` is present in a directory, graphify falls back to the `.gitignore` in that directory. If both exist, `.graphifyignore` takes priority. Subdirectory scoping works the same way as git — an ignore file only affects its own subtree.\n\n```\n# .graphifyignore\nnode_modules/\ndist/\n*.generated.py\n\n# only index src/, ignore everything else\n*\n!src/\n!src/**\n```\n\n---\n\n## Team setup\n\n`graphify-out/` is meant to be committed to git so everyone on the team starts with a map.\n\n**Recommended `.gitignore` additions:**\n```\ngraphify-out/cost.json        # local only\n# graphify-out/cache/         # optional: commit for speed, skip to keep repo small\n```\n\n\u003e `manifest.json` is now portable — keys are stored as relative paths and re-anchored on load, so committing it is safe and avoids a full rebuild on first checkout.\n\n**Workflow:**\n1. One person runs `/graphify .` and commits `graphify-out/`.\n2. Everyone pulls — their assistant reads the graph immediately.\n3. Run `graphify hook install` to auto-rebuild after each commit (AST only, no API cost). This also sets up a git merge driver so `graph.json` is never left with conflict markers — two devs committing in parallel get their graphs union-merged automatically.\n4. When docs or papers change, run `/graphify --update` to refresh those nodes.\n\n---\n\n## Using the graph directly\n\n```bash\n# query the graph from the terminal\ngraphify query \"show the auth flow\"\ngraphify query \"what connects DigestAuth to Response?\" --graph graphify-out/graph.json\n\n# expose the graph as an MCP server (for repeated tool-call access)\npython -m graphify.serve graphify-out/graph.json\n\n# register with Kimi Code:\nkimi mcp add --transport stdio graphify -- python -m graphify.serve graphify-out/graph.json\n\n# or serve over HTTP so a whole team points at one URL (no local graphify needed):\npython -m graphify.serve graphify-out/graph.json --transport http --port 8080\npython -m graphify.serve graphify-out/graph.json --transport http --host 0.0.0.0 --api-key \"$SECRET\"\n```\n\nThe MCP server gives your assistant structured access: `query_graph`, `get_node`, `get_neighbors`, `shortest_path`, `list_prs`, `get_pr_impact`, `triage_prs`.\n\n### Shared HTTP server\n\n`--transport stdio` (the default) spawns one local server per developer. `--transport http` serves the same tools over the MCP Streamable HTTP transport, so a single shared process can serve the graph for the whole team — clients point their IDE MCP config at `http://\u003chost\u003e:8080/mcp` instead of running graphify locally.\n\n| Flag | Default | Purpose |\n|---|---|---|\n| `--transport {stdio,http}` | `stdio` | Transport to serve on |\n| `--host` | `127.0.0.1` | HTTP bind host (use `0.0.0.0` to expose beyond localhost) |\n| `--port` | `8080` | HTTP bind port |\n| `--api-key` | env `GRAPHIFY_API_KEY` | Require `Authorization: Bearer \u003ckey\u003e` (or `X-API-Key`) |\n| `--path` | `/mcp` | HTTP mount path |\n| `--json-response` | off | Return plain JSON instead of SSE streams |\n| `--stateless` | off | No per-session state (for load-balanced / CI deployments) |\n| `--session-timeout` | `3600` | Reap idle stateful sessions after N seconds (`0` disables) |\n\nThe default `127.0.0.1` bind is loopback-only. Set `--host 0.0.0.0` **and** `--api-key` together when exposing on a shared host. Run it in a container:\n\n```bash\ndocker build -t graphify .\ndocker run -p 8080:8080 -v \"$(pwd)/graphify-out:/data\" graphify \\\n  /data/graph.json --transport http --host 0.0.0.0 --api-key \"$SECRET\"\n```\n\n\u003e **WSL / Linux note:** Ubuntu ships `python3`, not `python`. Use a venv to avoid conflicts:\n\u003e ```bash\n\u003e python3 -m venv .venv \u0026\u0026 .venv/bin/pip install \"graphifyy[mcp]\"\n\u003e ```\n\n---\n\n## Environment variables\n\nThese are only needed for **headless / CI extraction** (`graphify extract`). When running via the `/graphify` skill inside your IDE, the model API is provided by your IDE session — no extra keys needed.\n\n| Variable | Used for | When required |\n|---|---|---|\n| `ANTHROPIC_API_KEY` | Claude (Anthropic) backend | `--backend claude` |\n| `GEMINI_API_KEY` or `GOOGLE_API_KEY` | Google Gemini backend | `--backend gemini` |\n| `OPENAI_API_KEY` | OpenAI or OpenAI-compatible APIs | `--backend openai` |\n| `DEEPSEEK_API_KEY` | DeepSeek backend | `--backend deepseek` |\n| `MOONSHOT_API_KEY` | Kimi Code backend | `--backend kimi` |\n| `OLLAMA_BASE_URL` | Ollama local inference URL | `--backend ollama` (default: `http://localhost:11434`) |\n| `OLLAMA_MODEL` | Ollama model name | `--backend ollama` (default: auto-detect) |\n| `GRAPHIFY_OLLAMA_NUM_CTX` | Override Ollama KV-cache window size | optional — auto-sized by default |\n| `GRAPHIFY_OLLAMA_KEEP_ALIVE` | Minutes to keep Ollama model loaded | optional — set `0` to unload after each chunk |\n| `AZURE_OPENAI_API_KEY` | Azure OpenAI Service backend | `--backend azure` |\n| `AZURE_OPENAI_ENDPOINT` | Azure resource endpoint URL | `--backend azure` (required alongside API key) |\n| `AZURE_OPENAI_API_VERSION` | Azure API version override | optional — default `2024-12-01-preview` |\n| `AZURE_OPENAI_DEPLOYMENT` or `GRAPHIFY_AZURE_MODEL` | Azure deployment name | optional — default `gpt-4o` |\n| `AWS_*` / `~/.aws/credentials` | AWS Bedrock — standard credential chain | `--backend bedrock` (no API key, uses IAM) |\n| `GRAPHIFY_MAX_WORKERS` | AST parallelism thread count | optional — also `--max-workers` flag |\n| `GRAPHIFY_MAX_OUTPUT_TOKENS` | Raise output cap for dense corpora | optional — e.g. `32768` for large files |\n| `GRAPHIFY_API_TIMEOUT` | Per-call timeout in seconds for HTTP, claude-cli, and Anthropic SDK backends (default: 600) | optional — also `--api-timeout` flag |\n| `GRAPHIFY_FORCE` | Force graph rebuild even with fewer nodes | optional — also `--force` flag |\n| `GRAPHIFY_GOOGLE_WORKSPACE` | Auto-enable Google Workspace export | optional — set to `1` |\n| `GRAPHIFY_TRIAGE_BACKEND` | Backend for `graphify prs --triage` | optional — auto-detected from available keys |\n| `GRAPHIFY_TRIAGE_MODEL` | Model override for triage | optional — e.g. `claude-opus-4-7` |\n| `GRAPHIFY_QUERY_LOG` | Override query log path (default: `~/.cache/graphify-queries.log`) | optional — set to empty or `/dev/null` to silence |\n| `GRAPHIFY_QUERY_LOG_DISABLE` | Set to `1` to disable query logging entirely | optional |\n| `GRAPHIFY_QUERY_LOG_RESPONSES` | Set to `1` to also log full subgraph responses (off by default) | optional |\n\n---\n\n## Privacy\n\n- **Code files** — processed locally via tree-sitter. Nothing leaves your machine. A code-only corpus requires no API key — `graphify extract` runs fully offline.\n- **Video / audio** — transcribed locally with faster-whisper. Nothing leaves your machine.\n- **Docs, PDFs, images** — sent to your AI assistant for semantic extraction (via the `/graphify` skill, using whatever model your IDE session runs). Headless `graphify extract` requires `GEMINI_API_KEY` / `GOOGLE_API_KEY` (Gemini), `MOONSHOT_API_KEY` (Kimi), `ANTHROPIC_API_KEY` (Claude), `OPENAI_API_KEY` (OpenAI), `DEEPSEEK_API_KEY` (DeepSeek), a running Ollama instance (`OLLAMA_BASE_URL`), AWS credentials via the standard provider chain (Bedrock - no API key needed, uses IAM), or the `claude` CLI binary (Claude Code - no API key needed, uses your Claude subscription). The `--dedup-llm` flag uses the same key.\n- **Data residency** — `graphify extract` auto-detects which provider to use based on which API key is set (priority: Gemini → Kimi → Claude → OpenAI → DeepSeek → Azure → Bedrock → Ollama). For code with data-residency requirements, use `--backend ollama` (fully local) or pass an explicit `--backend` flag. Kimi (`MOONSHOT_API_KEY`) routes to Moonshot AI servers in China.\n- No telemetry, no usage tracking, no analytics.\n- **Query logging** — every `graphify query`, `graphify path`, `graphify explain`, and MCP `query_graph` call is logged to `~/.cache/graphify-queries.log` in JSON Lines format (timestamp, question, corpus, nodes returned, duration). Full subgraph responses are **not** stored by default. Set `GRAPHIFY_QUERY_LOG_DISABLE=1` to opt out, or `GRAPHIFY_QUERY_LOG=/dev/null` to silence without disabling the code path.\n\n---\n\n## Troubleshooting\n\n**`graphify: command not found` after `pip install graphifyy`**\npip installs scripts to a user bin directory that may not be on your PATH. Fix:\n- macOS: add `~/Library/Python/3.x/bin` to your PATH in `~/.zshrc`\n- Linux: add `~/.local/bin` to your PATH in `~/.bashrc`\n- Or use `uv tool install graphifyy` / `pipx install graphifyy` — both manage PATH automatically.\n\n**`python -m graphify` works but `graphify` command doesn't**\nYour shell's PATH doesn't include the Python scripts directory. Use `uv` or `pipx` instead of plain `pip`.\n\n**`/graphify .` causes \"path not recognized\" in PowerShell**\nPowerShell treats a leading `/` as a path separator. Use `graphify .` (no slash) on Windows.\n\n**Graph has fewer nodes after `--update` or rebuild**\nIf a refactor deleted files, the old nodes linger. Pass `--force` (or set `GRAPHIFY_FORCE=1`) to overwrite even when the rebuild has fewer nodes.\n\n**Graph has duplicate nodes for the same entity (ghost duplicates)**\nGhost duplicates (same symbol appearing twice — once from AST extraction with a source location, once from semantic extraction without) are now automatically merged at build time. If you see this in a graph built before v0.8.33, run a full re-extract to clean up:\n```bash\ngraphify extract . --force\n```\n\n**Ollama runs out of VRAM / context window exceeded**\nThe KV-cache window is auto-sized but may be too large for your GPU. Reduce it:\n```bash\nGRAPHIFY_OLLAMA_NUM_CTX=8192 graphify extract ./docs --backend ollama --token-budget 4000\n```\n\n**Graph HTML is too large to open in a browser (\u003e5000 nodes)**\nSkip HTML generation and use the JSON directly:\n```bash\ngraphify cluster-only ./my-project --no-viz\ngraphify query \"...\"\n```\n\n**`graph.json` has conflict markers after two devs commit at once**\nRun `graphify hook install` — it sets up a git merge driver that union-merges `graph.json` automatically so conflicts never happen.\n\n**Extraction returns empty nodes/edges for docs or PDFs**\nDocs, PDFs, and images require an LLM call — code-only corpora need no key. Check that your API key is set and the backend is correct:\n```bash\nANTHROPIC_API_KEY=sk-... graphify extract ./docs --backend claude\n```\n\n**Skill version mismatch warning in your IDE**\nYour installed graphify version is different from the skill file. Update:\n```bash\nuv tool upgrade graphifyy\ngraphify install  # overwrites the skill file\n```\n\n---\n\n## Full command reference\n\n```\n/graphify                          # run on current directory\n/graphify ./raw                    # run on a specific folder\n/graphify ./raw --mode deep        # more aggressive relationship extraction\n/graphify ./raw --update           # re-extract only changed files\n/graphify ./raw --directed         # preserve edge direction\n/graphify ./raw --cluster-only     # rerun clustering on existing graph\n/graphify ./raw --no-viz           # skip HTML visualization\n/graphify ./raw --obsidian         # generate Obsidian vault\n/graphify ./raw --wiki             # build agent-crawlable markdown wiki\n/graphify ./raw --svg              # export graph.svg\n/graphify ./raw --graphml          # export for Gephi / yEd\n/graphify ./raw --neo4j            # generate cypher.txt for Neo4j\n/graphify ./raw --neo4j-push bolt://localhost:7687\n/graphify ./raw --watch            # auto-sync as files change\n/graphify ./raw --mcp              # start MCP stdio server\n\n/graphify add https://arxiv.org/abs/1706.03762\n/graphify add \u003cvideo-url\u003e\n/graphify add https://... --author \"Name\" --contributor \"Name\"\n\n/graphify query \"what connects attention to the optimizer?\"\n/graphify query \"...\" --dfs --budget 1500\n/graphify path \"DigestAuth\" \"Response\"\n/graphify explain \"SwinTransformer\"\n\ngraphify uninstall                 # remove from all platforms in one shot\ngraphify uninstall --purge         # also delete graphify-out/\ngraphify uninstall --project --platform codex  # remove project-scoped install files only\n\ngraphify hook install              # post-commit + post-checkout hooks\ngraphify hook uninstall\ngraphify hook status\n\n# always-on assistant instructions - platform-specific\ngraphify claude install            # CLAUDE.md + PreToolUse hook (Claude Code)\ngraphify claude uninstall\ngraphify codebuddy install         # CODEBUDDY.md + PreToolUse hook (CodeBuddy)\ngraphify codebuddy uninstall\ngraphify codex install             # AGENTS.md + PreToolUse hook in .codex/hooks.json (Codex)\ngraphify opencode install          # AGENTS.md + tool.execute.before plugin (OpenCode)\ngraphify kilo install              # native Kilo skill + /graphify command + AGENTS.md + .kilo plugin\ngraphify kilo uninstall\ngraphify cursor install            # .cursor/rules/graphify.mdc (Cursor)\ngraphify cursor uninstall\ngraphify gemini install            # GEMINI.md + BeforeTool hook (Gemini CLI)\ngraphify gemini uninstall\ngraphify copilot install           # skill file (GitHub Copilot CLI)\ngraphify copilot uninstall\ngraphify aider install             # AGENTS.md (Aider)\ngraphify aider uninstall\ngraphify claw install              # AGENTS.md (OpenClaw)\ngraphify claw uninstall\ngraphify droid install             # AGENTS.md (Factory Droid)\ngraphify droid uninstall\ngraphify trae install              # AGENTS.md (Trae)\ngraphify trae uninstall\ngraphify trae-cn install           # AGENTS.md (Trae CN)\ngraphify trae-cn uninstall\ngraphify hermes install             # AGENTS.md + ~/.hermes/skills/ (Hermes)\ngraphify hermes uninstall\ngraphify amp install               # skill file (Amp)\ngraphify amp uninstall\ngraphify kiro install               # .kiro/skills/ + .kiro/steering/graphify.md (Kiro IDE/CLI)\ngraphify kiro uninstall\ngraphify pi install                # skill file (Pi coding agent)\ngraphify pi uninstall\ngraphify devin install             # skill file + .windsurf/rules/graphify.md (Devin CLI)\ngraphify devin uninstall\ngraphify antigravity install       # .agents/rules + .agents/workflows (Google Antigravity)\ngraphify antigravity uninstall\n\ngraphify extract ./docs                        # headless LLM extraction for CI (no IDE needed)\ngraphify extract ./docs --backend gemini       # explicit backend: gemini, kimi, claude, openai, deepseek, ollama, bedrock, or claude-cli\ngraphify extract ./docs --backend gemini --model gemini-3.1-pro-preview\ngraphify extract ./docs --backend ollama       # local Ollama (set OLLAMA_BASE_URL / OLLAMA_MODEL) - no API key needed for loopback\nGRAPHIFY_OLLAMA_NUM_CTX=32768 graphify extract ./docs --backend ollama   # override KV-cache window (auto-sized by default)\nGRAPHIFY_OLLAMA_KEEP_ALIVE=0 graphify extract ./docs --backend ollama    # unload model after each chunk (saves VRAM on small GPUs)\ngraphify extract ./docs --backend bedrock      # AWS Bedrock via IAM - no API key, uses AWS credential chain\ngraphify extract ./docs --backend claude-cli   # route through Claude Code CLI - no API key, uses your Claude subscription\ngraphify extract ./docs --backend azure        # Azure OpenAI (set AZURE_OPENAI_API_KEY + AZURE_OPENAI_ENDPOINT)\ngraphify extract ./docs --max-workers 16       # AST parallelism (also GRAPHIFY_MAX_WORKERS)\ngraphify extract --postgres \"postgresql://user:pass@host/db\"   # introspect live PostgreSQL schema directly\ngraphify extract ./docs --token-budget 30000   # smaller semantic chunks for local/small models\ngraphify extract ./docs --max-concurrency 2    # fewer parallel LLM calls (useful for local inference)\ngraphify extract ./docs --api-timeout 900      # longer HTTP timeout for slow local models (default 600s)\ngraphify extract ./docs --google-workspace     # export .gdoc/.gsheet/.gslides via gws before extraction\ngraphify extract ./docs --mode deep            # richer semantic extraction via extended system prompt\ngraphify extract ./docs --no-cluster           # raw extraction only, skip clustering\ngraphify extract ./docs --force                # overwrite graph.json even if new graph has fewer nodes (use after refactors or to clear ghost duplicates)\ngraphify extract ./docs --dedup-llm            # LLM tiebreaker for ambiguous entity pairs (uses same API key)\ngraphify extract ./docs --global --as myrepo   # extract and register into the cross-project global graph\nGRAPHIFY_MAX_OUTPUT_TOKENS=32768 graphify extract ./docs --backend claude  # raise output cap for dense corpora\n\ngraphify export callflow-html                       # graphify-out/\u003cproject\u003e-callflow.html\ngraphify export callflow-html --max-sections 8      # cap generated architecture sections\ngraphify export callflow-html --output docs/arch.html\ngraphify export callflow-html ./some-repo/graphify-out\n\ngraphify global add graphify-out/graph.json myrepo   # register a project graph into ~/.graphify/global.json\ngraphify global remove myrepo                         # remove a project from the global graph\ngraphify global list                                  # show all registered repos + node/edge counts\ngraphify global path                                  # print path to the global graph file\n\ngraphify prs                              # PR dashboard: CI, review, worktree, graph impact\ngraphify prs 42                           # deep dive on PR #42\ngraphify prs --triage                     # AI triage ranking (auto-detects backend from env)\ngraphify prs --worktrees                  # worktree → branch → PR mapping\ngraphify prs --conflicts                  # PRs sharing graph communities (merge-order risk)\ngraphify prs --base main                  # filter to PRs targeting a specific base branch\ngraphify prs --repo owner/repo            # run against a different GitHub repo\nGRAPHIFY_TRIAGE_BACKEND=kimi graphify prs --triage   # use a specific backend for triage\n\ngraphify clone https://github.com/karpathy/nanoGPT\ngraphify merge-graphs a.json b.json --out merged.json\ngraphify --version                                    # print installed version\ngraphify watch ./src\ngraphify check-update ./src\ngraphify update ./src\ngraphify update ./src --no-cluster  # skip reclustering, write raw AST graph only\ngraphify update ./src --force       # overwrite even if new graph has fewer nodes\ngraphify cluster-only ./my-project\ngraphify cluster-only ./my-project --graph path/to/graph.json  # custom graph location\ngraphify cluster-only ./my-project --resolution 1.5            # more, smaller communities\ngraphify cluster-only ./my-project --exclude-hubs 99           # exclude p99 degree nodes from partitioning\ngraphify cluster-only ./my-project --no-label                  # keep \"Community N\" placeholders\ngraphify cluster-only ./my-project --backend=gemini            # backend for community naming\ngraphify label ./my-project                                    # (re)name communities with the configured backend\ngraphify label ./my-project --backend=openai                   # force a specific backend\n```\n\n\u003e **Community names:** inside an agent (Claude Code, Gemini CLI) the agent names communities itself. When you run the bare CLI, `cluster-only` auto-names them with the configured backend (built-in or custom OpenAI-compatible provider) — pass `--no-label` to keep `Community N`, or run `graphify label` to (re)generate names on demand.\n\n---\n\n## Learn more\n\n- [How it works](docs/how-it-works.md) — the extraction pipeline, community detection, confidence scoring, benchmarks\n- [ARCHITECTURE.md](ARCHITECTURE.md) — module breakdown, how to add a language\n- [Optional integrations](docs/docker-mcp-sqlite.md) — Docker MCP Toolkit + SQLite\n\n---\n\n## Built on graphify — Penpax\n\n[**Penpax**](https://graphifylabs.ai) is the always-on layer built on top of graphify — it applies the same graph approach to your entire working life: meetings, browser history, emails, files, and code, updating continuously in the background.\n\nBuilt for people whose work lives across hundreds of conversations and documents they can never fully reconstruct. No cloud, fully on-device.\n\n**Free trial launching soon.** [Join the waitlist →](https://graphifylabs.ai)\n\n---\n\n\u003cdetails\u003e\n\u003csummary\u003eContributing\u003c/summary\u003e\n\n### Development setup\n\nThe project uses [uv](https://docs.astral.sh/uv/) for dev workflow. Install it once, then:\n\n```bash\ngit clone https://github.com/safishamsi/graphify.git\ncd graphify\ngit checkout v8                        # active development branch\n\n# Create the project venv and install graphify + all extras + the dev group\n# (pytest). uv installs the dev dependency group by default; pass --no-dev to\n# skip it.\nuv sync --all-extras\n```\n\nVerify the editable install:\n```bash\nuv run graphify --version\nuv run python -c \"import graphify; print(graphify.__file__)\"\n```\n\n### Running tests\n\n```bash\nuv run pytest tests/ -q                # run the full suite\nuv run pytest tests/test_extract.py -q # one module\nuv run pytest tests/ -q -k \"python\"    # filter by name\n```\n\n\u003e macOS note: the test suite includes both `sample.f90` and `sample.F90` fixtures. These collide on case-insensitive HFS+ / APFS file systems. Run on Linux or in a Docker container if you need to test both Fortran variants simultaneously.\n\n### Git workflow\n\n- Active development happens on the `v8` branch.\n- Commit style: `fix: \u003cdescription\u003e` / `feat: \u003cdescription\u003e` / `docs: \u003cdescription\u003e`\n- Before opening a PR, run `uv run pytest tests/ -q` and confirm it passes.\n- Add a fixture file to `tests/fixtures/` and tests to `tests/test_languages.py` for any new language extractor.\n\n### What to contribute\n\n**Worked examples** are the most useful contribution. Run `/graphify` on a real corpus, save the output to `worked/{slug}/`, write an honest `review.md` covering what the graph got right and wrong, and open a PR.\n\n**Extraction bugs** — open an issue with the input file, the cache entry (`graphify-out/cache/`), and what was missed or wrong.\n\nSee [ARCHITECTURE.md](ARCHITECTURE.md) for module responsibilities and how to add a language.\n\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsafishamsi%2Fgraphify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsafishamsi%2Fgraphify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsafishamsi%2Fgraphify/lists"}