Skip to content
Development
Command

/delegate

Hand a task to Antigravity (Gemini 3.5) and get the result back inside Claude Code.

From plugin
idun-group-antigravity-plugin-cc
67 skills1 agent7 commands
Install
$ npx -y skills add Idun-Group/antigravity-plugin-cc --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/delegate

Context preview

What this command does when you run it.

Hand a task to Antigravity (Gemini 3.5) and get the result back inside Claude Code.

Command definition

delegate.md
description: Hand a task to Antigravity (Gemini 3.5) and get the result back inside Claude Code.
argument-hint: "[--background|--wait] [--sandbox|--read-only] [--continue] [--conversation <id>] [--add-dir <path>] [what Antigravity (Gemini 3.5) should build, investigate, or fix]"
allowed-tools: AskUserQuestion, Agent

Hand the user's task to Antigravity (Gemini 3.5) via the `antigravity:antigravity-pair` subagent, and show them exactly what came back.

The user's full request is:

$ARGUMENTS

What to do

1. **If the request has no actual task** (empty, or only execution flags like `--background`/`--wait`/`--sandbox` with nothing to do), ask what Antigravity should work on with `AskUserQuestion`, then continue. Don't guess a task.

2. **Read the execution flags, then strip them from the task text.** `--background` and `--wait` control how *you* run the subagent — they are not part of the natural-language task and must NOT be forwarded as task text:

  • `--background` → invoke the subagent in the **background**.
  • `--wait` or neither flag → invoke the subagent in the **foreground** (default). `--wait` is just the explicit name for the default; it's a Claude-side hint and `agy` never sees it.

Everything else — the task description plus companion flags `--sandbox`, `--read-only`, `--continue`, `--conversation <id>`, `--add-dir <path>` — is forwarded to the subagent verbatim as its prompt.

3. **Invoke the `antigravity:antigravity-pair` subagent inline via the Agent tool** (`subagent_type: "antigravity:antigravity-pair"`), passing the cleaned request as the prompt. Run this command inline — do not call it as a Skill — so the Agent tool stays in scope. The subagent makes a single `delegate` call to the companion and returns its stdout.

4. **Return the subagent's stdout verbatim as your final response.** No summary, no paraphrase, no reformatting — the companion's output is the answer.

Things to surface to the user (only when relevant)

  • `delegate` is **write-capable by default** — Gemini 3.5 can edit files and run commands. For a contained, look-but-don't-touch run, point out `--read-only` (or `--sandbox`).
  • A follow-up like "continue", "resume", or "keep going" on the same thread can pass `--continue` (or `--conversation <id>` to target a specific conversation).
  • If the companion reports that `agy` is missing or you're not signed in, tell the user to run `/antigravity:setup` first.
  • Once the output is back, use the `antigravity-result-handling` skill to interpret it — if Gemini 3.5 edited files, verify the changes with `git diff`; if it returned a quota or auth error, relay it clearly instead of treating the empty result as success.

Built by Idun Labs.

Read more
Ships withidun-group-antigravity-plugin-cc

Drive Google's Antigravity CLI (agy, powered by Gemini 3.5) without leaving Claude Code. A Claude Code plugin that hands work to agy — Google's Antigravity CLI — and brings the result back into your session.

Get the whole plugin, auto-invoked
Stats
6
Stars
0
Views
1
Forks
Maintained
Maintenance
JavaScript
Language
2mo ago
Last commit
2mo ago
Created

Repo: Idun-Group/antigravity-plugin-cc