Skip to main content

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.

GoogleCloudApache-2.0

SKILL.md

Written by Google and published in google/skills under the Apache-2.0 license. Treq shows it unchanged except for heading levels and links to files on GitHub.

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

When agent-platform-skill-registry runs

Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /agent-platform-skill-registry in Claude Code or $agent-platform-skill-registry in Codex.

Install agent-platform-skill-registry

Claude Code

Copy the agent-platform-skill-registry folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.

git clone --depth 1 https://github.com/google/skills.git /tmp/google-skills
mkdir -p .claude/skills
cp -r /tmp/google-skills/skills/cloud/agent-platform-skill-registry .claude/skills/

Codex

Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if agent-platform-skill-registry does not appear.

git clone --depth 1 https://github.com/google/skills.git /tmp/google-skills
mkdir -p .agents/skills
cp -r /tmp/google-skills/skills/cloud/agent-platform-skill-registry .agents/skills/

Treq

Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for agent-platform-skill-registry and choose Install….

Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.

Files

agent-platform-skill-registry ships 9 files, 23.1 KB in total. Select a file to load it from GitHub.

references/attribution.md1.9 KBView on GitHub ↗

All skills by Google