agent-platform-skill-registry
此技能用于管理 Gemini 企业代理平台上的 Skill Registry,提供技能发现、生命周期管理、操作监控及新技能脚手架生成功能。它帮助开发者高效地搜索、上传、更新和删除代理技能,确保技能生态系统的规范化和可维护性。
npx skills add https://github.com/google/skills --skill agent-platform-skill-registryBefore / After 效果对比
1 组在没有这个技能之前,开发者需要手动跟踪、查找和部署代理技能,导致技能版本混乱、难以发现,且更新和删除操作耗时费力,严重影响开发效率和技能生态的健康。
该 Skill 提供集中的技能注册表管理,使开发者能够快速搜索、上传、更新和删除代理技能。此技能显著简化了技能生命周期管理,确保了技能的规范化和易用性,大幅提升了开发和维护效率。
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.
# Execute the validation script python3 scripts/validate_env.py
Prerequisites & Authentication
Library & Authentication
Ensure you have the latest Google Cloud credentials and libraries installed.
# 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:
python3 scripts/skill_registry_ops.py search \
--query "test skill" \
--top-k 5
Operations
- Skill Discovery: query-skills.md
- Skill Lifecycle: manage-skills.md
- Monitor Operations: monitor-operations.md
- Generate Skill: generate-skill.md
用户评价 (0)
发表评价
暂无评价
统计数据
用户评分
为此 Skill 评分