1. はじめに

エージェント スキルは、専門知識とワークフローを使用して AI エージェントの機能を拡張するための軽量のオープン フォーマットです。MCP は、AI アプリケーションを外部システムに接続するための標準です。
エージェント プラグイン仕様は、エージェント スキルと MCP サーバーをポータブル プラグインにパッケージ化するための、オープンでベンダーに依存しない仕様です。
AI コーディング エージェント用の Google Cloud プラグインは、関連する Google Cloud スキルと MCP サーバーをインストール可能なバンドルにパッケージ化し、Google Cloud でより効果的な AI エージェントを実現します。
この Codelab では、これらのプラグインの 1 つである Google Cloud Developer プラグインと、Antigravity でこのプラグインをインストールして使用する方法について説明します。
演習内容
- エージェント プラグインについて理解する。
- Antigravity で Google Cloud Developer プラグインをインストールして確認します。
- Google Cloud Developer プラグインでインストールされたスキルと MCP サーバーをいくつかのプロンプトでテストします。
必要なもの
- ウェブブラウザ(Chrome など)。
- Google Cloud プロジェクト
- ローカルマシンに Antigravity と Antigravity CLI がインストールされている。
2. エージェント プラグインの詳細
エージェント プラグインは、エージェント スキルと MCP サーバーを次のようなディレクトリにバンドルするためのポータブル パッケージ形式です。
my-plugin/
├── plugin.json
├── skills/
│ └── my-skill/
│ ├── SKILL.md
│ ├── scripts/
│ └── references/
├── mcp.json
└── com.example.client/
plugin.jsonはプラグインを識別します。skills/にはエージェントのスキルが含まれます。mcp.jsonは MCP サーバーを記述します。- 逆ドメイン拡張機能の Namespace を使用すると、個々のクライアントでカスタム動作を追加できます。
Google エージェント スキル リポジトリには、Google Cloud を含む Google プロダクトとテクノロジーのエージェント スキルが含まれています。また、エージェント スキルと MCP サーバーを Google Cloud Developer プラグインなどのインストール可能なバンドルにバンドルするプラグインも含まれています。
Google Cloud Developer プラグインは、コーディング エージェント向けの Google Cloud ガイダンスを提供します。これには、最初のプロジェクトのオンボーディング、認証と認証情報の選択、gcloud CLI コマンドの安全性の検証が含まれます。グラウンディングされた最新の Google Cloud ドキュメント用の Google Developer Knowledge MCP サーバーが含まれています。
3. Google Cloud Developer Plugin をインストールする
Antigravity CLI は、Antigravity エコシステム全体(Antigravity、Antigravity CLI、Antigravity IDE)のエージェント プラグインをインストールする最も簡単な方法です。
パスを指定して、Antigravity CLI に Google Cloud Developer プラグインをインストールします。
agy plugin install https://github.com/google/skills/plugins/cloud/google-cloud-developer
プラグインがインストールされ、いくつかのスキルと MCP サーバーが表示されます。
Cloning plugin from https://github.com/google/skills.git...
[ok] google-cloud-developer
✔ skills : 5 processed
- agents : skipped (not found)
- commands : skipped (not found)
✔ mcpServers : 1 processed
- hooks : skipped (not found)
4. Google Cloud Developer Plugin を確認する
次に、Google Cloud Developer プラグインについて説明します。
まず、プラグインが Antigravity CLI にリストされていることを確認します。
agy plugin list
{
"imports": [
{
"name": "google-cloud-developer",
"source": "antigravity",
"importedAt": "2026-09-04T10:41:05Z",
"components": [
"skills",
"mcpServers"
]
}
]
}
Antigravity CLI は、プラグインを .gemini/config/plugins/ フォルダにグローバルにインストールします。つまり、このプラグインは Antigravity、Antigravity CLI、Antigravity IDE で使用できます。
.gemini/config/plugins/google-cloud-developer フォルダには、プラグイン マニフェスト ファイル、スキル、MCP サーバーを含む Google Cloud Developer プラグインがあります。
google-cloud-developer/
├── ...
├── skills/
│ ├── finding-google-skills/
│ ├── gcloud/
│ ├── google-cloud-recipe-auth/
│ ├── google-cloud-recipe-onboarding/
│ └── retrieving-developer-knowledge/
├── mcp.json
└── plugin.json
最初のプロジェクトのオンボーディング、認証と認証情報の選択、gcloud CLI コマンドの安全性が重要な検証に関するスキルを習得できます。また、グラウンディングされた最新の Google Cloud ドキュメント用の Google Developer Knowledge MCP サーバーも含まれています。
また、Antigravity に切り替えて、インストールされているスキルをチャットで尋ねることもできます。
Which skills are available?
組み込みの Antigravity スキルだけでなく、Google Cloud Developer プラグインのスキルも一覧表示されます。
...
2. Google Cloud Developer Plugin Skills
Installed via the google-cloud-developer plugin in
~/.gemini/config/plugins/google-cloud-developer/skills/:
finding-google-skills: Dynamically locates and loads specialized Google product skills on-demand from the remote catalog index (e.g., GKE, BigQuery, Vertex AI, Firebase).
gcloud: Validation guardrails, syntax rules, and data reduction for executing gcloud CLI commands safely.
google-cloud-recipe-auth: Guidance on authentication and authorization patterns (ADC, service accounts, IAM, and workload identity).
google-cloud-recipe-onboarding: Step-by-step walkthrough for onboarding new Google Cloud projects, billing accounts, and first deployments.
retrieving-developer-knowledge: Integration with the developer-knowledge MCP server to retrieve official Google developer documentation and API references.
また、[設定] > [カスタマイズ] に移動すると、これらのスキルが利用可能になっていることも確認できます。

注: [Customizations] には [Installed MCP Servers] セクションがありますが、現在、MCP サーバーはプラグインの一部として表示されません。

ただし、チャットで MCP サーバーについて Antigravity に質問することはできます。
Which MCP servers are available?
プラグインの一部としてインストールされた Developer Knowledge MCP を認識する必要があります。
Based on your Antigravity configuration and cached tool definitions, here are the MCP servers and their statuses:
1. Actively Configured Plugin Server
Configured in
~/.gemini/config/plugins/google-cloud-developer/mcp.json
:
developer-knowledge
Type / URL: Streamable HTTP (https://developerknowledge.googleapis.com/mcp)
Provided Tools:
search_documents: Search official Google developer documentation
get_documents: Retrieve document content
answer_query: Synthesize developer query answers
5. Google Cloud Developer プラグインの演習
Developer Knowledge API を有効にする
まず、Google Cloud プロジェクトで Developer Knowledge API が有効になっていることを確認します。これは、Developer Knowledge MCP サーバーに必要です。
- Google Cloud コンソールで Developer Knowledge API を検索します。
- [Developer Knowledge API] ページで、[API を有効にする] をクリックします。
それでは、Google Cloud Developer プラグインがさまざまなシナリオでどのように役立つかを確認するために、いくつかのプロンプトを試してみましょう。
このプラグインはグローバルで利用できるため、Antigravity または Antigravity CLI でこれらのプロンプトを試すことができます。
オンボーディング
Google Cloud を初めて利用する場合は、まず基本的なオンボーディングに関する質問をします。
I'm new to Google Cloud. How can I create a new project with billing enabled?
google-cloud-recipe-onboarding スキルが有効になっていることがわかります。
Worked for 1m ˅
Explored 1 file ˅
> Analyzed google-cloud-recipe-onboarding/SKILL.md
手順が記載された返信が届きます。
To get started with Google Cloud, you will need an active Google Cloud account and an authorized terminal session:
Google Cloud Account & Console: If you haven't already, sign up and access the Google Cloud Console where you can manage accounts, projects, and set up a Cloud Billing account (new accounts are eligible for the $300 Free Trial).
...
認証
認証に関する質問を試してください。
How can I authenticate my local machine with Google Cloud?
google-cloud-recipe-auth スキルが有効になっていることがわかります。
Worked for 1m ˅
Explored 1 file ˅
> Analyzed google-cloud-recipe-auth/SKILL.md
認証を行うコマンドが表示されます。
To authenticate your local machine with Google Cloud, there are two primary methods depending on whether you want to use the CLI or run code/client libraries locally:
1. Authenticate the CLI (gcloud)
Use this to run gcloud, bq, and gsutil management commands in your terminal:
bash
gcloud auth login
This opens a web browser asking you to log in with your Google Account and grant permissions.
If you are on a remote server without a web browser, use:
bash
...
デベロッパーの知識
公式ドキュメントから回答を得るための質問をすることもできます。
次に例を示します。
What's the difference between Cloud Run and GKE according to the official docs?
関連するスキルが有効になり、developer-knowledge MCP サーバーが使用されます。
Exploring 2 files ˅
* Analyzed retrieving-developer-knowledge/SKILL.md
* Analyzed answer_query.json
MCP Tool: developer-knowledge / answer_query ˅
Tool arguments
```json
{
"query": "What is the difference between Cloud Run and Google Kubernetes Engine (GKE) according to official Google Cloud documentation?"
}
他の Google スキルを探す
最後に、Google Cloud Developer プラグインは、スキルをオンデマンドで検出して読み込むことができます。
たとえば、次のように質問できます。
I want to start using Firebase
finding-google-skills スキルが有効になり、関連する Firebase スキルが検出されてインストールされたことがわかります。
Explored 1 file ˅
* Analyzed finding-google-skills/SKILL.md
Ran `curl -sS https://raw.githubusercontent.com/google/skills/main/index.json | jq -r '.skills[ >`
Exploring 3 files, 2 searches ˅
* Reading skills catalog
* Searched firebase
* Fetching Firebase skill
6. クリーンアップ
Developer Knowledge API を無効にします。
- Google Cloud コンソールで Developer Knowledge API を検索します。
- [Developer Knowledge API] ページで、[管理]、[API を無効にする] の順にクリックします。
Antigravity CLI を使用して Google Cloud Developer プラグインをアンインストールします。
agy plugin uninstall google-cloud-developer
Uninstalled plugin "google-cloud-developer"
7. 完了
おめでとうございます!Antigravity で Google Cloud Developer プラグインをインストールして使用できました。詳しくは以下のリソースをご覧ください。