К основному содержанию
скилл CX Codex

antigravity-cli — скилл для Claude Code: делегирование задач

Скилл передаёт Antigravity CLI отдельные задачи на исследование, проверку или правки и помогает следить за их выполнением. Пригодится, когда результат другого агента можно проверить.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add scarletkc/agents --skill antigravity-cli -a claude-code
Открыть на GitHub

Что делает antigravity-cli

Скилл запускает установленный и авторизованный agy как внешнего агента. Вспомогательный скрипт возвращает ID задачи, пока фоновый процесс работает; затем можно запросить статус, дождаться результата, отправить уточнение или отменить задачу. Диалог Antigravity сохраняется для продолжения.

Для запуска нужен Python 3.12+; скрипт использует стандартную библиотеку. Также должны быть настроены установка и авторизация Antigravity CLI. Скилл помогает отследить ошибки инструментов и отказ в разрешениях, но завершённый ответ сам по себе не подтверждает, что правки верны: проверьте diff и файлы. Отмена останавливает процесс, но не отменяет уже сделанные изменения.

Какие задачи решает

  • передать Antigravity CLI отдельную задачу на исследование
  • проверить статус фоновой задачи и получить её результат
  • продолжить разговор с агентом с уточняющими инструкциями
  • остановить задачу и изучить частичный результат

Примеры запросов агенту

  • Поручи Antigravity проверить обработку ошибок в src/ и сообщить, какие файлы нужно изменить.
  • Запусти проверку этой функции через Antigravity, дождись результата и проверь diff.
  • Передай Antigravity уточнение: внеси правку только в src/parser.py, затем проверь изменённые файлы.

Как установить antigravity-cli

1Через Skills CLI (Vercel)

npx skills add scarletkc/agents --skill antigravity-cli -a claude-code

2Вручную: положить файлы

~/.claude/skills/antigravity-cli/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/antigravity-cli/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о antigravity-cli

Как установить antigravity-cli в Claude Code?

Выполните npx skills add scarletkc/agents --skill antigravity-cli -a claude-code. Файл скилла появится по пути ~/.claude/skills/antigravity-cli/SKILL.md.

Что делает antigravity-cli?

Скилл позволяет делегировать задачу внешнему агенту Antigravity CLI и следить за её ходом. Он поддерживает уточнения в том же разговоре и отмену задачи.

Что нужно для работы antigravity-cli?

Установленный и авторизованный Antigravity CLI и Python 3.12+ для запуска скрипта. После выполнения нужно отдельно проверить diff и выходные файлы: статус завершения не подтверждает правильность результата.

Исходный текст

SKILL.md · Apache-2.0
---
name: antigravity-cli
description: "Delegate bounded investigation, review, or implementation tasks to Antigravity CLI from a supervising agent. Includes a background client for task progress, follow-up prompts, conversation recovery, cancellation, and visible failures."
license: Apache-2.0
metadata:
  author: scarletkc
  source: https://github.com/scarletkc/agents
  summary: "Delegate work to Antigravity CLI, inspect progress and tool failures, and continue the same conversation across follow-up tasks."
---

# Antigravity CLI

Use the installed `agy` CLI as an external coding agent. The bundled client
returns a task ID immediately and keeps a background worker available for
follow-ups. It runs each turn with official streaming JSON input/output and
resumes the exact Antigravity conversation on the next turn. Waiting for the
process and stderr to finish makes permission denials and partial-output
timeouts visible; each follow-up incurs CLI startup time.

Delegate when the user requests Antigravity or another agent can add value
that you can verify. Keep routine work with the supervising agent when the
extra startup and review time would outweigh that benefit.

Antigravity CLI must already be installed and authenticated. Run
[scripts/agy.py](scripts/agy.py) with the project's Python 3.12+ interpreter.
The helper uses only the standard library; when the project has no Python
environment, `uv run --python 3.12 <script> ...` also works. Resolve the
script relative to this skill, not the project receiving the task.

## Assign and follow up

Provide the goal, absolute working directory, relevant files and evidence,
scope, and completion check. Antigravity does not inherit the supervising
agent's conversation. Use a UTF-8 prompt file for substantial instructions:

```sh
python <script> start --cwd <absolute-project-path> --prompt-file <task-file>
python <script> wait <task_id> --timeout 30
python <script> status <task_id>
python <script> reply <task_id> --prompt-file <follow-up-file>
python <script> cancel <task_id>
python <script> close <task_id>
```

Keep independent work with the supervising agent while the task runs.
`wait` timing out only returns a snapshot; it does not cancel the task.
`reply` is accepted after the current turn finishes. Retain the `task_id`
and close the worker when no more follow-ups are needed.

The helper supplies both the process working directory and `--add-dir`.
For concurrent edits to overlapping files, use separate worktrees and pass
their paths as `--cwd`; the helper does not create worktrees. Check actual
output paths, since Antigravity can also write to its conversation artifacts.

## Configuration and permissions

Inherit Antigravity's authentication, model, and permission configuration.
Subscription and API authentication remain Antigravity's responsibility.
Do not switch providers, change authentication, or rewrite its global
settings to conceal a failure.

`start --model`, `--effort`, `--mode`, and `--sandbox` are task-specific
overrides. Honor the user's model or effort choice. Otherwise choose effort
according to complexity, error cost, and ease of verification; omit the
override when the model's support or the appropriate choice is uncertain.
Discover models with `agy --output-format json models`.

Match permissions to the authorized work. `--mode plan` is a planning
instruction, not enforced read-only access: headless plan review can proceed
automatically. The supervising agent's sandbox does not configure AGY's.
Do not promise isolation without checking the target platform's support.

For authorized workspace edits, `--mode accept-edits` allows file changes
without interactive diff review; shell commands still follow tool permission
rules. If a file tool rejects the target as an invalid artifact path, ask
Antigravity to write a regular workspace file instead of an artifact. Inspect
that tool error before attempting a shell workaround or expanding permissions.

Headless AGY cannot accept programmatic approval responses. When the helper
reports `blocked`, inspect `denied_actions` and the partial result. If the
task requires those tools, use scoped Antigravity permission rules or an
interactive AGY session to establish the required permissions, following the
original authorization. Do not repeatedly submit a blocked operation with
unchanged permissions. The helper exposes `--dangerously-skip-permissions`
only as an explicit override; do not use it merely to avoid an approval.
Scoped rules limit which actions match; they are stored in Antigravity's
global settings, not as temporary grants managed by this helper.

## Check results and recover

Read `status`, `closed`, `stop_reason`, `error`, `denied_actions`, and
`tool_errors` together. `completed` means the turn returned a response, not
that its claims or edits were verified. Inspect the diff, output files, and
relevant checks. AGY may recover from an individual tool error, so tool
errors remain visible even when the final turn completes.

The helper does not equate native `SUCCESS` or exit code 0 with completion.
It checks permission denials and stderr timeout diagnostics, and enforces
its own startup, turn, and shutdown deadlines.

`cancel` stops that task's AGY process tree and closes its worker. It does
not undo edits or external actions already performed. Read partial results
before retrying. To continue a closed conversation, explicitly start a new
task with its returned `session_id`:

```sh
python <script> start --cwd <same-project-path> --conversation <session_id> --prompt-file <follow-up-file>
```

An open task can use `reply` after a provider failure. This is an explicit
new turn in the same conversation; there is no automatic retry. If startup
failed before a session ID was obtained, resolve the error and start again.

If installation, authentication, network, permissions, or execution blocks
the task, tell the user what failed and what remains incomplete. Do not
silently replace the requested Antigravity contribution with your own work
or another provider. Committing, publishing, and other external actions
retain the authorization boundaries of the original assignment.

Use `<script> --help` for commands and
[references/client.md](references/client.md) for state fields, timeouts,
storage, and diagnostics.

© scarletkc · Apache-2.0 · scarletkc/agents

Похожие скиллы

Каталог скиллов SKILL.md →
find-skills vercel-labs Ищет и устанавливает готовые скиллы для ИИ-агентов через каталог skills.sh. Пригодится, когда для рабочей задачи нужен специализированный воркфлоу. CX Codex +1 4 000 000установок frontend-design официальный anthropics Скилл задаёт осмысленное визуальное направление для новых интерфейсов и редизайна. Подойдёт, когда стандартный шаблонный UI не устраивает. 1 025 790установок grill-me Matt Pocock Скилл проводит жёсткое интервью по плану или дизайну, чтобы найти пробелы и уточнить решения. Подойдёт перед началом разработки. 1 424 476установок grill-with-docs Matt Pocock Скилл проводит жёсткое интервью по плану или дизайну и по ходу создаёт ADR и глоссарий. Подойдёт перед началом сложной разработки. 1 219 756установок improve-codebase-architecture Matt Pocock Скилл ищет архитектурные узкие места в кодовой базе и показывает варианты углубления модулей в HTML-отчёте. Подойдёт для ревью перед рефакторингом. 1 163 035установок design-taste-frontend Leonxlnx Скилл задаёт арт-дирекцию для публичных страниц и рабочих экранов, а затем проверяет результат в браузере по скриншотам. Нужен, когда интерфейс выглядит шаблонным или недоработанным. CX Codex +1 678 700установок

Из того же набора10

ux-writing Скилл задаёт правила для пользовательских строк и документации: вывод CLI, ошибки, справка, README, комментарии и заголовки. Пригодится, когда правишь копирайт или структуру доков. CX Codex +1 ★ 224звёзд репо scoped-change Удерживает правки агента строго в границах задачи. Защищает репозиторий от лишних рефакторингов и забытых мест вызова. CX Codex +1 ★ 224звёзд репо product-writing Скилл помогает писать и проверять интерфейсные тексты и техническую документацию. Пригодится для сообщений об ошибках, инструкций и описания поведения продукта. CX Codex +1 ★ 224звёзд репо marketing-copy Пишет посты о запуске, описания в сторах, заголовки лендингов и анонсы. Следит, чтобы в публичный текст не попали ключи, закрытые ссылки и невыпущенные фичи. CX Codex +1 ★ 224звёзд репо grok-cli Запускает Grok Build как отдельного агента для проверки, ревью или кодинга параллельно с ведущей моделью. Управляет фоновой сессией через ACP-клиент. CX Codex +1 ★ 224звёзд репо devin-cli Передаёт ограниченные задачи локальному Devin CLI через ACP и возвращает отчёт о ходе работы. Подходит для параллельной реализации, переноса и ревью. CX Codex +1 ★ 224звёзд репо codex-cli Скилл объясняет, когда передавать работу в Codex CLI и как подобрать модель, усилие и права песочницы. Для агента-супервизора, а не для самого Codex. CX Codex +1 ★ 224звёзд репо ask-to-plan Превращает смутную идею в чёткий план с помощью встроенных кнопок агента. Задаёт по одному вопросу за шаг, чтобы согласовать цели и стек до написания кода. CX Codex +1 ★ 224звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой