AGENT REGISTRY

CLI Usage & Commands

Commands for discovering, installing, and executing agent skills locally and within coding agents.

# Gemini CLI In-Session Commands

If you are using Gemini CLI with the Enterprise Registry extension installed, use the following interactive slash commands:

/registry:install <skill-id>

Downloads and registers the specified skill into your local ~/.gemini/skills/ directory.

Example: /registry:install text-to-ppt
/registry:search "<query>"

Searches the centralized GCP Agent Registry for matching capabilities and tags.

Example: /registry:search "powerpoint presentation"
/registry:check-update

Compares your locally installed skills against the remote registry revisions to detect upgrades.

# Standalone Extension Script

The registry operations can also be executed directly via the extension CLI engine:

# Windows
python "%USERPROFILE%\.gemini\extensions\enterprise-agent-skill-registry\scripts\skill_registry_ops.py" install --skill-id text-to-ppt
# Linux / macOS
python3 ~/.gemini/extensions/enterprise-agent-skill-registry/scripts/skill_registry_ops.py search --query "secops"

# Two-Gate Security Consent Protocol

To ensure total safety inside corporate developer environments, all CLI mutations follow a two-gate protocol:

Gate 1: Skill Installation

The CLI presents metadata and asks for confirmation before downloading or unzipping any files into your local user profile.

Gate 2: Script Execution

The agent will explicitly notify you of command arguments, python virtual environment activations, and file destinations before running bundled scripts.