/agent-harness:antigravity-clifrom agent-harness
Operate the Antigravity CLI `agy` from Codex as a subagent-style helper. Use when Codex needs to install, verify, debug, or drive Antigravity CLI; run `agy --print` one-shot prompts for independent analysis; manage plugins, auth, permissions, sandbox settings, conversations, logs, or interactive `agy` sessions.
Ships in agent-harness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill to operate the Antigravity CLI, invoked as agy, from Codex. Treat agy as a separate agent process: give it a bounded prompt, run it in the target workspace, capture its output, and reconcile the result yourself before acting on it.
Keep two Antigravity surfaces distinct:
agy help, agy install, agy plugin, agy update, agy changelog, agy --print./config, /permissions, /skills, /agents, /resume, /fork, /new, /logout, and similar commands inside the TUI only.agy help shows the shell wrapper surface. It does not document every in-session slash command.
Verify the binary before relying on the skill:
command -v agy
agy --version
Antigravity manages its own authentication through its local app state, OS keyring, and browser sign-in flow. Do not ask the user for API keys unless a specific agy error says they are required.
Prefer non-interactive one-shots when asking Antigravity for an independent pass:
agy --print "Review this repository for the highest-risk bug. Return file paths and concise reasoning."
agy --print-timeout 10m --print "Summarize the architecture and list open questions."
agy --add-dir /path/to/extra/context --print "Compare the workspace with the added context and report mismatches."
Run from the target repository or pass an explicit workdir to Codex's terminal tool. Keep prompts bounded and concrete. Ask agy for evidence such as paths, commands, or excerpts, then verify important claims yourself before editing files or reporting findings.
Good subagent prompts:
Review only the diff in this repo. Return bugs or regressions with file:line references. Do not rewrite code.
Inspect the current workspace and propose one minimal implementation plan for the failing test. Do not edit files.
Avoid open-ended delegation such as "fix everything". Codex remains responsible for final decisions, edits, and validation.
Use an interactive PTY only when slash commands, login flows, conversation resume, or multi-turn behavior are required.
Start a session through Codex's terminal tool with tty=true:
agy
For long-running or inspectable sessions, use tmux so output can be captured after interruptions:
tmux new -As agy-codex
agy
Inside the TUI, use slash commands only after the session is running:
/resume, /switch, /rewind, /undo, /rename <name>, /clear, /fork, /reset, /new/config, /settings, /permissions, /model, /keybindings, /statusline, /tasks, /skills, /mcp, /open <path>, /usage, /logout, /agents@ path autocomplete, ! terminal command, ? help, double Esc to clear input when not streamingWrapper commands:
agy changelog
agy help
agy install
agy plugin --help
agy plugin list
agy update
agy --version
Useful flags:
--add-dir--continue / -c--conversation--dangerously-skip-permissions--log-file--model--new-project--print / -p--print-timeout--project--prompt--prompt-interactive / -i--sandboxPlugin subcommands from agy plugin --help:
listimport [source]install <target>uninstall <name>enable <name>disable <name>validate [path]link <mp> <target>helpInstall flags from agy install --help:
--dir--skip-aliases--skip-pathInspect these with Codex file-reading commands such as sed, rg, find, or direct shell reads. Avoid editing Antigravity state files unless the user explicitly asks or the file format and intended change are clear.
~/.gemini/antigravity-cli/~/.gemini/antigravity-cli/settings.json~/.gemini/antigravity-cli/keybindings.json~/.gemini/antigravity-cli/log/cli-*.log~/.gemini/antigravity-cli/conversations/~/.gemini/antigravity-cli/brain/~/.gemini/antigravity-cli/history.jsonl~/.gemini/antigravity-cli/plugins/<plugin_name>/Common settings keys:
allowNonWorkspaceAccesscolorSchemepermissions.allowtrustedWorkspacesenableTerminalSandboxPermission modes:
request-reviewalways-proceedstrictproceed-in-sandboxLaunch-time flags such as --sandbox and --dangerously-skip-permissions can override persistent settings for the current session.
Antigravity tries the OS secure keyring first. If no saved session exists, it falls back to browser-based Google sign-in. On a local desktop it may open the default browser; over SSH it may print an authorization URL and expect a code pasted back into the terminal. Use /logout inside an interactive session to remove saved credentials.
Check the basics first:
command -v agy
agy --version
agy help
agy plugin list
Then inspect recent logs:
ls -t ~/.gemini/antigravity-cli/log/cli-*.log | head
sed -n '1,220p' "$(ls -t ~/.gemini/antigravity-cli/log/cli-*.log | head -n 1)"
Important pitfalls:
agy --version is the safe version check. agy version can enter interactive behavior and fail without a real TTY.agy plugin list returning no plugins can be a valid empty state.~/.gemini/antigravity-cli/bin/agentapi is a wrapper to agy agentapi..antigravitycli project marker.After creating or changing Antigravity setup, run the smallest applicable checks:
command -v agy
agy --version
agy help
agy plugin list
test -f ~/.gemini/antigravity-cli/settings.json && sed -n '1,220p' ~/.gemini/antigravity-cli/settings.json
For subagent usage, run a harmless smoke test from a scratch or target workspace:
agy --print "Reply with one sentence confirming the current working directory and no file edits."
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
5 skills in this plugin
/cmuxEnd-user control of cmux topology and routing (windows, workspaces, panes/surfaces, focus, moves, reorder, identify, trigger flash). Use when automation needs deterministic placement and navigation in a multi-pane cmux layout./herdrControl Herdr, a terminal multiplexer for coding agents. Use only when the user explicitly mentions Herdr or asks to use Herdr to inspect or control panes, tabs, workspaces, commands, or another agent. Do not use merely because a task could benefit from a background terminal, delegation, or parallel work. Requires HERDR_ENV=1./kanban-boardUse this skill when the user asks to add, create, list, start, link, update, assign, offload, or manage Kanban tasks, cards, or board items. Trigger for kb or kanban requests, Claude Code or Antigravity task routing, agent override settings, auto-review, commit or PR automation, task dependencies, backlog triage, and board operations./orchestraSet up and operate a simple Kanban-driven milestone flow with one recurring project-local loop. Use when a user wants Kanban agents to progress a project through milestones with minimal durable state.npx claudepluginhub vrnrn/agent-harness --plugin agent-harness