by oil-oil
让 Antigravity 少走回合、少等审查的本地规则插件(非官方)
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/oil-oil/agy-fast-ioGuides for using ai agents skills like agy-fast-io.
See how agy-fast-io compares with popular alternatives.
fast-io 是一个 Antigravity 插件,里面只有一份规则(plugin/rules/AGENTS.md),没有工具、Hook,也没有 MCP。它改的是 Agent 干活的习惯:怎么找代码、一次读多少、命令怎么写、回答写多长。同样的任务,模型回合更少,桌面版要等的云端审查也更少。
这是个人做的非官方插件,和 Google 没有关系。
我在一个有 2,000 多个 Swift 文件的真实项目上做了对照测试:同一时段、同一个模型,一组不加规则,一组加规则,每个任务跑 3 到 6 次,再按事先定好的标准答案自动评分。
大模型每次的表现波动很大,同一个任务最快和最慢能差一倍,所以这些数字只能当量级看。
Antigravity 慢,主要不是读文件本身慢。我翻了自己几个星期的会话记录和桌面版日志,时间大多花在下面几处。
模型回合太多。 模型每想一轮要 10 到 20 秒,工具执行本身只占很小一部分,所以多走一轮就多等一轮。可 Agent 习惯读一个文件、想一下、再读下一个;我的记录里,读文件的回合有将近一半只读了一个文件。它还常常只读几十行,不够再回头补,一个任务就这样拖出十几轮。
没有原生的搜索工具。 在桌面版 2.0 里,Agent 能用来看代码的只有 read_file 和 run_command。要搜代码只能跑 rg、find 这样的命令,而这些命令正好会撞上下一条。
桌面版的云端审查。 每个工具调用执行之前,桌面版会先拿内置的白名单检查一遍。grep、cat、ls、git log 这类只读命令直接放行;名单外的命令(包括 rg、find,以及任何带 &&、;、重定向的命令)和每一次改文件,都要先送云端小模型审查,每次 2 到 3 秒,可疑或超时还会再审一次。审查和执行是排队进行的,审完才能执行。装插件之前,我的会话里大约 45% 的工具调用都要送审。我没找到能关掉这层审查的设置;agy 命令行版本没有这层审查。
最后的回答太长。 测试里问“这段机制是怎么工作的”这类问题时,Agent 最后一轮写了一两万字,光这一轮就要一两分钟,占了整个任务时间的六七成。
另外两点也值得知道:
read_file 800 行上限,其实影响不大。我的记录里,被截断的读取只占 2% 左右。图里的 4 个编号,对应规则里的 4 件事:
grep -rn 拿到所有命中的文件和行号,再在同一轮里并行读要看的位置。一次读够 150 到 200 行,300 行以内的文件整份读,不一段一段往回补。grep、git ls-files、ls 这些免审命令找代码,不写 rg、find、cd … &&;glob 加引号,git 参数用长写法。python3、npm、构建、测试这类命令每次都要审。互不依赖的几步用 && 串成一次,只审一次,也少等一轮。另外还有几条小规则:小改动用 edit_file,同一文件里相邻的几处合成一次改;小任务不写计划文档。完整规则不到 70 行,可以直接看 AGENTS.md。
需要 Antigravity 桌面版或 agy 命令行。
git clone https://github.com/oil-oil/agy-fast-io.git
agy plugin install agy-fast-io/plugin
桌面版不用重启,新开的会话就会用上。没有 agy 命令行的话,也可以把 plugin 目录直接复制过去:
cp -R agy-fast-io/plugin ~/.gemini/config/plugins/fast-io
装好后新开一个会话,让它找一段代码。如果它先跑一条 grep -rn,再在同一轮里读好几个文件,就说明规则生效了。桌面版的 Plugins 面板里也能看到 Fast IO;没出现的话,重启一次 Antigravity。
想暂时关掉或重新打开:
agy plugin disable fast-io
agy plugin enable fast-io
git 查看命令用 && 串起来,反而触发了审查。edit_file、write_file 都要审,改动多的任务提速会少一些。grep -rn 不会跳过 .gitignore 里的目录。 规则要求写明 src、Sources 这类源码目录;如果模型对含大量构建产物的根目录递归搜索,会比 rg 慢很多。agy-fast-io is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by oil-oil. 让 Antigravity 少走回合、少等审查的本地规则插件(非官方). It has 68 GitHub stars.
agy-fast-io's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/oil-oil/agy-fast-io" and add it to your Claude Code skills directory (see the Installation section above).
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh agy-fast-io against similar tools.
No comments yet. Be the first to share your thoughts!