antigravity-cli
Operate the Antigravity CLI (agy): plugins, auth, sandbox.
- License 许可
- MIT
- 最近更新
- 2026-11-01
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- antigravity-cli
- author
- Tony Simons (asimons81), Hermes Agent
- license
- MIT
- version
- 0.1.0
- metadata
- { "hermes": { "tags": [ "Coding-Agent", "Antigravity", "CLI", "Auth", "Plugins", "Sandbox" ], "related_skills": [ "grok", "codex", "claude-code", "hermes-agent" ] } }
- platforms
- [ "linux", "macos", "windows" ]
- description
- Operate the Antigravity CLI (agy): plugins, auth, sandbox.
02 资源文件 1
- 参考文档references/cli-docs.md2.1 KB
03 SKILL.md 正文
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.
Core paths
- Binary / entrypoint:
agy - App data dir:
~/.gemini/antigravity-cli/ - Settings file:
~/.gemini/antigravity-cli/settings.json - Keybindings file:
~/.gemini/antigravity-cli/keybindings.json - Logs:
~/.gemini/antigravity-cli/log/cli-*.log - Conversations:
~/.gemini/antigravity-cli/conversations/ - Brain artifacts:
~/.gemini/antigravity-cli/brain/ - History:
~/.gemini/antigravity-cli/history.jsonl - Plugin staging:
~/.gemini/antigravity-cli/plugins/<plugin_name>/
Quick Reference
Wrapper commands
agy changelogagy helpagy installagy plugin/agy pluginsagy update
Useful flags
--add-dir--continue/-c--conversation--dangerously-skip-permissions--print/-p--print-timeout--prompt--prompt-interactive/-i--sandbox--log-file--version
Plugin subcommands (agy plugin --help)
list,import [source],install <target>,uninstall <name>,enable <name>,disable <name>,validate [path],link <mp> <target>,help
Install flags (agy install --help)
--dir,--skip-aliases,--skip-path
In-session slash commands
- Conversation control:
/resume(/switch),/rewind(/undo),/rename <name>,/clear,/fork,/reset,/new - Settings & tools:
/config,/settings,/permissions,/model,/keybindings,/statusline,/tasks,/skills,/mcp,/open <path>,/usage,/logout,/agents - Prompt helpers:
@path autocomplete,esc escclears the prompt (when not streaming),!runs a terminal command directly,?opens help
Settings and permissions
Common settings keys (settings.json)
allowNonWorkspaceAccesscolorSchemepermissions.allowtrustedWorkspaces
Permission modes
request-review, always-proceed, strict, proceed-in-sandbox.
Sandbox behavior
enableTerminalSandboxis a boolean insettings.json; defaultfalse.- Launch-time overrides (
--sandbox,--dangerously-skip-permissions) can supersede persistent settings for the current session.
Authentication behavior
- The CLI tries the OS secure keyring first.
- With no saved session, it falls back to browser-based Google sign-in.
- Locally it opens the default browser; over SSH it prints an authorization URL and expects the auth code pasted back.
/logoutremoves saved credentials.
Plugins
- Plugins stage under
~/.gemini/antigravity-cli/plugins/<plugin_name>/. - They can bundle skills, agents, rules, MCP servers, and hooks.
agy plugin listreturning no imported plugins is a valid empty state.
Pitfalls
agy helpshows wrapper commands, not interactive slash commands.agy --versionis the safe non-interactive version check;agy versionis interactive and can fail without a real TTY.- First place to look for failures:
~/.gemini/antigravity-cli/log/cli-*.log(read withread_file). - Don't confuse persistent JSON settings with launch-time overrides.
~/.gemini/antigravity-cli/bin/agentapiis a thin wrapper toagy agentapi.- On WSL, token storage is file-based, so auth issues are usually local-file / session-state problems, not browser-only problems.
- Workspace identity can depend on launch directory and the
.antigravitycliproject marker.
Verification
Confirm the install is real and usable, all through the terminal tool (read
files with read_file):
terminal(command="command -v agy")terminal(command="agy --version")terminal(command="agy help")terminal(command="agy plugin list")read_fileon~/.gemini/antigravity-cli/settings.jsonread_fileon the latest~/.gemini/antigravity-cli/log/cli-*.log- If needed,
read_fileon~/.gemini/antigravity-cli/keybindings.json
Support files
references/cli-docs.md— condensed notes from the getting-started, usage, and features docs.
04 同仓库更多 Skills
yeet
Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).
yayin-seo-geo-yasal-denetim
Bir web uygulaması canlıya çıkmadan veya iş teslimi biterken resmî/kurumsal sayfaları, SEO, GEO, indeksleme ve canlı çıktıyı denetler; eksikleri kodda tamamlar ve üretimde kanıtlar. Uygulama bitti, canlıya hazır mı, yayına al, launch checklist, release readiness, SEO audit, GEO audit, legal pages, privacy policy, terms, cookies, KVKK, robots, sitemap, canonical, hreflang, JSON-LD, llms.txt ifadelerinde kullan. Yeni veya önemli ölçüde değişmiş halka açık web uygulamasının son teslim aşamasında kullanıcı ayrıca istemese de uygula. Güvenlik sızma testi için güvenlik skillini ayrıca kullan.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
wrangler
Cloudflare Workers CLI for deploying, developing, and managing Workers, KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Containers, Queues, Workflows, Pipelines, and Secrets Store. Load before running wrangler commands to ensure correct syntax and best practices. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.
winui-app
Bootstrap, develop, and design modern WinUI 3 desktop applications with C# and the Windows App SDK using official Microsoft guidance, WinUI Gallery patterns, Windows App SDK samples, and CommunityToolkit components. Use when creating a brand new app, preparing a machine for WinUI, reviewing, refactoring, planning, troubleshooting, environment-checking, or setting up WinUI 3 XAML, controls, navigation, windowing, theming, accessibility, responsiveness, performance, deployment, or related Windows app design and development work.
whisper
OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.