antigravity-cli
Fungsinya
Ini adalah panduan untuk menjalankan alat baris perintah agy, dengan langkah pemasangan, pengelolaan plugin, dan perbaikan masalah login atau sandbox. Panduan ini ditujukan bagi orang yang memakai Antigravity dari terminal.
Kapan dipakai
- βSaat Anda perlu memasang atau memperbarui alat baris perintah agy.
- βKetika Anda ingin menjalankan agy sebagai perintah sekali jalan tanpa sesi interaktif.
- βKetika login, sandbox, atau izin Antigravity tidak berfungsi.
Link skill
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/autonomous-ai-agents/antigravity-cli/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBantu saya memasang CLI Antigravity dan pastikan alat itu berjalan di komputer saya.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent menjalankan perintah agy di terminal, lalu membaca pengaturan dan log-nya untuk menemukan masalah. Agent membedakan perintah shell dari perintah yang hanya berfungsi di dalam sesi yang sedang terbuka.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apakah ini memerlukan kunci API?
Tidak. Skill menyatakan Antigravity mengelola login sendiri melalui keyring sistem operasi atau browser.
Bisakah saya menjalankan agy di dalam skrip?
Bisa. Panduan ini mencakup perintah sekali jalan non-interaktif memakai agy --print.
Mengapa beberapa perintah tidak muncul di bantuan agy?
Perintah sesi seperti /config hanya ada di dalam sesi agy yang sedang berjalan, bukan di bantuan shell.
Detail
Deskripsi asli dari pembuat
Operate the Antigravity CLI (agy): plugins, auth, sandbox.
Popularitas
- Bintang GitHub
- 260k
- Peringkat
- #439
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
agent-merge-conflict-arbiter
260kMenyelesaikan konflik merge git antara cabang dua agent sebagai pihak ketiga yang netral, menghasilkan satu hasil gabungan untuk repo.
blackbox
260kMemungkinkan agent Anda menyerahkan tugas pemrograman ke alat baris perintah Blackbox AI, yang menjalankan beberapa model AI dan memilih hasil terbaik.
dynamic-workflow
260kMengajari agent Anda menjalankan pekerjaan sejenis dalam jumlah besar sebagai skrip tersimpan, sehingga hanya hasil terverifikasi yang kembali ke percakapan utama.
grok
260kMemungkinkan agent Anda menyerahkan pekerjaan kode ke Grok Build CLI milik xAI, untuk membangun fitur, refaktor, meninjau pull request, atau memperbaiki issue.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.