Resource: Skill
Represents an Executable Agent Skill or a Composite Tool Suite (Bundle). Sibling resource with Agent and McpServer under agentregistry.googleapis.com.
| JSON representation |
|---|
{ "name": string, "uid": string, "displayName": string, "description": string, "type": enum ( |
| Fields | |
|---|---|
name |
Identifier. Resource name of the Skill. Format: |
uid |
Output only. Universally unique identifier (UUID4) for the logical container. |
displayName |
Required. Human-readable display name of the skill. Maximum length is 128 characters. |
description |
Optional. Brief summary describing the capabilities of the skill. Maximum length is 2048 characters. |
type |
Required. Structural deployment type (SIMPLE leaf vs COMPOSITE bundle). |
state |
Output only. The system-managed state of the skill. |
targetState |
Required. User-managed target state of the skill. |
defaultRevision |
Optional. The full resource name of the revision currently served by default (floating track). Format: |
frontmatter |
Output only. Lightweight frontmatter metadata attributes copied from the default revision. |
skillId |
Output only. A stable, globally unique logical identifier for the skill. It is securely constructed by the backend by combining the associated |
createTime |
Output only. Create time. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. Update time. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
publisher |
Optional. The publisher resource associated with this skill. Format: |
initialRevision |
Optional. Input only. Optional nested initial revision payload to support standard one-shot creation. The server processes this field on input during creation but must never return it in responses. |
Type
The structural type of the Skill.
| Enums | |
|---|---|
TYPE_UNSPECIFIED |
Default value. This value is unused. |
SIMPLE |
A standard, leaf executable skill containing natural language and code. |
State
System-managed state.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
Default value. This value is unused. |
STATE_CREATING |
The skill is being created. It is not served. |
STATE_DRAFT |
The skill is in draft, or lacks a valid payload. It is not served. |
STATE_ACTIVE |
The skill is active and is served. |
STATE_DISABLED |
The skill is disabled and is not served. |
STATE_DEPRECATED |
The skill is deprecated. It is served, but emits warnings. |
STATE_DECOMMISSIONED |
The skill is decommissioned and is not served. |
STATE_DELETING |
The skill is being deleted. It is not served. |
TargetState
User-configurable target state.
| Enums | |
|---|---|
TARGET_STATE_UNSPECIFIED |
Default value. This value is unused. |
TARGET_STATE_DRAFT |
The skill is in draft and cannot be served. |
TARGET_STATE_ACTIVE |
The skill is active and can be served. |
TARGET_STATE_DISABLED |
The skill is disabled and cannot be served. |
TARGET_STATE_DEPRECATED |
The skill is deprecated. It can still be served, but emits warnings. |
TARGET_STATE_DECOMMISSIONED |
The skill is decommissioned and cannot be served. |
Methods |
|
|---|---|
|
========================================================================= Skills Collection APIsCreates a Skill resource container, optionally publishing the initial SkillRevision inline in a single, atomic CRUD roundtrip. |
|
Deletes a Skill container along with all its revisions. |
|
Fetches the active configuration and metadata of a Skill. |
|
Lists logical Skills available in a project. |
|
Updates Skill metadata or overrides active pointers/state using REST standard PATCH. |
|
Custom deep-search method to filter by frontmatter or query SKILL.md text blobs. |