本文へ移動
cccskills
無料GitHub で公開

antigravity-cli

Operate the Antigravity CLI (agy): plugins, auth, sandbox.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md6.3 KB

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 agy binary
  • Driving non-interactive agy --print / agy -p one-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:

  1. Shell wrapper commands — agy help, agy install, agy plugin, agy update, agy changelog. Run these through the terminal tool.
  2. Interactive in-session slash commands — /config, /permissions, /skills, /agents, etc. These only exist inside a running agy TUI session, not on the shell wrapper.

agy help shows the shell wrapper surface, NOT the in-session slash commands.

Prerequisites

  • The agy binary on PATH. Verify through the terminal tool: 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 changelog
  • agy help
  • agy install
  • agy plugin / agy plugins
  • agy 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 esc clears the prompt (when not streaming), ! runs a terminal command directly, ? opens help

Settings and permissions

Common settings keys (settings.json)

  • allowNonWorkspaceAccess
  • colorScheme
  • permissions.allow
  • trustedWorkspaces

Permission modes

request-review, always-proceed, strict, proceed-in-sandbox.

Sandbox behavior

  • enableTerminalSandbox is a boolean in settings.json; default false.
  • 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.
  • /logout removes saved credentials.

Plugins

  • Plugins stage under ~/.gemini/antigravity-cli/plugins/<plugin_name>/.
  • They can bundle skills, agents, rules, MCP servers, and hooks.
  • agy plugin list returning no imported plugins is a valid empty state.

Pitfalls

  • agy help shows wrapper commands, not interactive slash commands.
  • agy --version is the safe non-interactive version check; agy version is interactive and can fail without a real TTY.
  • First place to look for failures: ~/.gemini/antigravity-cli/log/cli-*.log (read with read_file).
  • Don't confuse persistent JSON settings with launch-time overrides.
  • ~/.gemini/antigravity-cli/bin/agentapi is a thin wrapper to agy 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 .antigravitycli project marker.

Verification

Confirm the install is real and usable, all through the terminal tool (read files with read_file):

  1. terminal(command="command -v agy")
  2. terminal(command="agy --version")
  3. terminal(command="agy help")
  4. terminal(command="agy plugin list")
  5. read_file on ~/.gemini/antigravity-cli/settings.json
  6. read_file on the latest ~/.gemini/antigravity-cli/log/cli-*.log
  7. If needed, read_file on ~/.gemini/antigravity-cli/keybindings.json

Support files

  • references/cli-docs.md — condensed notes from the getting-started, usage, and features docs.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

0protocol

無料

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

日本語の概要は準備中です。原文の説明を表示しています。

Lord1Egypt/awesome-skill-forge22026年6月10日 更新

专为追求倍速增长的初建学校设计的教师选、育、用、留四环节体系。基于科德高中融合部真实管理经验,结合十部AI Agent架构,将人才管理从校长个人经验升级为可继承、可协同、可沉淀的组织能力。

日本語の概要は準備中です。原文の説明を表示しています。

Lord1Egypt/awesome-skill-forge22026年6月10日 更新

115 网盘智能管理:扫码登录、文件浏览、搜索、转存、离线下载、智能整理。适用于"登录 115"、"查看文件"、"搜索 xxx"、"转存链接"、"磁力链接"、"整理文件"等场景。

日本語の概要は準備中です。原文の説明を表示しています。

Lord1Egypt/awesome-skill-forge22026年6月10日 更新

12306-specific knowledge for booking train tickets via the Android app. Covers UC WebView virtual list behavior, proven booking flow, and common pitfalls. Uses appium-android-adb bridge OR direct uiautomator2 for all interaction.

日本語の概要は準備中です。原文の説明を表示しています。

Lord1Egypt/awesome-skill-forge22026年6月10日 更新

Connect to 163/126/yeah.net (Coremail) email via IMAP, read inbox, search emails, and send emails via SMTP. Activate when user asks to check email, read mail, send email, or monitor inbox on 163/126/yeah.net accounts. Handles the Coremail-specific IMAP ID command requirement that causes "Unsafe Login" errors in standard clients.

日本語の概要は準備中です。原文の説明を表示しています。

Lord1Egypt/awesome-skill-forge22026年6月10日 更新

1password

無料

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in, and reading/injecting secrets for commands.

日本語の概要は準備中です。原文の説明を表示しています。

Lord1Egypt/awesome-skill-forge22026年6月10日 更新

Lord1Egypt のスキルをすべて見る

このスキルの問題を報告する