Antigravity
Delegate a task, investigation, or read-only review to Google's Antigravity CLI (agy, Gemini) as a background job (status, result, cancel, update); delegate…
от melodic-software★ 34 звезды на GitHub
Установить Antigravity в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Antigravity
Arguments. [run <prompt>|review --base <ref>|status [<job>]|result <job>|cancel <job>|update].
A bare request that is not one of the other actions is run.
This skill drives the plugin's external-agents command, which is on the Bash PATH while the
plugin is enabled. The command is the only thing that starts agy; never call agy yourself, and
never look up the plugin's install path. Delegate only when the user asks for Gemini or
Antigravity.
Actions
| Action | Command | Read |
|---|---|---|
run (default): a task (may write) or an investigation (read-only) |
external-agents run antigravity --use task --mode write [--add-dir <dir>]... [--unsandboxed auto] --prompt-file <file>, or --use investigate |
reference/run.md |
review: agy reviews this branch, read-only |
external-agents review antigravity --base <ref> [--brief-file <file>] |
reference/run.md |
status, result, cancel |
external-agents status [<job>], result <job>, cancel <job> |
reference/jobs.md |
update: readiness, CLI facts, version and routing check |
external-agents update antigravity |
reference/update.md |
| Choosing a model or effort | --model, --effort for one run; config keys otherwise |
reference/routing.md |
Reporting a run
- First reply line:
Mode: <mode> (<use>), taken from the job, never from what was asked: themode:line ofexternal-agents status <job>(the job id is thejob: <id>line on stderr). A review is alwaysMode: read-only (review). When the mode ceiling lowered a write request, say so and name the config key the notice names. When the run passed--modelor--effort, add themodel:andeffort:lines from the same status output and why they were chosen. - Then the command's first stdout line, then agy's final message verbatim. That message is agy's answer, not yours: relay it, and add your own reading only below it, labeled as yours.
- Exit codes (
scripts/lib/runner.mjs:12):0ok,1failed,2usage or refused,3blocked by the mode,4agy unavailable or skipped. On1,2or4, report the first line and the CLI's error and stop: never do the task yourself in agy's place. On4, point the user toexternal-agents update antigravity.
Prompts
Write the prompt with the Write tool to a file in a gitignored scratch folder (this repository's
convention, else the session scratchpad) and pass it with --prompt-file; the command keeps its
own copy in the job folder. Name the files and paths agy should read; never paste file contents,
diffs or logs into the prompt. For an investigation, name the paths: a read-only agy run reads
files by path and cannot search or list directories. Unless the hold_rule config key turns it
off (hold_rule.enabled: false), the command opens every prompt with the hold rule (holdRuleFor
in scripts/lib/runner.mjs), naming the labels in
hold_rule.labels. While it is on, never ask agy for what it forbids: hold labels, merges and
review threads stay with you.
Before a write task, decide its fence (details in reference/run.md):
every directory outside the worktree it will write, each passed with --add-dir and named in the
prompt (none when the worktree is enough), and whether it needs a command outside agy's sandbox,
such as network access or a system service. Pass --unsandboxed auto only then, and say why in
the prompt.
Background runs
Run every run and review with the Bash tool's run_in_background: a run can last up to
antigravity.timeout_seconds, which can outlast a foreground Bash call (how long one may wait:
timeout and output limits), and a call cut off by
its own timeout leaves the job without its result. You are notified when it exits, so do not poll. The job id prints only at the end, so while it runs, find it with bare
external-agents status. Stop a run with external-agents cancel <job>, which stops agy's whole
process tree; stopping the background Bash task alone may leave agy running.
Next
/review:council for a ranked, multi-reviewer review of the same change, with agy as one member.
Gotchas
- Write is opt-in. Every use runs read-only until the user sets
antigravity.uses.task.mode: writein<home>/external-agents.yamlor.local.yaml, or once per machine through the plugin optionantigravity_uses_task_mode, which those files override (ADR 0119 decision 2). Pass--mode writewith a task that should change files: under a read-only ceiling it runs read-only and prints a notice naming that key, and an--add-diror--unsandboxedon it is refused. Relay the notice, and never set the key yourself. - **A refused action makes the run
blocked-by-mode, even with a full
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(external-agents run antigravity:*) - 02
Bash(external-agents review antigravity:*) - 03
Bash(external-agents status:*) - 04
Bash(external-agents result:*) - 05
Bash(external-agents cancel:*) - 06
Bash(external-agents update antigravity:*)
Вложенные файлы
- evals/evals.json
- reference/jobs.md
- reference/routing.md
- reference/run.md
- reference/update.md
FAQ
Что делает скилл Antigravity?
Delegate a task, investigation, or read-only review to Google's Antigravity CLI (agy, Gemini) as a background job (status, result, cancel, update); delegate only when asked for Gemini or Antigravity. Use when: 'ask Gemini', 'run this through agy', 'Antigravity review'. Not for a multi-reviewer panel: /review:council.
Как установить скилл Antigravity?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Antigravity запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…