antigravity-bridge
Delegate bounded work or get a third-provider opinion from Google's Antigravity CLI (agy, Gemini).
Skill by mhshaon98
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mhshaon98-antigravity-bridge
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: research, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/antigravity-bridge
What's inside
- Skill name
antigravity-bridge- Description
- Delegate bounded work or get a third-provider opinion from Google's Antigravity CLI (agy, Gemini). Use on "ask antigravity", "ask gemini", "send this to agy", as a Claude-vs-Codex tie-breaker, or for cheap bounded research sweeps.
- License
- MIT
- Instructions
- 177 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Instructions call the network
Files (3)
- SKILL.md
- verified-notes.md · references/
- agy-run.sh · scripts/
SKILL.md (first lines)
# Antigravity Bridge — the third provider tier
`agy` is Google's Antigravity CLI (notes below were verified against v1.1.26, installed at
`~/.local/bin/agy`, on a paid Google AI plan). **Requires the Antigravity CLI to be
installed and signed in; without it this skill does nothing.** Unlike `codex-bridge` this is **not a plugin** — there are no
`/antigravity:*` slash commands. Claude calls it through one wrapper and nothing else.
**Its value is a third, non-Claude, non-OpenAI opinion on a budget that is genuinely
small.** It is the LIGHT tier — not where the big workload goes.
Everything below was verified on one macOS machine unless marked otherwise. CLI behavior churns; re-check
anything that surprises you.
## 0. Prerequisite check — every time, before promising anything
```bash
"$HOME/.claude/skills/antigravity-bridge/scripts/agy-run.sh" --timeout 60 -- "reply with exactly: ready"
```
(Adjust the path if you installed the skills somewhere other than `~/.claude/skills`.)
Exit codes tell you what to say, then **STOP** — never improvise a substitute, never
shell out to a bare `agy`:
| rc | Meaning | What to tell the user |
|---|---|---|
| 125 | not installed on this machine | `curl -fsSL https://antigravity.google/cli/install.sh \| bash` |
| 126 | not signed in | "Run `agy` in your terminal once and complete the Google login." Sign-in belongs to the user — never enter credentials on their behalf. |
| 4 | tool calls denied → workspace not trusted | see §3 |
| 3 | agy returned a JSON `status:ERROR` envelope | read the `error` field; usually a bad flag combination |
| 124 | timed out | report it; don't retry blindly, it costs quota either way |
| 127 | ran but emitted nothing even under a pty | report; treat the bridge as down |
Install and auth are **per-machine**: a machine that has never installed and signed in has
no bridge, regardless of what other machines have. **Sign-in is never automated**: `agy` has
no `login` subcommand, so the user runs `agy` once interactively rather than anything
launching a full-screen TUI unattended. On Windows the CLI lives in `%LOCALAPPDATA%\agy\bin`;
Windows behavior is unverified here.
## 1. The wrapper is the only entry point
```bash
agy-run.sh [--model SLUG] [--timeout 600] [--format text|json|stream-json]
[--schema FILE] [--dir PATH] [--write]
[--continue|--conversation ID] -- "<prompt>"
```
It exists because five things bite otherwise, all confirmed by hitting them:
- **`-p` takes its prompt as a flag VALUE, not a positional.** `agy -p --effort medium "text"`
silently swallows `--effort` as the prompt. The wrapper always emits `--print="$PROMPT"` last.
- **`~/.local/bin` is not on the Bash tool's PATH.** The wrapper prepends it.
- **An open non-TTY stdin makes agent CLIs wait forever** (the `codex exec` lesson —
it hangs silently with zero output). The wrapper always closes stdin.
- **`agy` exits 0 even when its JSON envelope says `status:ERROR`, and even when every
tool call was denied.** Both are caught and turned into real exit codes (3 and 4).
- **No hard timeout = a hung session.** Always set (default 600s).
If the wrapper warns on stderr that its pty fallback fired, the run still returned; exit
127 means the bridge is down on this machine (Git Bash has no `script` for the
fallback). Say so, don't fake it. History: `references/verified-notes.md`.
Long jobs go out with `run_in_background`, never foreground — a foreground call blocks
the session for its whole duration.
## 2. Model policy (binding)
**Claude picks the model — not the CLI's default.** Effort rules: **high is allowed on Flash models** (the cheap tier); everything
else runs at medium or low. The wrapper enforces this — a non-Flash
`-high` slug or any `claude-*` slug exits 2 before spending a token.
`agy` **bakes reasoning effort into the model slug**, so `--model` and `--effort` are
mutually exclusive — passing both is a hard error. The wrapper drops `--effort` whenever
a model is pinned.
Slugs verified present at time of writing (`agy models` — re-check, they churn):
| Slug | Use it for |
|---|---|
| `gemini-3.8-flash-medium` | **default** — newest Flash, the right pick for routine work |
| `gemini-3.8-flash-high` | escalate here when the analysis is genuinely hard; high is permitted on Flash |
| `gemini-3.7-flash-medium` / `gemini-3.6-flash-medium` | only to reproduce or compare against an older run |
| `gemini-3.1-pro-low` | when Pro's depth genuinely matters — **Pro has no medium tier**, only high and low, and high is banned outside Flash, so Pro is available at `-low` only |
| `gpt-oss-120b-medium` | an open-weights third voice; rarely the best pick |
| `claude-sonnet-4-6`, `claude-opus-4-6-thinking` | Not allowed: paying Google quota for a Claude model gives no second opinion. |
## 3. Workspace trust and denied actions
`agy` only lets the agent touch files inside a **trusted workspace**. Verified:
- **Trust IS inherited by subdirectories.** If the home directory is trusted, every project
under it is covered. One grant at the home directory is enough per machine; a new machine
still needs its own grant.
- Trust is granted interactively: the user runs `agy` once inside the directory and accepts.
It lands in `~/.gemini/antigravity-cli/settings.json` → `trustedWorkspaces`.
- **Claude does not edit that file** — it is an app permission setting. Ask.
**`denied_actions` in the response is usually NOT an error.** In read-only mode (no
`--write`) `RunCommand` is denied by design, and the run normally still succeeds through
file reads. Judge by the `response` field, not the denial:
| Symptom | Meaning |
|---|---|
| `denied_actions` present, `response` non-empty | Normal. The wrapper notes it on stderr and returns the answer. |
| `denied_actions` present, `response` **empty** | Real failure (wrapper exits 4): the task needed shell access (re-run with `--write`, ask the user first), or the directory is outside every trusted workspace. |
Never report an empty response as if it were the model's opinion.
**Prompt shape matters in read-only mode.** Asked to
"read these two files and review them", `gemini-3.8-flash-high` reached for `RunCommand`
(`cat`/`grep`), was denied, and returned an empty response in 12s. It does not fall back
to its file-reading tool on its own. Open any read-only brief with:
> IMPORTANT: you are in read-only mode. Shell/terminal commands are DENIED and will fail.
> Use ONLY your file-reading tool. Do not attempt cat, ls, grep, sed or any RunCommand.
With that line the same brief succeeded in 2 turns. Without it, expect exit 4.
## 4. Write access — ask first, every timeFrom mhshaon98/agent-skills, MIT.
More from mhshaon98/agent-skills
- 0.570score
eng-report
mhshaon98
Apply an engineering house style (vendor-manual layout, the user's own logo and colours, ANSI safety notices, document-control blocks) to a Word, Markdown or…
SkillAFreshness: AClaude Code +9 - 0.570score
client-cms
mhshaon98
Add a secure client-facing admin/content layer to the current website so nontechnical staff can edit approved content without touching source.
SkillAFreshness: AClaude Code +9 - 0.567score
codex-bridge
mhshaon98
Delegate a task to OpenAI Codex or get a non-Claude second review via the codex plugin.
SkillAFreshness: AClaude Code +9 - 0.567score
commissioning-logger
mhshaon98
Only when explicitly asked to log a multi-step hands-on process (commissioning, wiring, bring-up, troubleshooting): "log this", "start a commissioning log"…
SkillAFreshness: AClaude Code +9 - 0.567score
call-handoff
mhshaon98
Cold-start briefing from the project's newest handoff, open bugs and next-session prompt in two round-trips, then stop.
SkillAFreshness: AClaude Code +9 - 0.567score
doc-metadata
mhshaon98
Stamp the project's chosen author and company on every Word, Excel, PowerPoint or PDF file the agent creates or edits, and strip tool and AI fingerprints such…
SkillAFreshness: AClaude Code +9 - 0.567score
compliance-check
mhshaon98
Check what is actually live (store listing and labels, published policies, deployed backend, retention jobs) against the code and published words, then work…
SkillAFreshness: AClaude Code +9 - 0.565score
new-project
mhshaon98
Bootstrap a brand-new project with proven architecture defaults and continuity scaffolding.
SkillAFreshness: AClaude Code +9 - 0.565score
bug-ledger
mhshaon98
Use when a bug is reported, found, fixed, or reopened, or before working in a bug-prone area.
SkillAFreshness: AClaude Code +9 - 0.565score
apply-richformat
mhshaon98
Give any text-bearing surface (app screen, document, report, README, chat answer, CLI output, table) visible rank and separation.
SkillAFreshness: AClaude Code +9 - 0.565score
deepen
mhshaon98
Before planning a substantial build, redesign, feature, research question or subagent brief, answer four questions (what a top professional would add, the…
SkillAFreshness: AClaude Code +9 - 0.563score
app-audit
mhshaon98
Automated technical and disclosure compliance-assistance audit of a project: profiling, read-only specialist subagents, fresh research, optional Codex peer…
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 19, 2026 (10 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/mhshaon98/agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mhshaon98
- 0.570score
client-cms
mhshaon98
Add a secure client-facing admin/content layer to the current website so nontechnical staff can edit approved content without touching source.
SkillAFreshness: AClaude Code +9 - 0.570score
eng-report
mhshaon98
Apply an engineering house style (vendor-manual layout, the user's own logo and colours, ANSI safety notices, document-control blocks) to a Word, Markdown or…
SkillAFreshness: AClaude Code +9 - 0.567score
commissioning-logger
mhshaon98
Only when explicitly asked to log a multi-step hands-on process (commissioning, wiring, bring-up, troubleshooting): "log this", "start a commissioning log"…
SkillAFreshness: AClaude Code +9 - 0.567score
doc-metadata
mhshaon98
Stamp the project's chosen author and company on every Word, Excel, PowerPoint or PDF file the agent creates or edits, and strip tool and AI fingerprints such…
SkillAFreshness: AClaude Code +9 - 0.567score
call-handoff
mhshaon98
Cold-start briefing from the project's newest handoff, open bugs and next-session prompt in two round-trips, then stop.
SkillAFreshness: AClaude Code +9 - 0.567score
codex-bridge
mhshaon98
Delegate a task to OpenAI Codex or get a non-Claude second review via the codex plugin.
SkillAFreshness: AClaude Code +9
Cite this page
antigravity-bridge skill. Agent Mart. https://agentmart.dev/skills/mhshaon98-antigravity-bridge (last updated 2026-10-24)