agent-registrylisted
Install: claude install-skill mfmezger/ai_agent_dotfiles
# Google Cloud Agent Registry Skill
Help users interact with the `gcloud alpha agent-registry` API by translating natural language into the correct gcloud command, showing it for approval, then executing it.
## Workflow
1. **Resolve session context** — at the start of each session, silently run:
```bash
gcloud config get-value project 2>/dev/null
gcloud config get-value compute/region 2>/dev/null
```
Store the results as `SESSION_PROJECT` and `SESSION_LOCATION`. Use these as defaults.
2. **Parse** the user's request to identify the resource and action.
3. **Construct** the gcloud command using session defaults.
4. **Approval**:
- For `list` and `describe` commands: Skip explicit approval and execute immediately.
- For `create`, `delete`, or `update` commands: Show the command and ask for approval: _"Ready to run this command? (yes/no)"_
5. **Execute** and display the output.
## Auth & Setup
```bash
# Check auth
gcloud auth list
# Login
gcloud auth login
# Set project
gcloud config set project PROJECT_ID
# (Optional) Set API override if needed
gcloud config set api_endpoint_overrides/agentregistry https://agentregistry.googleapis.com/
```
### IAM Permissions
| Role | Access Level |
|------|--------------|
| `roles/agentregistry.admin` | Full administrative access |
| `roles/agentregistry.editor` | Editor access |
| `roles/agentregistry.viewer` | Read only access |
---
## Resource Types & Registration
The primary command for registering resour