跳到主要内容
知仓学习社ZHICANG

agent-platform-skill-registry

>

读凭据读文件联网严重 0 · 高危 3google/skills

它会碰到什么

扫了多少8 个文本文件,21 KB
它会碰到什么读凭据读文件联网
命中总数14 处
命中统计严重 0 · 高 3 · 中 10 · 低 1
逐条看命中(3 条严重或高危)
  • scripts/skill_registry_ops.py:293cred-envread
    parser.add_argument("--project", default=os.environ.get("GCP_PROJECT_ID"))
  • scripts/skill_registry_ops.py:294cred-envread
    parser.add_argument("--location", default=os.environ.get("GCP_LOCATION"))
  • scripts/validate_env.py:10cred-envread
    missing = [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 拉。许可未声明的技能只给原始仓库链接,不打包。