התקנה ושימוש בפלאגין Google Cloud Developer ב-Antigravity

1. מבוא

d885ca68e4ec9bca.png

מיומנויות סוכן הן פורמט קל משקל ופתוח להרחבת היכולות של סוכני AI באמצעות ידע ותהליכי עבודה מיוחדים. ‫MCP הוא תקן לחיבור אפליקציות AI למערכות חיצוניות.

המפרט של תוספים לסוכן הוא מפרט פתוח וניטרלי לספקים, שמאפשר לארוז יכולות של סוכנים ושרתי MCP בתוספים ניידים.

תוספים של Google Cloud לסוכני AI לקידוד מאגדים מיומנויות רלוונטיות של Google Cloud ושרתי MCP בחבילות שניתנות להתקנה, כדי ליצור סוכני AI יעילים יותר ב-Google Cloud.

ב-Codelab הזה תלמדו על אחד מהתוספים האלה, Google Cloud Developer plugin, ואיך להתקין ולהשתמש בתוסף הזה ב-Antigravity.

הפעולות שתבצעו:

  • הסבר על תוספים לנציגים
  • מתקינים את הפלאגין Google Cloud Developer ב-Antigravity ומתנסים בו.
  • אפשר לבדוק את הכישורים ואת שרתי ה-MCP שהותקנו על ידי הפלאגין Google Cloud Developer באמצעות כמה הנחיות.

הדרישות

  • דפדפן אינטרנט כמו 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.
  • מרחבי שמות של תוספים הפוכים לדומיין מאפשרים ללקוחות פרטיים להוסיף התנהגות מותאמת אישית.

מאגר הכישורים של סוכני Google מכיל כישורים של סוכנים למוצרים ולטכנולוגיות של Google, כולל Google Cloud. הוא מכיל גם פלאגינים שמאגדים מיומנויות של סוכנים ושרתי MCP בחבילות שניתנות להתקנה, כמו הפלאגין Google Cloud Developer.

Google Cloud Developer plugin מספק הנחיות לשימוש ב-Google Cloud לסוכני קידוד: צירוף לפרויקט הראשון, אימות ובחירת פרטי כניסה, ואימות קריטי לבטיחות עבור ה-CLI של gcloud. כולל את שרת ה-MCP של Google Developer Knowledge לקבלת תיעוד מעודכן של Google Cloud.

3. התקנת הפלאגין Google Cloud Developer

‫Antigravity CLI היא הדרך הכי קלה להתקין פלאגינים של סוכנים לכל האקוסיסטם של Antigravity (‏Antigravity, ‏ Antigravity CLI, ‏ Antigravity IDE).

נתקין את התוסף Google Cloud Developer ב-Antigravity CLI על ידי ציון הנתיב שלו:

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 יופיע Google Cloud Developer plugin עם קובץ מניפסט של הפלאגין, מיומנויות ושרת MCP:

google-cloud-developer/
├── ...
├── skills/
│   ├── finding-google-skills/
│   ├── gcloud/
│   ├── google-cloud-recipe-auth/
│   ├── google-cloud-recipe-onboarding/
│   └── retrieving-developer-knowledge/
├── mcp.json
└── plugin.json

תוכלו ללמוד מיומנויות בנושאים כמו צירוף לפרויקט ראשון, אימות ובחירת פרטי כניסה, ואימות קריטי לבטיחות של פקודות ב-CLI של gcloud. הוא כולל גם את שרת Google Developer Knowledge MCP, שמאפשר גישה למסמכי Google Cloud עדכניים ומבוססי-הקשר.

אפשר גם לעבור אל 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.

בנוסף, עוברים אל הגדרות > התאמות אישיות, ורואים שהמיומנויות האלה זמינות גם שם:

a320a149dcd6452b.png

הערה: בקטע'התאמות אישיות' יש קטע Installed MCP Servers (שרתי MCP מותקנים), אבל כרגע לא מוצגים בו שרתי MCP כחלק מהתוסף:

b4601ca58751392b.png

עם זאת, אפשר לשאול את Antigravity בצ'אט על שרתי MCP:

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 Knowledge API

קודם צריך לוודא ש-Developer Knowledge API מופעל בפרויקט ב-Google Cloud. הפעולה הזו נדרשת עבור שרת ה-MCP של Developer Knowledge:

  1. במסוף Google Cloud, מחפשים את Developer Knowledge API.
  2. בדף Developer Knowledge API, לוחצים על Enable 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?

הכישורים הרלוונטיים יופעלו, והם ישתמשו בשרת ה-MCP של developer-knowledge:

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:‏

  1. במסוף Google Cloud, מחפשים את Developer Knowledge API.
  2. בדף Developer Knowledge API, לוחצים על Manage ואז על Disable API.

מסירים את הפלאגין Google Cloud Developer באמצעות Antigravity CLI:

agy plugin uninstall google-cloud-developer
Uninstalled plugin "google-cloud-developer"

7. מזל טוב

מעולה! התקנת והשתמשת בהצלחה בתוסף Google Cloud Developer ב-Antigravity. מידע נוסף זמין במקורות המידע הבאים: