/agy-plus:agy-plusfrom agy-plus
Delegates tasks to the Google Antigravity CLI (agy) for Google service operations (Gmail, Drive, Docs, Calendar, YouTube, Maps, Workspace) and local video understanding. Handles model/effort selection, parallel delegation, and session resume.
Ships in agy-plus. 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.
Prerequisite: the agy CLI on PATH (curl -fsSL https://antigravity.google/cli/install.sh | bash), signed in by running agy once interactively, or set to a Gemini API key where no browser sign-in is possible (headless, CI, a cloud container) — references/agy-features.md § Sandbox & Authentication Troubleshooting. For media input, yt-dlp and ffmpeg (brew install yt-dlp ffmpeg).
When the task touches a Google service or asks to understand a local media file, read references/vendor-boundary.md first: what goes to agy, and the context and file Claude prepares before handing it over.
Read references/run-brief.md before writing the prompt file: the role every prompt declares, what a prompt judging a decision carries, and how model, effort, and parallel runs are chosen.
a3f9, timestamp fragment, or task keyword) for this invocation.<scratchpad>/agy_prompt_<suffix>.txt using the Write tool — <scratchpad> is the session's scratchpad directory (e.g. /private/tmp/…/scratchpad announced in the system prompt; fall back to /private/tmp when none is announced).${CLAUDE_PLUGIN_ROOT}/scripts/agy-run.sh [options] <scratchpad>/agy_prompt_<suffix>.txt to a Bash subagent to run (Running a Task, step 4).references/run-brief.md § Choosing model, effort, and parallelism):
-m): any slug from agy models (e.g., gemini-4-neon-medium, gemini-4-neon-high, gemini-4-carbon-high, gemini-3.8-flash-medium), or omit -m to use agy's configured default.-r): optional — a level that family lists in agy models (low, medium, high, xhigh, max). Pair it with a family name without an effort suffix (e.g., -m gemini-4-neon -r xhigh) or with no -m.-m.--mode auto (set by agy-run.sh). Because auto can edit files and run tools, the prompt's declared role is what keeps a reviewing/read-only run from modifying the tree — state the role explicitly.auto, agy warns on stderr (--mode auto is not available for this account; continuing in the default mode) and its default mode still edits files; the declared role stays the guard.-M accept-edits when only file edits should be auto-accepted.-s (--sandbox) when terminal restrictions should be enforced inside agy.references/run-brief.md to <scratchpad>/agy_prompt_<suffix>.txt.agy-run.sh directly in the main session. This keeps raw JSON, tool logs, and verbose output out of the main context. Give the subagent:
${CLAUDE_PLUGIN_ROOT}/scripts/agy-run.sh [options] <scratchpad>/agy_prompt_<suffix>.txt with -m MODEL / -r EFFORT / -M MODE / -C DIR (or -S <SESSION_ID> to resume).response verbatim/high-fidelity for judgment/review tasks),SESSION_ID: <conversation_id> extracted verbatim from the JSON conversation_id field — with -f stream-json, from the "event":"result" line's result.conversation_id when that line is present, otherwise from the top-level conversation_id of the first "event":"init" line (a run cut off by --print-timeout or an error has no result line),usage, denied_actions, and error / warning details if any occurred.SESSION_ID.SESSION_ID against its purpose, model, and -C directory. This {purpose → SESSION_ID} map is the only resume handle.<scratchpad>/agy_prompt_<suffix>.txt, then delegate to a Bash subagent running:
${CLAUDE_PLUGIN_ROOT}/scripts/agy-run.sh -S <SESSION_ID> [-m <SAME_MODEL>] [-C <SAME_DIR>] <scratchpad>/agy_prompt_<suffix>.txt
SESSION_ID (--conversation), never --continue, so parallel sessions never race.-m recorded for that SESSION_ID in step 5 again — agy does not keep a session's model, and a resume without -m runs on agy's configured default. Where the first run omitted -m, omit it again. Pass a different -m only if the caller asks to switch models mid-session.-C <SAME_DIR> again so relative file pointers in the conversation still resolve against the same tree.SESSION_ID maps to which model/branch. Inform the user: "Resume anytime with 'agy resume'."Each command below runs inside a Bash subagent, which reads the raw JSON output and returns the outcome plus SESSION_ID: <conversation_id>.
Base patterns:
auto mode, JSON output) — ${CLAUDE_PLUGIN_ROOT}/scripts/agy-run.sh -C <DIR> <scratchpad>/agy_prompt_<suffix>.txt${CLAUDE_PLUGIN_ROOT}/scripts/agy-run.sh -m <FAMILY> -r <EFFORT> -C <DIR> <scratchpad>/agy_prompt_<suffix>.txt (e.g., -m gemini-4-neon -r xhigh)${CLAUDE_PLUGIN_ROOT}/scripts/agy-run.sh -S <SESSION_ID> [-m <SAME_MODEL>] -C <SAME_DIR> <scratchpad>/agy_prompt_<suffix>.txtModifiers (added to any base pattern):
agy — -s-f text or -f stream-json (warning: text omits conversation_id, so do not use it if you need to resume)agy-specific flags (-a/--agent, --add-dir, --json-schema, --disable-slash-commands, --print-timeout, --project, --remote-agent, --settings) — see references/agy-features.mdagy-run.sh exits non-zero or the JSON payload reports "status":"ERROR"; request direction before retrying."status":"SUCCESS" payload carrying denied_actions, or an empty response, is incomplete: headless print mode auto-denies a tool that needs a permission. Report it as incomplete with the denied actions; the remedy is in references/agy-features.md § Sandbox & Authentication Troubleshooting.--dangerously-skip-permissions, ask the user for permission unless it was already granted.agy needs read/write access to ~/.gemini/antigravity-cli/ (logs, installation_id, session state) and network access. If a sandboxed Bash tool fails with operation not permitted on ~/.gemini/antigravity-cli/, see references/agy-features.md § Sandbox & Authentication Troubleshooting.agy-Specific FeaturesKeep the main workflow lean. Read references/agy-features.md only when the task actually needs agy-specific capabilities:
--agent, agy agents) or multi-directory workspaces (--add-dir)read_file)--json-schema), print timeouts (--print-timeout), disabling slash commands (--disable-slash-commands)--remote-agent, --project) or session-only overrides (--settings)agy models), MCP/plugin inspection, or sandbox/auth troubleshootingWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jongwony/cc-plugin --plugin agy-plusOther plugins' skills for the same job