antigravity-cli
Skill227 starsChanged 2 months agoApache-2.0View on GitHub
Delegate bounded investigation, review, or implementation tasks to Antigravity CLI from a supervising agent. Includes a background client for task progress, follow-up prompts, conversation recovery, cancellation, and visible failures.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- legibet/agent-skillstheir own version, first seen Nov 1, 2026
- kellykampen/agent-skillstheir own version, first seen Nov 1, 2026
- yu-iskw/coding-agent-skillstheir own version, first seen Oct 13, 2026
- austenstone/.copilottheir own version, first seen Sep 13, 2026
- SafeMantella/claude-code-agy-CLI-skilltheir own version, first seen May 20, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- SafeMantella/claude-code-agy-CLI-skill★ 9same name
- kellykampen/agent-skills★ 2same name
- yu-iskw/coding-agent-skills★ 1same name
- austenstone/.copilot★ 0same name
- legibet/agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- user/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ask-to-planSkill
- codex-cliSkill
- devin-cliSkill
- grok-cliSkill
- marketing-copySkill
- product-writingSkill
- scoped-changeSkill
- talk-like-scarletkcSkill
- ux-writingSkill
- worktree-prSkill
- x-contentSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Use the installed agy CLI as an external coding agent.
- Very specific: line 45
Keep independent work with the supervising agent while the task runs.
- Distinctive: line 59
Do not switch providers, change authentication, or rewrite its global settings to conceal a failure.
- Distinctive: line 71
Do not promise isolation without checking the target platform's support.
- Very specific: line 91
Read status, closed, stop_reason, error, denied_actions, and tool_errors together.
- Distinctive: line 114
If installation, authentication, network, permissions, or execution blocks the task, tell the user what failed and what remains incomplete.
- Very specific: line 120
Use <script> --help for commands and references/client.md for state fields, timeouts, storage, and diagnostics.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Antigravity CLI
Use the installed agy CLI as an external coding agent. The bundled client
returns a task ID immediately and keeps a background worker available for
follow-ups. It runs each turn with official streaming JSON input/output and
resumes the exact Antigravity conversation on the next turn. Waiting for the
process and stderr to finish makes permission denials and partial-output
timeouts visible; each follow-up incurs CLI startup time.
Delegate when the user requests Antigravity or another agent can add value that you can verify. Keep routine work with the supervising agent when the extra startup and review time would outweigh that benefit.
Antigravity CLI must already be installed and authenticated. Run
scripts/agy.py with the project's Python 3.12+ interpreter.
The helper uses only the standard library; when the project has no Python
environment, uv run --python 3.12 <script> ... also works. Resolve the
script relative to this skill, not the project receiving the task.
Assign and follow up
Provide the goal, absolute working directory, relevant files and evidence, scope, and completion check. Antigravity does not inherit the supervising agent's conversation. Use a UTF-8 prompt file for substantial instructions:
python <script> start --cwd <absolute-project-path> --prompt-file <task-file>
python <script> wait <task_id> --timeout 30
python <script> status <task_id>
python <script> reply <task_id> --prompt-file <follow-up-file>
python <script> cancel <task_id>
python <script> close <task_id>Keep independent work with the supervising agent while the task runs.
wait timing out only returns a snapshot; it does not cancel the task.
reply is accepted after the current turn finishes. Retain the task_id
and close the worker when no more follow-ups are needed.
The helper supplies both the process working directory and --add-dir.
For concurrent edits to overlapping files, use separate worktrees and pass
their paths as --cwd; the helper does not create worktrees. Check actual
output paths, since Antigravity can also write to its conversation artifacts.
Configuration and permissions
Inherit Antigravity's authentication, model, and permission configuration. Subscription and API authentication remain Antigravity's responsibility. Do not switch providers, change authentication, or rewrite its global settings to conceal a failure.
start --model, --effort, --mode, and --sandbox are task-specific
overrides. Honor the user's model or effort choice. Otherwise choose effort
according to complexity, error cost, and ease of verification; omit the
override when the model's support or the appropriate choice is uncertain.
Discover models with agy --output-format json models.
Match permissions to the authorized work. --mode plan is a planning
instruction, not enforced read-only access: headless plan review can proceed
automatically. The supervising agent's sandbox does not configure AGY's.
Do not promise isolation without checking the target platform's support.
For authorized workspace edits, --mode accept-edits allows file changes
without interactive diff review; shell commands still follow tool permission
rules. If a file tool rejects the target as an invalid artifact path, ask
Antigravity to write a regular workspace file instead of an artifact. Inspect
that tool error before attempting a shell workaround or expanding permissions.
Headless AGY cannot accept programmatic approval responses. When the helper
reports blocked, inspect denied_actions and the partial result. If the
task requires those tools, use scoped Antigravity permission rules or an
interactive AGY session to establish the required permissions, following the
original authorization. Do not repeatedly submit a blocked operation with
unchanged permissions. The helper exposes --dangerously-skip-permissions
only as an explicit override; do not use it merely to avoid an approval.
Scoped rules limit which actions match; they are stored in Antigravity's
global settings, not as temporary grants managed by this helper.
Check results and recover
Read status, closed, stop_reason, error, denied_actions, and
tool_errors together. completed means the turn returned a response, not
that its claims or edits were verified. Inspect the diff, output files, and
relevant checks. AGY may recover from an individual tool error, so tool
errors remain visible even when the final turn completes.
The helper does not equate native SUCCESS or exit code 0 with completion.
It checks permission denials and stderr timeout diagnostics, and enforces
its own startup, turn, and shutdown deadlines.
cancel stops that task's AGY process tree and closes its worker. It does
not undo edits or external actions already performed. Read partial results
before retrying. To continue a closed conversation, explicitly start a new
task with its returned session_id:
python <script> start --cwd <same-project-path> --conversation <session_id> --prompt-file <follow-up-file>An open task can use reply after a provider failure. This is an explicit
new turn in the same conversation; there is no automatic retry. If startup
failed before a session ID was obtained, resolve the error and start again.
If installation, authentication, network, permissions, or execution blocks the task, tell the user what failed and what remains incomplete. Do not silently replace the requested Antigravity contribution with your own work or another provider. Committing, publishing, and other external actions retain the authorization boundaries of the original assignment.
Use <script> --help for commands and
references/client.md for state fields, timeouts,
storage, and diagnostics.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

