agy-fast
Non-invasive MCP accelerator plugin for Google Antigravity (CLI/Desktop/IDE): cuts LLM turns (-34%), token quota (-31%), and upload traffic (-40%) without affecting native UI or diffs.
Install / Use
claude mcp add INK-Q -- npx -y github:INK-Q/agy-fastIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AI & Machine LearningSupported Platforms
Tags
Our assessment of agy-fast
agy-fast scores 84/100 on our quality scale, 602nd of 961 AI & Machine Learning skills we index.
Its MCP Server is 25 KB long, well organised into 40 sections with 12 code examples: a thorough specification that gives an agent plenty to work with.
It has 680 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated today, so agy-fast is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
agy-fast compared with similar skills
All 4 of these similar skills score higher than agy-fast; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| agy-fast (this skill)by INK-Q | 84 | 680 | today | MCP Server |
| claude-memby thedotmack | 100 | 119.2k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 114.1k | 1d ago | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 93.7k | today | CLAUDE.md |
| hyperframesby heygen-com | 100 | 88.6k | today | CLAUDE.md |
Frequently asked questions
- How do I install agy-fast?
- Run
claude mcp add INK-Q -- npx -y github:INK-Q/agy-fast. The install tabs above show the steps for each supported agent. - Which AI agents does agy-fast work with?
- It is written for Claude Code, Claude Desktop and Gemini CLI, as a MCP Server file. Other agents that read the same format can often use it too.
- Is agy-fast safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is agy-fast still maintained?
- The repository was last updated today, so agy-fast is actively maintained.
Skill content
View source on GitHubagy-fast
Latency, Token-Quota & Tool-Call Accelerator Plugin for Google Antigravity
English · 简体中文 · Quick Start · Benchmarks · MCP Tools · Analysis Report · Changelog
</div> <br />agy-fast is a zero-dependency, policy-compliant local MCP plugin for Google Antigravity (CLI agy, Desktop 2.0, and IDE). It cuts agent wall-clock latency, billable token quota, and upload traffic by consolidating high-frequency searches, multi-language symbol outlines, atomic multi-file edits, and build/test checks into batched local calls—and injecting a sub-50 ms workspace snapshot once per session—without altering Antigravity's native UI, diff viewer, modified-files list, checkpoints, or safety checks.
| LLM Turns / 10 Actions | Est. Billable Quota | Tool-Return Upload | Spills & Native UI Impact |
| :---: | :---: | :---: | :---: |
| -33.7%<br><sub>-38.2% ≥150k ctx · -58.8% subagents</sub> | -31.5%<br><sub>-36.5% ≥150k ctx · -54.0% subagents</sub> | -39.7%<br><sub>-53.7% uncached fresh input</sub> | 0<br><sub>≤8.8 KB inline cap · Native diff & UI untouched</sub> |
Quick Start
Requirements: Node.js >= 20 (no npm install needed — pre-built, unminified zero-dependency ESM bundles are included in dist/). Optional: ripgrep (rg) for faster code search (automatically falls back to pure Node.js when absent).
One-Command Install (Recommended)
Installs runtime files to ~/.gemini/config/plugins/agy-fast, runs agy plugin validate --strict and agy plugin enable agy-fast when agy is installed, and verifies both the MCP server and SessionStart hook live:
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/INK-Q/agy-fast/main/install.sh | sh
Windows (PowerShell):
irm https://raw.githubusercontent.com/INK-Q/agy-fast/main/install.ps1 | iex
<details> <summary>More installation options (local clone, direct git clone, <code>agy</code> CLI, per-repo team install, or ask Antigravity)</summary>[!TIP] Activating in Desktop 2.0 / IDE: Open Customizations → Installed in Antigravity, confirm
agy-fastis enabled, and start a new session to load theSessionStarthook and MCP tools.Launching
agyCLI without approval prompts (optional): To auto-approveagy-fastMCP calls and tool permissions without prompting on every step, start the CLI with:agy --dangerously-skip-permissions(Official
agyflag that auto-approves all tool permission requests without prompting — use only in trusted repositories, or pair with--sandbox.)
Local Clone (Any OS)
git clone https://github.com/INK-Q/agy-fast.git
cd agy-fast
node scripts/install.mjs install
Direct Clone into Antigravity Plugins Directory (No Script Needed)
Antigravity automatically discovers plugins placed in ~/.gemini/config/plugins/:
# macOS / Linux
git clone https://github.com/INK-Q/agy-fast.git ~/.gemini/config/plugins/agy-fast
# Windows (PowerShell)
git clone https://github.com/INK-Q/agy-fast.git "$env:USERPROFILE\.gemini\config\plugins\agy-fast"
Native Antigravity CLI (agy)
agy plugin install /path/to/agy-fast
agy plugin enable agy-fast
Per-Repository Installation (Team Sharing)
Install only for a single repository (writes to <repo>/.agents/plugins/agy-fast):
node scripts/install.mjs install --project /path/to/your-repo
Ask Antigravity Directly
Paste this prompt into Antigravity:
Clone https://github.com/INK-Q/agy-fast.git to ~/.gemini/config/plugins/agy-fast, run `node ~/.gemini/config/plugins/agy-fast/scripts/install.mjs doctor`, and enable the agy-fast plugin.
</details>
How It Works
Empirical analysis of 55 real Antigravity sessions (8,446 LLM turns, 17,302 tool calls, 55.25 hours of single-agent active time; see docs/ANALYSIS_REPORT.md) revealed that slow tasks are rarely limited by token generation speed. Instead, four structural bottlenecks dominate wall-clock time:
| Measured Bottleneck | Empirical Cost | How agy-fast Eliminates It |
| :--- | :--- | :--- |
| Per-turn TTFT floor | ~6.1 s median TTFT (79% of a median turn; 68.1% of turns emit <700 tokens) | Batches an average of 4.89 logical actions per MCP call (5.95× in subagents), cutting unnecessary round-trip turns (~6–8 s each) |
| Serial checks & fragmented ops | 52.5% of edit_file calls are same-file splits; 46.3% of run_command calls are read-only searches (~2.0 s median vs 2.1 ms local rg) | Consolidates up to 20 searches, 50 file edits + verify, or 12 build/test commands inside one persistent local Stdio MCP server |
| Cold-start exploration | First 3 turns average 49.2 seconds inspecting directory layout, git state, and scripts | SessionStart hook injects a ≤1.5 KB snapshot (git state, 2-level tree, multi-module scripts) once in ~35–50 ms |
| Context bloat & cache decay | read_file accounts for 81.9% of tool-returned bytes; >60 s gaps spike cache misses from 1.4% to 15.9%–93.8% | Symbol outlines first + parallel targeted read_file, hard ≤8.8 KB UTF-8 inline cap (zero output.txt disk spills), and multimodal isolation rules |
Hybrid Execution Architecture
agy-fast never replaces fast native reads. It combines batched local MCP tools with Antigravity's locally allowlisted read_file (~7 ms, 46 KB/call inline, zero remote check):
Plugin Components
| Component | Path | Role |
| :--- | :--- | :--- |
| Plugin Manifest | plugin.json | Standard Antigravity manifest; passes agy plugin validate --strict |
| Local Stdio MCP Server | mcp_config.json → dist/mcp-server.mjs | Persistent local process exposing 5 eagerly loaded composite tools ("eager": true) under agy-fast_fast |
| Startup Snapshot Hook | hooks.json → dist/session-start.mjs | Runs once on SessionStart (~35–50 ms, 250 ms scan circuit-breaker + OS/home-dir skip list), emitting a ≤1.5 KB workspace snapshot |
| Routing & Hygiene Rules | rules/AGENTS.md | Compact (~6.5 KB) routing guide with inlined schemas (supports user-owned rules/AGENTS.local.md with trigger: always_on frontmatter, preserved across updates) |
| Background Auto-Updater | dist/updater.mjs | Detached 4 h release checker with staged MCP smoke verification |
| Offline Benchmark CLI | dist/benchmark.mjs | Local transcript.jsonl analyzer and before/after A/B comparator |
Real-World Benchmarks
Across 10 days of sanitized real coding transcripts (14 baseline main sessions / 5,771 turns vs. 7 agy-fast main sessions / 901 turns, plus 104 baseline vs. 4 agy-fast subagent sessions; all repository names, paths, and identifiers stripped), each agy-fast call batched an average of 4.89 logical operations (5.95× in subagents):
| Metric (normalized per logical action) | Main Sessions (Baseline) | Main Sessions (agy-fast) | Delta | ≥150k Long Context | Subagents |
| :--- | ---: | ---: | ---: | ---: | ---: |
| LLM turns / 10 actions | 5.23 | 3.47 | -33.7% | -38.2% | -58.8% |
| Upstream requests / 10 actions (LLM + remote checks) | 9.82 | 6.05 | -38.4% | -42.6% | -62.0% |
| Prompt Cache hit rate (miss spikes) | 89.6% (7.5%) | 94.0% (4.8%) | +4.4 pp | 95.0% (3.3%) | 92.4% (2.8%) |
| Uncached fresh input / action | 10,413 tok | 4,822 tok | -53.7% | -61.5% | -51.3% |
| Est. billable quota / action (1 : 0.1 : 5) | 22,458 eq | 15,387 eq | -31.5% | -36.5% | -54.0% |
| Tool-return upload / action (actual local bytes) | 5.06 KB | 3.05 KB | -39.7% | -42.6% | -13.3% |
| Incremental text upload / action (fresh input est.) | 35.6 KB | 16.5 KB | -53.7% | -61.6% | -51.3% |
| Full-context text upload / action (stateless resend est.) | 342.2 KB | 276.2 KB | -19.3% | -21.9% | -58.9% |
Production hardening highlights (v0.2.x):
- 0 disk spills across 134 consecutive
v0.2.xMCP calls — strict≤8.8 KBUTF-8 inline cap prevents Antigravity'soutput.txtspill-to-disk extra turns. - +75% effective throughput (
35.1 → 61.5 tok/s) and>60sstall turns reduced from31.2% → 7.4%in a same-session before/afterv0.2.1comparison (99 vs. 374 turns) once multimodal screenshots were isolated out of>180k-token main sessions (0screenshots loaded in main coding sessions post-upgrade). - 0 lazy-load schema-read turns — compact schemas are inlined directly in
rules/AGENTS.md.
- Logical action normalization: One
batch_searchwith 5 queries counts as 5 actions, oneapply_editstouching 6 hunks +verifycounts as 7 actions, and one built-inread_file/edit_file/run_commandcounts as 1 action—ensuring apples-to-apples comparison per unit of work rather than raw tool-call counts. - Quota weighting sensitivity: Standard weighting (
1.0×uncached input,0.1×cache read,5.0×output) yields -31.5% on main sessions (-36.5% on≥150ksessions). Results hold under conservative cache discounts (1 : 0.25 : 4→ -25.8%) and high-output weighting (`1
Truncated for display — read the full file on GitHub.
Related Skills
claude-mem
119.2kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
114.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Understand-Anything
93.7kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
hyperframes
88.6kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
