Логотип 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, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

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

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

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем scarletkc. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Antigravity Cli у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/scarletkc/agents/tree/main/skills/antigravity-cli
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
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, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇