delegate

A command that hands a task to an Antigravity runner, another program that carries out coding tasks. It can run the task in the foreground or in the background and lets you choose a model.

In plain words
What is it for?
Use it to send a task to Antigravity, choose a supported model, or run work asynchronously.
Why use it?
It removes the need to manually start and configure a separate task runner. Background mode lets you continue while the delegated task runs.

Command

Part of the agy plugin — 1 skill, 7 commands, 1 agent shipped together

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/simplybychris/antigravity-plugin-cc/delegate
Clone the repo
git clone --depth 1 https://github.com/simplybychris/antigravity-plugin-cc

Or install agy, the plugin that ships this one along with the rest of its 1 skill, 7 commands, 1 agent.

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 original No closer match found 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 3d ago 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 3d ago.

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

Copies of this mod

1 near-identical copy found in the catalogue:

  • delegate — 100% identical, 0 lines differ
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. 3d ago 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 simplybychris/antigravity-plugin-cc (71 stars, last pushed 3mo 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.