delegate

A command that sends a task to an Antigravity runner, which is another automated coding agent. It can run the task in the foreground or in the background and can pass a chosen model.

In plain words
What is it for?
Use it to delegate coding tasks, choose a runner model, or start delegated work asynchronously.
Why use it?
It lets users hand off work without manually starting and configuring another runner each time. Background execution allows the main session to continue while the task runs.

Command

Install

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.

agentmods
npx agentmods add commands/limeflash/antigravity-plugin-cc/delegate
Clone the repo
git clone --depth 1 https://github.com/limeflash/antigravity-plugin-cc
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 344 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00021 $0.00344
Opus 5 $0.00010 $0.00172
Sonnet 5 $0.00004 $0.00069
Haiku 4.5 $0.00002 $0.00034

Measured yesterday against content hash 6ca096910e1d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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

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.

Origin

This is a copy

100% identical to delegate — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/agy/commands/delegate.md · 35 lines

What it actually says

Hand the user's task to the agy:runner subagent (subagent_type: "agy:runner").

Raw user request: $ARGUMENTS

Routing rules

  • If the request contains --background, launch the subagent with run_in_background: true. Strip the flag from the forwarded task text.
  • Otherwise run the subagent in the foreground.
  • If the request contains --model <alias>, forward it to the subagent so it can be appended to the wrapper call as --model <alias> (placed before the prompt argument). Strip it from the task text.
  • If no model is given, the wrapper uses whatever the TUI is currently set to (stored in ~/.gemini/antigravity-cli/settings.json).

Aliases for <alias>: flash-low, flash-medium, flash, pro-low, pro, sonnet, opus, gpt-oss. Canonical TUI strings (e.g. "Claude Opus 4.6 (Thinking)") are also accepted. Run /agy:help for the full table.

Response style

The subagent is a thin wrapper around agy. Return its output verbatim — no extra commentary before or after.

If the user did not supply a task, ask what they would like Antigravity to do.

Changes

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.

  1. yesterday First seen · 35 lines · 21 tokens per session scan A 6ca096910e1d

Subscribe to this mod's changes

delegate is a command published in the GitHub repository limeflash/antigravity-plugin-cc (2 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 344 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to delegate, differing in 0 lines, and is treated as a copy.