Collaborating With Antigravityのロゴ

Collaborating With Antigravity

コミュニティ
Boulea7
collaborating-with-antigravity

Delegate analytical, sandboxed, or long-running work to the Google Antigravity (agy) CLI via a JSON-bridge wrapper. Use when you need a second opinion, sandboxed execution, or a detached long-running agent loop. Install location is .agents/skills/collaborating-with-antigravity/.

概要

公開者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/codex/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/codex/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 (Codex edition)

agy-bridge is a thin JSON wrapper around the Google Antigravity (agy) CLI plus a gemini CLI fallback. The bridge returns stable BridgeResponse envelopes designed to drop cleanly into Codex's exec-json protocol via --output-protocol codex.

When to use

  • You want a second opinion from Antigravity / Gemini on a tricky bug, design call, or code review.
  • You want to prototype a change in an isolated worktree before touching the main checkout.
  • You want a long-running agent loop to run in the background while Codex continues other work.

Avoid for trivial single-step questions — the round-trip is overkill.

Quick start

bash
python scripts/agy_bridge.py \
  --cd "/path/to/project" \
  --PROMPT "Find every place that calls db.commit() without a try/except." \
  --mode review \
  --output-protocol codex

The bridge prints one JSON line on stdout: {"success": true, "SESSION_ID": "…", "agent_messages": "…", "adapter": {…}}. With --output-protocol codex the event log conforms to Codex exec-json (thread.started, item.completed, turn.completed).

Modes

ModeUse it forWorktreeWrites
ask (default)Q&A, code readingnono
planMulti-step planningnono
prototypeDiff-only suggestionsoptionalno
reviewCritique a staged changenono
executeApply edits in a worktreeyesrequires --allow-write
browserResearch with browsingnono
longDetached agent loopnovaries

Multi-turn

Capture and reuse SESSION_ID:

bash
# Turn 1
python scripts/agy_bridge.py --cd /proj --PROMPT "Find race conditions in src/queue/"
# → {"SESSION_ID": "abc-123", ...}

# Turn 2
python scripts/agy_bridge.py --cd /proj --SESSION_ID abc-123 \
  --PROMPT "Propose a minimal fix for the worst one."

Detached long jobs

Codex projects that run long agent loops should prefer the MCP tool surface (agy_start / agy_status / agy_result / agy_read / agy_cancel / agy_sessions) over polling the CLI in a shell loop. The supervisor handles worker thread lifecycle, log spooling, and cross-platform process-group cleanup.

Output protocols

  • --output-protocol codex — Codex-shaped exec-json events (thread.started, item.completed, turn.completed).
  • --output-protocol claude — Claude Code stream-json (default).
  • --output-protocol raw — internal canonical event envelope.

Safety

The bridge scrubs secrets from every error / log / response, runs under SafetyPolicy, and refuses destructive prompts even with --allow-write. The doctor (agy_doctor MCP tool, or python -m agy_mcp.doctor) reports the environment without leaking secrets.

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 + exit codes.
  • references/prompt-patterns.md — proven prompt scaffolds per mode.
  • references/security.md — threat model, secret scrub, denylist, worktree, audit log layout.

同梱ファイル

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

よくある質問

AIスキル「Collaborating With Antigravity」では何ができますか?

Delegate analytical, sandboxed, or long-running work to the Google Antigravity (agy) CLI via a JSON-bridge wrapper. Use when you need a second opinion, sandboxed execution, or a detached long-running agent loop. Install location is .agents/skills/collaborating-with-antigravity/.

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/codex/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ワークスペースを作成

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