Collaborating With Antigravity logo

Collaborating With Antigravity

Community
Boulea7
collaborating-with-antigravity

Delegate analytical, sandboxed, or long-running work to the Google Antigravity (agy) CLI through a JSON-bridge wrapper. Use when you need a second opinion, want to isolate side effects in a worktree, or need to run a long agent loop without blocking the main conversation.

Overview

PublisherBoulea7
Repositoryagy-mcp
Skill namecollaborating-with-antigravity
Stars
26
Forks
8
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Boulea7 on GitHub. Read the source before you install it.

Installation

Install the Collaborating With Antigravity AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Boulea7/agy-mcp/tree/main/skills/claude/collaborating-with-antigravity
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Boulea7/agy-mcp.git /tmp/agy-mcp
mkdir -p .claude/skills
cp -r /tmp/agy-mcp/skills/claude/collaborating-with-antigravity .claude/skills/collaborating-with-antigravity
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Collaborating With Antigravity in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Collaborating With Antigravity on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Collaborating With Antigravity is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Collaborating with Antigravity

agy-bridge is a thin JSON wrapper around the Google Antigravity (agy) CLI plus an optional gemini CLI fallback. It produces stable BridgeResponse envelopes so this skill can drive Antigravity sessions deterministically.

When to use

  • You need a second opinion on a debugging hypothesis or a code review.
  • You need to prototype a change in isolation (auto-worktree).
  • You need to run a long agent loop (planning, large refactors) without blocking your own conversation: start a background job and poll.
  • You want a sandboxed execution of code Antigravity proposes.

Do not use for trivial one-shot questions — the round-trip overhead is not worth it. Prefer direct work for those.

Quick start

bash
# One-shot synchronous call (ask mode, no write):
python scripts/agy_bridge.py \
  --cd "/path/to/project" \
  --PROMPT "Explain the auth flow in src/auth/"

Output is a single JSON line on stdout: {"success": true, "SESSION_ID": "…", "agent_messages": "…", "adapter": {…}, …}.

Modes

--mode controls the agent persona and downstream safety policy:

ModeUse it forWorktree?Writes?
ask (default)Q&A, code reading, design discussionnono
planMulti-step planning, breakdownnono
prototypeGenerate diffs for reviewoptionalno
reviewCode review of staged changesnono
executeMake file edits in the workspaceyesrequires --allow-write
browserInteractive browsing / researchnono
longMulti-hour agent loop, expect to poll statusnono

execute always creates a worktree by default; combine with --allow-write to opt in to mutations. The worktree default is configurable in ~/.config/agy-mcp/config.toml (see references/security.md).

Multi-turn

Capture SESSION_ID from the first response, then pass it back:

bash
# Turn 1
python scripts/agy_bridge.py --cd "/proj" --PROMPT "Analyse src/auth/"
# → {"SESSION_ID": "abc-123", "agent_messages": "…"}

# Turn 2 (continues the same conversation)
python scripts/agy_bridge.py --cd "/proj" --SESSION_ID abc-123 \
  --PROMPT "Now propose a refactor."

Long jobs (start / status / result / read / cancel)

For tasks that exceed a single Claude turn, use the supervisor surface via the MCP tools agy_start / agy_status / agy_result / agy_read / agy_cancel. See references/usage.md for full examples.

Capability detection

The bridge advertises adapter capabilities in every response under "adapter". Trust those over your prior assumptions — agy does not stream tokens, so supports_streaming=false is normal; gemini does, so the fallback path returns finer-grained events.

Output protocols

--output-protocol claude (default) emits events shaped like Claude Code stream-json. --output-protocol codex emits OpenAI Codex exec-json. --output-protocol raw returns the canonical event envelope unchanged. Pick the one that matches your downstream parser.

Safety floor

  • Secrets are scrubbed from every response and log via SafetyPolicy.
  • --allow-write is required for any mutation; safety policy denies destructive prompts even with the flag.
  • Long jobs expose exit_code and timing on the JobRecord returned by agy_status.

Review prompt profile

For ordinary code review, call agy(..., mode="review") with a narrow scope and ask for P0/P1/P2 findings first. For high-risk changes, use the adversarial review prompt profile in references/prompt-patterns.md: ask Antigravity to attack correctness, security boundaries, concurrency, state persistence, rollback, and missing tests. Treat it as a stricter prompt, not a separate bridge mode.

Detailed references

  • references/usage.md — full CLI flag reference, MCP tool surface, long-job patterns, exit codes.
  • references/prompt-patterns.md — proven prompt scaffolds for ask, plan, prototype, review, and execute modes.
  • references/security.md — threat model, secret handling, denylist, worktree behaviour, audit log layout.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Collaborating With Antigravity AI skill do?

Delegate analytical, sandboxed, or long-running work to the Google Antigravity (agy) CLI through a JSON-bridge wrapper. Use when you need a second opinion, want to isolate side effects in a worktree, or need to run a long agent loop without blocking the main conversation.

Why use Collaborating With Antigravity on TypingMind?

Because you install it once and use it with any model. Collaborating With Antigravity is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Collaborating With Antigravity in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Boulea7/agy-mcp/tree/main/skills/claude/collaborating-with-antigravity. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Collaborating With Antigravity?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Collaborating With Antigravity?

As many as you like. As long as a model supports skills, you can use Collaborating With Antigravity with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Collaborating With Antigravity AI skill free?

Yes. It is published on GitHub by Boulea7 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇