Skill v1.0.0
currentAutomated scan100/100name: agy-cli description: Delegate coding work from Grok to Antigravity CLI via MCP agy_run. Grok-AG only. Use whenever the user wants AG, Antigravity, agy, or a detached worker — not Grok writing the files. Not for Cline or Claude. metadata: version: "1.0.0"
Delegate to Antigravity CLI
MCP server agy-cli is Grok user-scoped only. Tools: agy_run, agy_status, agy_models, agy_preview. Do not register this server on Cline or Claude.
AG is a detached worker. Do not run agy or agy-job inside this chat (that dies when the user types). Do not start waiter.sh.
Every job
search_toolthenagy_runwith a fulltaskand absolutecwd.- Default model:
gemini-3.7-flash-medium. Never Opus. Never Gemini Pro unless the user writes it. agy_runreturns immediately (STARTEDorQUEUED) withjob_id.- Start a background monitor; do not block the turn:
python3 ~/.config/bridge/agy_cli/watch_job.py <job_id> One line: SUCCESS|ERROR|CRASH|TIMEOUT|NETWORK|CANCELED <id>
- Keep talking. When the monitor fires,
agy_statusand continue.
Same cwd continues the last AG conversation. Pass new_session=true only for a fresh AG chat.
Queue
If status is QUEUED, a job is already running. The new job starts when that one finishes. Do not spawn a second AG yourself.
Log pane
The AG-job window is logs only. Typing there does not talk to AG.
- Closing it does not kill the job.
- Logs stay until the user closes them. Do not close Grok's terminal (title is not
AG-job). - If
agy_statusshowspreview_open: falsewhile the job is still running, ask: "You closed the AG log pane. Want it back?" Reopen only withagy_previewaction=reopenafter they say yes.
Other chats (same state)
Start Grok with grok-ide (loads GROK_SYSTEM_PROMPT.md). Restart Grok after ./scripts/install.sh.
This pipeline is Grok ↔ AG only. Only MCP server: agy-cli. Do not add it to Cline or Claude. Do not run agy-job or waiter.sh.
Playbook on disk: ~/.grok/skills/agy-cli/SKILL.md. Always-on Grok rule: ~/.grok/rules/agy-cli.md (every Grok chat, no extra briefing).
Finish kinds
SUCCESS— AG finished the taskERROR— AG reported failureCRASH— process died with no resultTIMEOUT— we cut it off at the time limitNETWORK— connection / auth / 429 / 5xxCANCELED— stopped before completion