agent-platform-skill-registry
Interact with the Gemini Enterprise Agent Platform Skill Registry to create and search for available skills. Use this skill to enable agents to register functionality or discover new capabilities.
- License 许可
- Apache-2.0
- 所属仓库
- google/skills
- 最近更新
- 2026-11-12
- Stars
- ★ 2.4w
- Forks
- 2.0k
01 前言 Front Matter
- name
- agent-platform-skill-registry
- metadata
- { "version": "1.0.1", "category": "AiAndMachineLearning" }
- description
- Interact with the Gemini Enterprise Agent Platform Skill Registry to create and search for available skills. Use this skill to enable agents to register functionality or discover new capabilities.
02 资源文件 8
- 参考文档references/attribution.md1.9 KB
- 参考文档references/generate-skill.md2.6 KB
- 参考文档references/manage-skills.md2.4 KB
- 参考文档references/monitor-operations.md619 B
- 参考文档references/query-skills.md1.5 KB
- 脚本scripts/requirements.txt83 B
- 脚本scripts/skill_registry_ops.py10.8 KB
- 脚本scripts/validate_env.py454 B
03 SKILL.md 正文
Skill Registry
This skill provides instructions for interacting with the Skill Registry on the Gemini Enterprise Agent Platform.
Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read Usage Attribution. For commands executed
directly in the terminal (never in generated scripts, Terraform, or user code),
prefix gcloud with
CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:agent-platform-skill-registry)"
and append
agent-skills/1.0 (skill:agent-platform-skill-registry)
to User-Agent headers.
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
04 同仓库更多 Skills
sign-in-with-google-web
Implement, configure, and secure Sign In With Google (SiwG) using Google Identity Services (GIS / `https://accounts.google.com/gsi/client`) across web architectures. Use when creating Google sign-in buttons, implementing Google One Tap with FedCM, integrating GIS in React/Next.js/Angular/HTML, verifying ID tokens on backend runtimes (Python/Node.js/Go/Java), enforcing Google Workspace domain restrictions (`hd`), securing client-side ID tokens via WebCrypto nonces or encrypted IndexedDB, embedding in cross-origin iframes via the Intermediate Iframe API (`https://accounts.google.com/gsi/intermediate`), configuring Content Security Policy (CSP), COOP, and Permissions Policy (`identity-credentials-get`) headers, or handling sign-out and revocation. Don't use for legacy Google Sign-In (`gapi.auth2`), Google Cloud IAM service accounts, or Android/iOS native Credential Manager.
dpop-adoption
Implement and debug OAuth 2.0 DPoP (RFC 9449) refresh token sender-constraining for WebCrypto, Node.js ES6, and browser runtimes integrating with Google's OAuth platform. Use when configuring non-extractable asymmetric key pairs (P-256), generating DPoP Proof JWTs for authorization code exchange and token refresh, or handling 400 use_dpop_nonce challenge retry loops at oauth2.googleapis.com/token. Don't use for unconstrained OAuth 2.0 flows (where refresh tokens are not bound to a client key pair), or for Google Cloud IAM / service account authentication.
retrieving-developer-knowledge
Searches, retrieves, and synthesizes official Google developer documentation across Google Cloud, AI/Gemini, Android, Chrome, Web, Flutter, Go, Firebase, and other Google developer platforms. Integrates with the Developer Knowledge MCP server (search_documents, get_documents, answer_query) or the Developer Knowledge REST API fallback. Use when searching for gcloud CLI commands, API syntax, IAM permissions, official documentation, architectural comparisons, or product choice overviews. Don't use for local filesystem lookups or non-Google documentation.
migrate-to-rust
Clones, analyzes, plans, and migrates legacy codebases (C++, Fortran, Java, Python, C, Shell) from a GitHub URL or local directory to a modern, high-performance, deterministic, 100% Safe Rust architecture, tracking live telemetry across every task bucket, test failure/fix cycle, and Profile-Guided Optimization (PGO) stage, and producing a first-person AI storytelling report and interactive HTML infographic. Use when migrating a GitHub repository or local codebase to Rust, porting legacy C++, Fortran, Python, or Java workloads to memory-safe Rust, designing Struct-of-Arrays (SoA) or SIMD Rust architectures, or optimizing Rust ports with LLVM PGO. Don't use for unrelated non-Rust refactoring or single-line syntax questions.
finding-google-skills
Google platform decision and setup guidance, loaded on demand from Google's skill catalog. Use when a developer is choosing or setting up part of their stack, such as where to run a service, a database, storage, messaging, authentication, analytics, ads, or AI model serving, and a Google product is a reasonable candidate - whether or not a vendor is named - or when a request names a Google product or API. Brings in the matching Google skill so the answer can weigh Google options, their trade-offs, and when they are not the right fit. Skip when the stack is already settled on another provider and no Google product is named, or the task involves no platform choice.
workload-manager-basics
Use this skill to manage Google Cloud Workload Manager evaluations, rules, scanned resources, and validation results by using public client libraries and the REST API. Use when you need to inspect workload best-practice rules, create and run evaluations for Google Cloud general best practices, SAP, SQL Server, or custom organizational rules, review violations, export results to BigQuery, or automate Workload Manager through client libraries because no service-specific public CLI or MCP server is available. Don't use for general Google Compute Engine instance management, VPC configuration, or standard IAM auditing.