[!WARNING]
Preview: This feature is subject to the "Pre-GA Offerings Terms" in the
General Service Terms section of the Service Specific
Terms. When you use this
feature with AI Agents, the terms applicable to AI Agents in the Agreement
apply. Pre-GA features are available "as is" and might have limited support.
For more information, see the launch stage
descriptions.
[!NOTE]
To see an example of creating and managing skills in Skill Registry, run the
"Intro to Skill Registry" notebook in one of the following environments:
Open in Colab
Open in Colab Enterprise
Open in Agent Platform Workbench
View on GitHub
Skill Registry
This skill provides instructions for interacting with the Skill Registry on
the Gemini Enterprise Agent Platform. The Skill Registry allows you to create,
update, list, get, delete, and search for skills, as well as manage revisions
and monitor long-running operations.
Core Capabilities
- Skill Discovery — Query the registry to easily search, list, get
specific skills, get skill revisions, and inspect revision histories.
- Skill Lifecycle Management — Create, update, or permanently delete
skills with support for zipped or folder-based payloads.
- Semantic Search — Use the
RetrieveSkills method to find skills by
describing the task you want to accomplish (e.g., "find skills to manage
cloud resources").
- Revision Management — List and inspect individual revisions of a skill.
- Operation Monitoring — Check the completion status of long-running
operations (LROs) returned by create, update, and delete actions.
- Generate Skill — Automate the initial scaffolding of new agent skills
locally.
Core Directives
Prerequisites & Authentication
Permissions
- For read-only access (list, get, search, list revisions, get revisions), the
roles/aiplatform.viewer role is sufficient.
- For write operations (create, update, delete), you need
roles/aiplatform.admin or equivalent.
- Skill Registry inherits project-level permissions.
Library & Authentication
# Install required libraries
pip install google-auth requests
# Authenticate with Google Cloud
gcloud auth application-default login
Environment Variables
The following variables are required for operations:
GCP_PROJECT_ID: Your Google Cloud project ID.
GCP_LOCATION: The region (e.g., us-central1). See Available
regions below.
Compliance
| Feature |
Status |
| Access Transparency |
Supported |
| Data Residency (DRZ) in US and EU |
Supported |
| Customer-Managed Encryption Keys (CMEK) |
Not Supported |
| HIPAA certification |
Not Supported |
| VPC-SC |
Not Supported |
Available regions
| Region |
Location |
us-central1 |
Iowa |
europe-west4 |
Netherlands |
us-east5 |
Columbus, Ohio |
Skill ID constraints
The SKILL_ID is immutable and remains permanently reserved once created,
even if you delete the skill later. Skill IDs must adhere to the following
constraints:
- Must be 1 to 63 characters long.
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter and end with a letter or number.
- Must not start with
gcp- (this prefix is reserved for built-in skills).
Note: Use a descriptive SKILL_ID. Since the SKILL_ID becomes the
folder name when the skill is attached to an agent, a meaningful name helps
the model understand the skill's purpose.
Caution: Built-in skills with IDs starting with gcp- cannot be deleted.
When you delete a skill, its SKILL_ID is reserved and cannot be reused for
24 hours.
Quickstart
Quickly search for available skills in the registry:
python3 scripts/skill_registry_ops.py search \
--query "test skill" \
--top-k 5
Operations
- Skill Discovery: query-skills.md — Search,
list, get, retrieve skills, and inspect revision histories with REST,
Python, and Node.js examples.
- Skill Lifecycle: manage-skills.md —
Create, update, and delete skills with REST, Python, and Node.js examples.
- Monitor Operations:
monitor-operations.md — Check the
status of long-running operations.
- Generate Skill: generate-skill.md —
Scaffold new agent skills locally.
What's next
- Attach skills to an agent: Learn how to attach registered skills when
creating or updating an agent using the Managed Agents API on Agent Platform.
See guide
- ADK Skill Registry integration: Learn how to integrate with Skill
Registry in the Agent Development Kit (ADK).
See documentation
1---
2name: agent-platform-skill-registry
3metadata:
4 source: https://skillmd.com/skills/solizardking/agent-platform-skill-registry
5 category: AiAndMachineLearning
6description: >
7 Interact with the Gemini Enterprise Agent Platform Skill Registry to create,
8 update, manage, and search for skills. Use this skill to enable agents to
9 register new functionality, discover existing capabilities, manage skill
10 revisions, and monitor long-running operations.
11---
12
13> [!WARNING]
14> **Preview:** This feature is subject to the "Pre-GA Offerings Terms" in the
15> General Service Terms section of the [Service Specific
16> Terms](https://cloud.google.com/terms/service-terms#1). When you use this
17> feature with AI Agents, the terms applicable to AI Agents in the Agreement
18> apply. Pre-GA features are available "as is" and might have limited support.
19> For more information, see the [launch stage
20> descriptions](https://cloud.google.com/products#product-launch-stages).
21
22> [!NOTE]
23> To see an example of creating and managing skills in Skill Registry, run the
24> "Intro to Skill Registry" notebook in one of the following environments:
25>
26> [Open in Colab](https://colab.research.google.com/github/GoogleCloudPlatform/generative-ai/blob/main/agents/skill-registry/intro_skill_registry.ipynb)
27>
28> [Open in Colab Enterprise](https://console.cloud.google.com/agent-platform/colab/import/https%3A%2F%2Fraw.githubusercontent.com%2FGoogleCloudPlatform%2Fgenerative-ai%2Fmain%2Fagents%2Fskill-registry%2Fintro_skill_registry.ipynb)
29>
30> [Open in Agent Platform Workbench](https://console.cloud.google.com/agent-platform/workbench/deploy-notebook?download_url=https://raw.githubusercontent.com/GoogleCloudPlatform/generative-ai/main/agents/skill-registry/intro_skill_registry.ipynb)
31>
32> [View on GitHub](https://github.com/GoogleCloudPlatform/generative-ai/blob/main/agents/skill-registry/intro_skill_registry.ipynb)
33
34# Skill Registry
35
36This skill provides instructions for interacting with the **Skill Registry** on
37the Gemini Enterprise Agent Platform. The Skill Registry allows you to create,
38update, list, get, delete, and search for skills, as well as manage revisions
39and monitor long-running operations.
40
41## Core Capabilities
42
43- **Skill Discovery** — Query the registry to easily search, list, get
44 specific skills, get skill revisions, and inspect revision histories.
45- **Skill Lifecycle Management** — Create, update, or permanently delete
46 skills with support for zipped or folder-based payloads.
47- **Semantic Search** — Use the `RetrieveSkills` method to find skills by
48 describing the task you want to accomplish (e.g., "find skills to manage
49 cloud resources").
50- **Revision Management** — List and inspect individual revisions of a skill.
51- **Operation Monitoring** — Check the completion status of long-running
52 operations (LROs) returned by create, update, and delete actions.
53- **Generate Skill** — Automate the initial scaffolding of new agent skills
54 locally.
55
56## Core Directives
57
58- **Mandatory Validation**: ALWAYS execute the environment validation check
59 before performing any operations.
60
61 ```bash
62 python3 scripts/validate_env.py
63 ```
64
65## Prerequisites & Authentication
66
67### Permissions
68
69- For read-only access (list, get, search, list revisions, get revisions), the
70 `roles/aiplatform.viewer` role is sufficient.
71- For write operations (create, update, delete), you need
72 `roles/aiplatform.admin` or equivalent.
73- Skill Registry inherits project-level permissions.
74
75### Library & Authentication
76
77```bash
78# Install required libraries
79pip install google-auth requests
80
81# Authenticate with Google Cloud
82gcloud auth application-default login
83```
84
85### Environment Variables
86
87The following variables are required for operations:
88
89- `GCP_PROJECT_ID`: Your Google Cloud project ID.
90- `GCP_LOCATION`: The region (e.g., `us-central1`). See [Available
91 regions](#available-regions) below.
92
93## Compliance
94
95| Feature | Status |
96|---|---|
97| Access Transparency | Supported |
98| Data Residency (DRZ) in US and EU | Supported |
99| Customer-Managed Encryption Keys (CMEK) | Not Supported |
100| HIPAA certification | Not Supported |
101| VPC-SC | Not Supported |
102
103## Available regions
104
105| Region | Location |
106|---|---|
107| `us-central1` | Iowa |
108| `europe-west4` | Netherlands |
109| `us-east5` | Columbus, Ohio |
110
111## Skill ID constraints
112
113The `SKILL_ID` is **immutable** and remains permanently reserved once created,
114even if you delete the skill later. Skill IDs must adhere to the following
115constraints:
116
117- Must be 1 to 63 characters long.
118- Must contain only lowercase letters, numbers, and hyphens.
119- Must start with a letter and end with a letter or number.
120- Must not start with `gcp-` (this prefix is reserved for built-in skills).
121
122> **Note:** Use a descriptive `SKILL_ID`. Since the `SKILL_ID` becomes the
123> folder name when the skill is attached to an agent, a meaningful name helps
124> the model understand the skill's purpose.
125
126> **Caution:** Built-in skills with IDs starting with `gcp-` cannot be deleted.
127> When you delete a skill, its `SKILL_ID` is reserved and cannot be reused for
128> 24 hours.
129
130## Quickstart
131
132Quickly search for available skills in the registry:
133
134```bash
135python3 scripts/skill_registry_ops.py search \
136 --query "test skill" \
137 --top-k 5
138```
139
140---
141
142## Operations
143
144- **Skill Discovery**: [query-skills.md](references/query-skills.md) — Search,
145 list, get, retrieve skills, and inspect revision histories with REST,
146 Python, and Node.js examples.
147- **Skill Lifecycle**: [manage-skills.md](references/manage-skills.md) —
148 Create, update, and delete skills with REST, Python, and Node.js examples.
149- **Monitor Operations**:
150 [monitor-operations.md](references/monitor-operations.md) — Check the
151 status of long-running operations.
152- **Generate Skill**: [generate-skill.md](references/generate-skill.md) —
153 Scaffold new agent skills locally.
154
155## What's next
156
157- **Attach skills to an agent**: Learn how to attach registered skills when
158 creating or updating an agent using the Managed Agents API on Agent Platform.
159 [See guide](https://docs.cloud.google.com/gemini-enterprise-agent-platform/build/managed-agents/create-manage#create-attach-skills)
160- **ADK Skill Registry integration**: Learn how to integrate with Skill
161 Registry in the Agent Development Kit (ADK).
162 [See documentation](https://adk.dev/integrations/skills-registry/)