agent-platform-skill-registry
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSkill Registry
Skill Registry
This skill provides instructions for interacting with the Skill Registry on
the Gemini Enterprise Agent Platform.
本技能提供了与Gemini Enterprise Agent Platform上的Skill Registry进行交互的操作指南。
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.
- Skill Discovery - 查询注册表,轻松搜索、列出、获取特定技能并查看修订历史。
- Skill Lifecycle Management - 上传、更新或永久删除技能。
- Operation Monitoring - 用于检查长时间运行的状态变更(LROs)完成状态的实用工具。
- Generate Skill - 在本地自动生成新Agent技能的初始框架。
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
-
强制验证:执行任何操作前,必须先运行环境验证检查。在执行任何操作前,你必须验证核心环境。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
undefined确保已安装最新的Google Cloud凭据和库。
bash
undefinedInstall required libraries
Install required libraries
pip install google-auth requests
pip install google-auth requests
Authenticate with Google Cloud
Authenticate with Google Cloud
gcloud auth application-default login
undefinedgcloud auth application-default login
undefinedEnvironment Variables
环境变量
The following variables are required for operations:
- : Your Google Cloud Project ID.
GCP_PROJECT_ID - : The region (e.g.,
GCP_LOCATION).us-central1
操作需要以下变量:
- : 你的Google Cloud项目ID。
GCP_PROJECT_ID - : 区域(例如:
GCP_LOCATION)。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快速搜索注册表中的可用技能:
bash
python3 scripts/skill_registry_ops.py search \
--query "test skill" \
--top-k 5Operations
操作
- Skill Discovery: query-skills.md
- Skill Lifecycle: manage-skills.md
- Monitor Operations: monitor-operations.md
- Generate Skill: generate-skill.md
- Skill Discovery: query-skills.md
- Skill Lifecycle: manage-skills.md
- Monitor Operations: monitor-operations.md
- Generate Skill: generate-skill.md