agent-platform-skill-registry
>
它会碰到什么
逐条看命中(3 条严重或高危)
- 高
scripts/skill_registry_ops.py:293cred-envreadparser.add_argument("--project", default=os.environ.get("GCP_PROJECT_ID")) - 高
scripts/skill_registry_ops.py:294cred-envreadparser.add_argument("--location", default=os.environ.get("GCP_LOCATION")) - 高
scripts/validate_env.py:10cred-envreadmissing = [v for v in required if not os.environ.get(v)]
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
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](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)
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。