Collaborating With Antigravityのロゴ

Collaborating With Antigravity

コミュニティ
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.

概要

公開者Boulea7
リポジトリagy-mcp
スキル名collaborating-with-antigravity
スター
26
フォーク
8
同梱ファイル
4
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 4個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    Boulea7がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Collaborating With Antigravity」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Boulea7/agy-mcp/tree/main/skills/claude/collaborating-with-antigravity
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCollaborating With Antigravityを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にCollaborating With Antigravityを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Collaborating With Antigravityは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでCollaborating With Antigravityを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Collaborating With Antigravityはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCollaborating With Antigravityをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Boulea7/agy-mcp/tree/main/skills/claude/collaborating-with-antigravityを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Collaborating With Antigravityを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Collaborating With Antigravityで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCollaborating With Antigravityを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Collaborating With Antigravity」は無料ですか?

はい。Boulea7がMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇