antigravity-cli
O que ela faz
É um guia para executar a ferramenta de linha de comando agy, com passos para instalá-la, gerenciar plugins e resolver problemas de login ou de sandbox. É indicado para quem usa o Antigravity pelo terminal.
Quando usar
- ✓Quando você precisa instalar ou atualizar a ferramenta agy.
- ✓Quando quer executar o agy como um comando avulso, sem uma sessão interativa.
- ✓Quando o login, o sandbox ou as permissões do Antigravity não estão funcionando.
Link da skill
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/autonomous-ai-agents/antigravity-cli/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Me ajude a instalar a CLI do Antigravity e confira se ela roda no meu computador.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente executa comandos agy no terminal e lê as configurações e os registros para encontrar problemas. Ele separa os comandos de shell dos comandos que só funcionam dentro de uma sessão aberta.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Antigravity CLI (agy)
Operator guide for the Antigravity CLI, invoked as agy. Run all agy
commands through the Hermes terminal tool; inspect its config and logs with
read_file. This skill is reference + procedure — it does not wrap a network
API, so there is nothing to authenticate from Hermes itself.
When to Use
- Installing, updating, or smoke-testing the
agybinary - Driving non-interactive
agy --print/agy -pone-shots - Debugging Antigravity auth, sandbox, permissions, or plugin state
- Reading Antigravity settings, keybindings, conversations, or logs
Mental model
Antigravity has two layers — keep them distinct or the guidance will be wrong:
- Shell wrapper commands —
agy help,agy install,agy plugin,agy update,agy changelog. Run these through theterminaltool. - Interactive in-session slash commands —
/config,/permissions,/skills,/agents, etc. These only exist inside a runningagyTUI session, not on the shell wrapper.
agy help shows the shell wrapper surface, NOT the in-session slash commands.
Prerequisites
- The
agybinary on PATH. Verify through theterminaltool:command -v agy && agy --version. - No env vars or API keys required by this skill — Antigravity manages its own auth via the OS keyring / browser sign-in (see Authentication below).
How to Run
Invoke every agy command through the terminal tool. Examples:
terminal(command="agy --version")
terminal(command="agy help")
terminal(command="agy plugin list")
terminal(command="agy --print 'Summarize the repo in 3 bullets'", workdir="/path/to/project")
For an interactive multi-turn TUI session, launch agy with pty=true (and
tmux for capture/monitoring), the same pattern the codex / claude-code
skills use. For one-shot smoke tests and scripted prompts, prefer
agy --print (non-interactive).
To inspect Antigravity's own files, use read_file on the paths under Core
paths below — do not cat them through the terminal.
Delegation patterns
agy is a coding-agent backend in the same family as codex / claude-code,
so the same delegation shapes apply. Use these when handing real work (features,
fixes, reviews, second opinions) to Antigravity rather than just smoke-testing.
One-shot (preferred for scripted prompts and second opinions)
terminal(command="agy -p 'Review this diff for bugs and security issues' --model 'Gemini 3.1 Pro (High)'", workdir="/path/to/repo", timeout=300)
-p is non-interactive: it runs the prompt and exits. Pick the engine with
--model (run agy models for the exact display strings, e.g.
'Gemini 3.1 Pro (High)', 'Claude Opus 4.6 (Thinking)'). Add extra context
roots with repeatable --add-dir.
Long / bounded runs (tests, builds, multi-file changes)
Background it and get notified on completion, the same as the codex skill:
terminal(command="agy -p 'Implement the change described in TASK.md and run the tests' --dangerously-skip-permissions", workdir="/path/to/repo", background=true, notify_on_complete=true)
# then: process(action="poll"/"log"/"wait", session_id=<id>)
Interactive multi-turn (PTY + tmux)
For a conversational session, launch agy -i (or bare agy) under pty=true
with tmux for capture-pane / send-keys, exactly the pattern documented in
the codex / claude-code skills. Resume later with --continue / -c or a
specific --conversation <id>.
Parallel instances (batch sub-issue / worktree fan-out)
Create one git worktree per task and launch an independent agy -p in each
(background), then collect results — same worktree fan-out the codex skill
uses for batch issue fixing. Bound concurrency to what the machine and your
review capacity can absorb.
Output + bounding caveat (differs from Claude Code)
agy -preturns plain text — there is no--output-format jsonand no result envelope withsession_id/ cost / turn count. Parse stdout directly; don't expect a JSON object.- There is no
--max-turns. A print run is bounded by--print-timeout(default5m). Raise it for long tasks:--print-timeout 20m. Pair with theterminaltimeout=so the outer call doesn't cut the run short.
Orchestration boundary
Antigravity is a worker execution backend or third-opinion reviewer — an execution detail owned by the agent/profile running a task, NOT a first-class orchestration primitive. Do not put
Perguntas frequentes
Precisa de uma chave de API?
Não. A skill diz que o Antigravity gerencia o próprio login pelo chaveiro do sistema operacional ou pelo navegador.
Posso usar o agy em um script?
Sim. O guia cobre comandos avulsos não interativos usando agy --print.
Por que alguns comandos não aparecem na ajuda do agy?
Comandos de sessão, como /config, só existem dentro de uma sessão agy em execução, e não na ajuda do shell.
Detalhes
Descrição original do autor
Operate the Antigravity CLI (agy): plugins, auth, sandbox.
Popularidade
- Estrelas no GitHub
- 260 mil
- Posição no ranking
- #439
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
agent-merge-conflict-arbiter
260 milResolve um conflito de merge no git entre as branches de dois agentes como terceiro neutro, produzindo um único resultado unificado para o repositório.
blackbox
260 milPermite que seu agente entregue uma tarefa de programação para a ferramenta de linha de comando Blackbox AI, que roda vários modelos de IA e escolhe o melhor resultado.
dynamic-workflow
260 milEnsina seu agente a rodar grandes lotes de trabalhos semelhantes como um script salvo, de modo que só resultados verificados voltem para a conversa principal.
grok
260 milPermite que seu agente entregue trabalhos de código à Grok Build CLI da xAI, para construir funcionalidades, refatorar, revisar pull requests ou corrigir lotes de issues.
Skills parecidas
openclaw-update
394 milAjuda seu agente a atualizar um OpenClaw Gateway existente, escolhendo o método que combina com a instalação e mantendo sua sessão funcionando.
diagnose-gateway
394 milAjuda seu agente a descobrir por que seu OpenClaw Gateway está falhando, verificando configurações, canais e portas sem alterar nada.
crabbox-apps
394 milAjuda seu agente a abrir e executar um app em uma máquina temporária na nuvem e depois mostrar a visualização dele no painel lateral do seu chat.