---
id: gh-agent-platform-skill-registry
name: "agent-platform-skill-registry"
url: https://skills.yangsir.net/skill/gh-agent-platform-skill-registry
author: google
domain: ai-skill-platform-ecosystem
tags: ["ai-agent-development", "skill-lifecycle-management", "developer-tools", "skill-standardization"]
install_count: 4500
rating: 4.40 (120 reviews)
github: https://github.com/google/skills/tree/main/skills/cloud/agent-platform-skill-registry
---

# agent-platform-skill-registry

> 此技能用于管理 Gemini 企业代理平台上的 Skill Registry，提供技能发现、生命周期管理、操作监控及新技能脚手架生成功能。它帮助开发者高效地搜索、上传、更新和删除代理技能，确保技能生态系统的规范化和可维护性。

**Stats**: 4,500 installs · 4.4/5 (120 reviews)

## Before / After 对比

### 代理技能管理效率

**Before**:

在没有这个技能之前，开发者需要手动跟踪、查找和部署代理技能，导致技能版本混乱、难以发现，且更新和删除操作耗时费力，严重影响开发效率和技能生态的健康。

**After**:

该 Skill 提供集中的技能注册表管理，使开发者能够快速搜索、上传、更新和删除代理技能。此技能显著简化了技能生命周期管理，确保了技能的规范化和易用性，大幅提升了开发和维护效率。

| Metric | Before | After | Change |
|---|---|---|---|
| 技能管理耗时 | 240分钟 | 30分钟 | -88% |

## Readme

# Skill Registry

This skill provides instructions for interacting with the **Skill Registry** on
the Gemini Enterprise Agent Platform.

## Core Capabilities

-   **Skill Discovery** - Query the registry to easily search, list, get
    specific skills, and inspect revision histories.
-   **Skill Lifecycle Management** - Upload, update, or permanently delete
    skills.
-   **Operation Monitoring** - Utility to check the completion status of
    long-running state changes (LROs).
-   **Generate Skill** - Automate the initial scaffolding of new agent skills
    locally.

## Core Directives

-   **Mandatory Validation**: ALWAYS execute the environment validation check
    before performing any operations.

    Before any operation, you **must** validate the core environment.

    ```bash
    # Execute the validation script
    python3 scripts/validate_env.py
    ```

## Prerequisites & Authentication

### Library & Authentication

Ensure you have the latest Google Cloud credentials and libraries installed.

```bash
# 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`).

--------------------------------------------------------------------------------

## Quickstart

Quickly search for available skills in the registry:

```bash
python3 scripts/skill_registry_ops.py search \
  --query "test skill" \
  --top-k 5
```

--------------------------------------------------------------------------------

## Operations

-   **Skill Discovery**: [query-skills.md](references/query-skills.md)
-   **Skill Lifecycle**: [manage-skills.md](references/manage-skills.md)
-   **Monitor Operations**:
    [monitor-operations.md](references/monitor-operations.md)
-   **Generate Skill**: [generate-skill.md](references/generate-skill.md)


---
*Source: https://skills.yangsir.net/skill/gh-agent-platform-skill-registry*
*Markdown mirror: https://skills.yangsir.net/api/skill/gh-agent-platform-skill-registry/markdown*