Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/yuting0624/antigravity-for-claude-codeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/yuting0624/antigravity-for-claude-code/delegate)<a href="https://agentmods.dev/commands/yuting0624/antigravity-for-claude-code/delegate"><img src="https://agentmods.dev/badge/commands/yuting0624/antigravity-for-claude-code/delegate/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/yuting0624/antigravity-for-claude-code/delegate"><img src="https://agentmods.dev/badge/commands/yuting0624/antigravity-for-claude-code/delegate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00024 | $0.01243 |
| Opus 5.5 | $0.00010 | $0.00497 |
| Sonnet 5.5 | $0.00005 | $0.00249 |
| Haiku 4.5 | $0.00002 | $0.00124 |
Grade A, and why
delegate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Delegate the following task to Antigravity (agy / Gemini) via the plugin wrapper,
following the antigravity skill's Cost discipline and Verification gates.
Task: $ARGUMENTS
Do this:
- Pick a tier (
flashdefault = Gemini 4 Hydrogen High;flash-lo= Gemini 4 Hydrogen Low;pro= Gemini 4 Neon High, plus aliasesneon/carbon/argon/flash-38; auto-falls-back on plans without Neon/Carbon/Hydrogen). If the task needs the repo, add--dir <repo-root>(or--dir .inside theantigravity-delegatesubagent, whose gate confines-d/--dir/--add-dirtocwd) so agy reads the real files (don't paste them into context).- Read/analysis tasks: pass
--read-only(and--allow-urlif reading web URLs) soagy 1.5.7+defaultAutomode cannot edit files or run shell commands (--read-only/--allow-urlconflicts with--yolo,--settings, and--mode accept-edits|auto— exit1). - Workspace file-edit tasks (no terminal needed): on
agy 1.5.7+,--mode accept-editsauto-approveswrite_fileinside--dir/--add-dirwhile denying every shell command (run_command) — so prompts using--mode accept-editswithout--yolomust instructagyto edit files only and not run shell or test commands (or use awrite_file(<dir>)entry inpermissions.allowin~/.gemini/antigravity-cli/settings.json). - Full agentic tasks (running tests/shell commands, Vertex AI Search): pass
--yolo, which auto-approves all tools unless blocked by enterprise admin policy. Run write tasks on a dedicated branch —--sandboxis not containment, it was measured doing nothing under--yolo— and verify files actually changed withgit status. Claude Code may prompt for or block--dangerously-skip-permissions— approve it or pre-allow it; non-interactive (claude -p) without that permission can't run--yolovia agy. (If the wrapper returns exit1, you passed invalid or conflicting wrapper flags — fix the flags rather than retrying; exit15means agy denied a tool interaction — covering both the soft deny back since agy 1.1.20 and 1.1.13's hard error — and names the refused tool fromdenied_actionsor stderr; exit16CLI_FLAG_ERRORmeansagyrejected a CLI flag or option value.)
- Read/analysis tasks: pass
- Run synchronously (you may be headless — do not background-and-wait):
agy-delegate --tier <tier> [--read-only | --mode accept-edits | --yolo] [--dir .] [--digest] "<task>"For read/analysis tasks, add--digest— it appends a digest-only output contract so agy returns compact bullets instead of raw content. - Ingest only the result/digest — do NOT re-read the files agy already handled
(keeps your context lean; that's where the cost savings come from). If the wrapper
prints a "looks like a raw dump" note on stderr, do NOT ingest the raw output —
re-run with
--digestor ask agy to summarize it first. - Verify: actually run/check the output; never trust a self-reported "done".
On any write delegation — including empty output (exit
3), timeout (exit12), tool denial, or a summary from theantigravity-delegatesubagent (which cannot rungit) — always rungit statusandgit diffyourself before concluding nothing changed. Report what you delegated and how you verified it.
Remember the break-even: only delegate if the offloaded volume clearly exceeds the spec + round-trip + verification overhead. Tiny tasks are cheaper to just do yourself.
Long task, interactive session? A sync delegation can hit Claude Code's ~2-min default / 10-min max
Bash-tool limit (notably write runs now default --print-timeout to 25m) — start long interactive writes in the background via agy-job start (or raise Bash's timeout up to 600000 ms) and keep working (this also keeps the prompt
cache warm and frees you to do other turns):
ID=$(agy-job start --tier pro --dir . "<task>")
then check /antigravity:status and collect with /antigravity:result <id> (check the exit code of agy-job start first: when AGY_BLOCK_CONSUMER_OAUTH=1 is active and high-confidence Consumer OAuth is detected, it exits 11 synchronously with an empty ID and AGY_SIGNAL CONSUMER_OAUTH_BLOCKED on stderr rather than creating a job).
(Don't do this when YOU are headless claude -p — one-shot, no later turn to collect;
delegate synchronously there.)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed b1d8088f22a0
- yesterday Changed 4bf8a7110659
- 7d ago Changed 61cbe33a7181
- 8d ago Changed 4943f55396fa
- 16d ago Changed · -10 lines f97ea20f395f
- 2mo ago Changed · +1 lines b75f3640933f
- 3mo ago Changed · +1 lines dd49235009e3
- 3mo ago First seen · 53 lines · 24 tokens per session scan A 103bf629c50c
delegate is a command published in the GitHub repository yuting0624/antigravity-for-claude-code (551 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 1,243 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
delegate compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| delegateyuting0624/antigravity-for-claude-code | Command | 551 | yesterday | MIT | A | 24 | Claude Code |
| agydavdittrich/delegate-agy | Command | 20 | 2d ago | none | A | 26 | Claude Code |
| setup-video-visionjordanrendric/claude-video-vision | Command | 1.6k | 1mo ago | MIT | A | 20 | Claude Code |
| reportMarcosNahuel/antigravity-plugin-cc | Command | 34 | 1mo ago | MIT | A | 38 | Claude Code |
| notebook-queryMarcosNahuel/antigravity-plugin-cc | Command | 34 | 1mo ago | MIT | A | 74 | Claude Code |
| modelMarcosNahuel/antigravity-plugin-cc | Command | 34 | 1mo ago | MIT | A | 59 | Claude Code |
| recordMarcosNahuel/antigravity-plugin-cc | Command | 34 | 1mo ago | MIT | A | 38 | Claude Code |