agylisted
Install: claude install-skill dT-Tb-labs/babel-orchestration
# Antigravity CLI Cross-Review
Send Claude-written code to Google Antigravity CLI (`agy`; Gemini 3 family) for an independent second opinion that may surface missed bugs, security issues, or alternatives.
Same workflow as `gemini-cli-review`, but launched via CLI binary + PTY wrapper.
## Upstream Bug #76 and Workaround
`agy -p` **silently drops stdout or hangs on non-TTY (subprocess / pipe / redirect)** ([upstream issue #76](https://github.com/google-antigravity/antigravity-cli/issues/76)). Unfixed as of v1.0.2.
**Implemented workaround:** [`agy_pty_wrapper.py`](agy_pty_wrapper.py) runs agy in a pseudo-terminal so TTY detection and stdout work. It auto-selects **Windows = pywinpty (ConPTY) / Linux and macOS = ptyprocess**, using their identical caller API. Windows is verified (`OK`/`PONG` in ~30s); Unix is statically reviewed but hardware-untested.
## Prerequisites
### 1. `agy` binary
```bash
agy --version 2>&1 || "$LOCALAPPDATA/agy/bin/agy.exe" --version 2>&1
```
Automatic resolution: `--agy-path` first; then Windows: `%LOCALAPPDATA%\agy\bin\agy.exe` → `PATH` (`shutil.which agy`); Linux/macOS: `PATH` → `~/.local/bin/agy`, `~/.antigravity/bin/agy`, `/usr/local/bin/agy`. On POSIX, use `--agy-path` when `agy` is off `PATH`.
### 2. Authentication (one time only)
```powershell
agy auth login
```
Run in PowerShell → log in via browser. Persists afterward.
### 3. PTY wrapper dependencies (per OS)
```bash
# Windows:
python -c "import winpty" 2>&1 || pip install pywinpt