antigravity-cli
Skill này làm gì
Skill là hướng dẫn chạy công cụ dòng lệnh agy, với các bước cài đặt, quản lý plugin và sửa lỗi đăng nhập hoặc sandbox. Dành cho người dùng Antigravity từ terminal.
Khi nào nên dùng
- ✓Khi bạn cần cài hoặc cập nhật công cụ dòng lệnh agy.
- ✓Khi bạn muốn chạy agy như một lệnh một lần mà không cần phiên tương tác.
- ✓Khi đăng nhập, sandbox hoặc quyền của Antigravity không hoạt động.
Liên kết skill
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/autonomous-ai-agents/antigravity-cli/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Giúp tôi cài CLI của Antigravity và kiểm tra xem nó có chạy trên máy tính của tôi không.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chạy các lệnh agy trong terminal và đọc cài đặt cũng như nhật ký để tìm vấn đề. Nó phân biệt lệnh shell với các lệnh chỉ hoạt động bên trong một phiên đang mở.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó có cần khóa API không?
Không. Skill nói Antigravity tự quản lý đăng nhập qua keyring của hệ điều hành hoặc trình duyệt.
Tôi có chạy agy trong script được không?
Có. Nó bao gồm các lệnh một lần không tương tác dùng agy --print.
Tại sao một số lệnh không xuất hiện trong trợ giúp của agy?
Các lệnh phiên như /config chỉ tồn tại bên trong một phiên agy đang chạy, không có trong trợ giúp của shell.
Chi tiết
Mô tả gốc của tác giả
Operate the Antigravity CLI (agy): plugins, auth, sandbox.
Độ phổ biến
- Sao GitHub
- 260k
- Vị trí xếp hạng
- #439
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-merge-conflict-arbiter
260kGiải quyết xung đột merge git giữa nhánh của hai agent với vai trò bên trung lập, tạo ra một kết quả merge duy nhất cho repo.
blackbox
260kCho phép agent của bạn giao một tác vụ lập trình cho công cụ dòng lệnh Blackbox AI, công cụ chạy nhiều mô hình và chọn kết quả tốt nhất.
dynamic-workflow
260kDạy agent của bạn chạy các đợt công việc tương tự lớn như một script đã lưu, để chỉ kết quả đã kiểm chứng mới quay về cuộc trò chuyện chính.
grok
260kCho phép agent của bạn giao việc lập trình cho Grok Build CLI của xAI, để xây tính năng, tái cấu trúc, rà soát pull request hoặc sửa issue hàng loạt.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.