antigravity-cli

Drive Google's Antigravity CLI non-interactively and recover output from transcripts.

Updated Nov 8, 2025
One-click install
npx skills add https://github.com/berad217/human-training --skill antigravity-cli-berad217
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: antigravity-cli
Source: https://github.com/berad217/human-training/tree/main/skills-source/antigravity-cli
Command: npx skills add https://github.com/berad217/human-training --skill antigravity-cli-berad217

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the critical pain points of using Google's Antigravity CLI (agy) in non-interactive, automated workflows: the CLI has a default bug that returns empty stdout when run from scripts or pipes, plus dangerous permission footguns that can let it modify files outside your project directory, and no built-in way to capture output programmatically.

Core Features & Use Cases

  • Headless agy Automation: Drive agy non-interactively from scripts, subprocesses, or other AI agents to run Gemini-backed prompts and tasks without opening the TUI.
  • Reliable Output Capture: Provides a verified workaround to recover answers from the on-disk conversation transcript, bypassing the empty stdout bug.
  • Safe File Review Pattern: Includes the tool-free consultant pattern to use agy as a cross-vendor code reviewer without letting it roam your filesystem or make unintended changes.
  • Use Case: If you want to run a Gemini-powered review of your project's source files from a CI script or AI agent session, this skill lets you do so safely without risking accidental modifications to unrelated repositories.

Quick Start

Ask your AI to use the antigravity-cli skill to run a headless agy prompt that reviews your project's spec and implementation files, then save the recovered analysis to a markdown report without letting the CLI access files outside your project directory.

Frequently Asked Questions about antigravity-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does the Antigravity CLI return empty output when I run it from a script?▼

The Antigravity CLI (agy) returns empty stdout in non-TTY contexts due to a default bug. This skill provides a verified workaround to recover answers from the on-disk conversation transcript, bypassing the empty stdout issue.

How do I automate agy prompts non-interactively for a CI pipeline?▼

You can drive agy headlessly from scripts, subprocesses, or other AI agents to run Gemini-backed prompts. This skill enables headless agy automation by providing guidance for install, auth, model selection, and reliable transcript recovery.

Can I use agy as a cross-vendor code reviewer without it modifying my files?▼

Yes, you can use the tool-free consultant pattern included in this skill to use agy as a cross-vendor code reviewer. This pattern ensures safe file review without letting the CLI roam your filesystem or make unintended changes.

How do I prevent the Antigravity CLI from accessing files outside my project directory?▼

To prevent the Antigravity CLI from accessing files outside your project directory, you must avoid common permission footguns like cwd-escape. This skill provides guidance on permission safety to restrict file access appropriately.

What is the best way to capture Gemini responses from a headless agy session?▼

The best way to capture Gemini responses from a headless agy session is through transcript recovery. This skill applies a verified workaround to safely recover outputs from the on-disk conversation transcript, satisfying functional requirements for reliable output capture.