Логотип Antigravity Cli

Antigravity Cli

Сообщество
scarletkc
antigravity-cli

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.

Обзор

Издательscarletkc
Репозиторийagents
Название навыкаantigravity-cli
Звёзды
225
Форки
12
Встроенные файлы
3
ЛицензияApache-2.0
Ссылки
  • Инструкции в формате Markdown

    Файл SKILL.md, который модель загружает по необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 3

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Опубликовано на GitHub: scarletkc. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Antigravity Cli в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/scarletkc/agents/tree/main/skills/antigravity-cli
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Новый навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scarletkc/agents.git /tmp/agents
mkdir -p .claude/skills
cp -r /tmp/agents/skills/antigravity-cli .claude/skills/antigravity-cli
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Antigravity Cli в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Antigravity Cli, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Antigravity Cli не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими API-ключами.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

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 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 for state fields, timeouts, storage, and diagnostics.

Встроенные файлы

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Antigravity Cli?

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.

Зачем использовать Antigravity Cli в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Antigravity Cli — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Antigravity Cli в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/scarletkc/agents/tree/main/skills/antigravity-cli. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Antigravity Cli?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Antigravity Cli?

С любым количеством. Если модель поддерживает навыки, вы можете использовать с ней Antigravity Cli: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama и другие — всё в TypingMind с вашими собственными ключами API.

Бесплатен ли навык ИИ Antigravity Cli?

Да. Навык опубликован на GitHub автором scarletkc по лицензии Apache-2.0. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это многоразовый набор инструкций, который объясняет модели ИИ, как выполнять конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты для вызова — код, который где-то выполняется и возвращает результат. Навык ИИ вместо этого даёт модели знания и порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇