SkillAgentSearch skills...

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-fast

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

84/100

Supported Platforms

Claude Code
Claude Desktop
Gemini CLI

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.

Substance
30/30
Structure
20/20
Description
15/15
Adoption
12/20
Freshness
15/15

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.

SkillScoreStarsUpdatedFormat
agy-fast (this skill)by INK-Q84680todayMCP Server
claude-memby thedotmack100119.2ktodayCLAUDE.md
Agent-Reachby Panniantong100114.1k1d agoCLAUDE.md
Understand-Anythingby Egonex-AI10093.7ktodayCLAUDE.md
hyperframesby heygen-com10088.6ktodayCLAUDE.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.
<div align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="assets/logo-light.svg" /> <source media="(prefers-color-scheme: light)" srcset="assets/logo-dark.svg" /> <img src="assets/logo.svg" alt="agy-fast logo" width="80" /> </picture>

agy-fast

Latency, Token-Quota & Tool-Call Accelerator Plugin for Google Antigravity

Version GitHub Stars Node.js >= 20 Runtime Dependencies: 0 Platforms MIT License Glama MCP Server HOL Guard Verified

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> |

<p align="center"> <img src="assets/demo-before-after.gif" alt="agy-fast Before vs. After multi-file workflow comparison: 6 turns (48.2s) reduced to 2 turns (14.1s) with 0 disk spills" width="100%" /> </p>

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

[!TIP] Activating in Desktop 2.0 / IDE: Open Customizations → Installed in Antigravity, confirm agy-fast is enabled, and start a new session to load the SessionStart hook and MCP tools.

Launching agy CLI without approval prompts (optional): To auto-approve agy-fast MCP calls and tool permissions without prompting on every step, start the CLI with:

agy --dangerously-skip-permissions

(Official agy flag that auto-approves all tool permission requests without prompting — use only in trusted repositories, or pair with --sandbox.)

<details> <summary>More installation options (local clone, direct git clone, <code>agy</code> CLI, per-repo team install, or ask Antigravity)</summary>

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):

<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="assets/architecture-dark.svg" /> <source media="(prefers-color-scheme: light)" srcset="assets/architecture-light.svg" /> <img alt="agy-fast Hybrid Execution Architecture" src="assets/architecture-light.svg" width="100%" /> </picture> </p>

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.x MCP calls — strict ≤8.8 KB UTF-8 inline cap prevents Antigravity's output.txt spill-to-disk extra turns.
  • +75% effective throughput (35.1 → 61.5 tok/s) and >60s stall turns reduced from 31.2% → 7.4% in a same-session before/after v0.2.1 comparison (99 vs. 374 turns) once multimodal screenshots were isolated out of >180k-token main sessions (0 screenshots loaded in main coding sessions post-upgrade).
  • 0 lazy-load schema-read turns — compact schemas are inlined directly in rules/AGENTS.md.
<details> <summary>Methodology, quota sensitivity &amp; fixed prompt overhead</summary>
  • Logical action normalization: One batch_search with 5 queries counts as 5 actions, one apply_edits touching 6 hunks + verify counts as 7 actions, and one built-in read_file/edit_file/run_command counts 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 ≥150k sessions). 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

View on GitHub
GitHub Stars680
CategoryAI
Updated7h ago
Forks39

Languages

TypeScript

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions