ask
One-shot prompt to Antigravity (agy) — quick question, returns response verbatim. No file persistence to docs/.
Build a knowledge GRAPH of a folder (code + docs) with Graphify — tree-sitter ASTs + NetworkX + Leiden communities + an interactive graph.html. The code graph is built LOCALLY and costs zero tokens on any assistant; Gemini via agy only names the communities. Then Claude reads
> /plugin marketplace add MarcosNahuel/antigravity-plugin-cc > /plugin install antigravity@marcosnahuel-antigravity
How it fires
How this command gets triggered: by you, by Claude, or both.
/graphContext preview
What this command does when you run it.
Build a knowledge GRAPH of a folder (code + docs) with Graphify — tree-sitter ASTs + NetworkX + Leiden communities + an interactive graph.html. The code graph is built LOCALLY and costs zero tokens on any assistant; Gemini via agy only names the communities. Then Claude reads
description: Build a knowledge GRAPH of a folder (code + docs) with Graphify — tree-sitter ASTs + NetworkX + Leiden communities + an interactive graph.html. The code graph is built LOCALLY and costs zero tokens on any assistant; Gemini via agy only names the communities. Then Claude reads graph.json / GRAPH_REPORT.md to reason instead of re-reading the files. Complements /agy:notebook (graphs = relations/communities; notebook = multimodal docs + exact SQL). First run auto-installs graphify. argument-hint: "<folder>" context: fork allowed-tools: Bash, Read
Turn a folder into a queryable **knowledge graph** using [Graphify](https://github.com/safishamsi/graphify).
Since Graphify 0.9 the code graph is **deterministic and local** — tree-sitter ASTs, no LLM, no API key, no tokens on anyone's budget. The one step that wants a language model is naming the communities, and this plugin hands that to **Gemini via `agy`** (one call), so the host assistant still spends nothing. Claude then reads the small `graph.json` / `GRAPH_REPORT.md` to reason — no re-reading the raw files.
Raw user request: $ARGUMENTS
Parse `$ARGUMENTS`: the leading existing-directory token is the **folder**. Then:
python "${CLAUDE_PLUGIN_ROOT:-$PWD/plugins/antigravity}/scripts/graphify_install.py"installing + signing into `agy` (https://antigravity.google) gets them named.
script, or `"<python>" -m graphify` when the Scripts dir is not on PATH). Use it verbatim below as `$GFY`.
eval "$(python "${CLAUDE_PLUGIN_ROOT:-$PWD/plugins/antigravity}/scripts/graphify_outdir.py" "<FOLDER>")"
$GFY extract "<FOLDER>" --code-onlyAST cache filename crosses Windows' 260-char ceiling, and Graphify then prints "AST extraction failed" + "graph is empty" and still **exits 0**. For deep projects it emits an `export GRAPHIFY_OUT=...` line (relocating the outputs, and telling you where on stderr); for short paths and non-Windows it prints nothing, so the `eval` is a no-op. Keep the same environment for every later phase — the sidecars live wherever this pointed.
do not present an empty graph as a result. Exit code 0 does not mean success here.
python "${CLAUDE_PLUGIN_ROOT:-$PWD/plugins/antigravity}/scripts/graphify_label_agy.py" "<FOLDER>"hub-derived names, and tell the user naming was skipped and why.
$GFY cluster-only "<FOLDER>" # add --no-label if Phase 2 was skipped or FAILED
Outputs (in `$GRAPHIFY_OUT`, or `<FOLDER>/graphify-out/` when it is unset): `graph.json` (node-link), `GRAPH_REPORT.md`, `graph.html` (interactive viz).
`--code-only` indexes code and skips documents on purpose, because documents are the part that genuinely needs a model. If `M+P+Q > 0`, tell the user those N files are NOT in the graph and offer:
1. **Gemini API key** (fastest, parallel): set `GEMINI_API_KEY`, then `$GFY extract "<FOLDER>" --backend gemini`. 2. **Native Antigravity route** (no key): `$GFY install --platform antigravity`, then drive the graphify workflow from inside `agy` — upstream ships first-class Antigravity support, so Gemini does the document pass under your Google sign-in.
Do not silently pretend the documents were indexed.
Read `GRAPH_REPORT.md` and present: the named **communities**, the **god nodes** (most-connected entities), and the **surprising/inferred connections**. Point the user to `graph.html`. To answer a specific question, prefer Graphify's own traversal over re-reading source:
$GFY query "<question>" # BFS over graph.json, token-budgeted $GFY explain "<node>" # plain-language explanation of a node + neighbours $GFY path "<A>" "<B>" # shortest path between two concepts
`/agy:notebook` + `/agy:notebook-query` for multimodal document reading and exact aggregates (amounts in integer cents, timelines). They complement each other.
v8 rewrite moved those files, so the patch stopped applying and `/agy:graph` broke on every fresh install. It is gone: the graph no longer needs an LLM at all, so there is nothing left to patch.
A local NotebookLM, multi-agent deep research, and 21 more commands — for Claude Code, powered by Google Antigravity (agy / Gemini 3.x), the official CLI that replaces the now-deprecated gemini-cli.
Repo: MarcosNahuel/antigravity-plugin-cc
One-shot prompt to Antigravity (agy) — quick question, returns response verbatim. No file persistence to docs/.
Deep, multi-source, fact-checked web research with agy — reach for it when a decision or design depends on getting it right and a single-shot answer is not…
Run a UX/visual design audit of a URL using Antigravity (agy). Captures desktop + mobile screenshots, scores 10 dimensions (hierarchy, typography, color,…
Convert a PDF, docx, image, or other document to clean Markdown using Antigravity (agy) multimodal Gemini. Saves to docs/agy/converted/.
Ask a question about an AUDIO, VIDEO or IMAGE file (or a YouTube/remote URL) with Antigravity (agy / Gemini 3.x multimodal). Beyond transcription — "what…
Show or set the agy (Antigravity / Gemini) model by writing ~/.gemini/antigravity-cli/settings.json — the reliable way to switch models (the unreliable --model…