gcloud

Manage Google Cloud Platform resources using the official gcloud CLI, discovering command syntax dynamically with `gcloud <group> --help` before execution.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "gcloud" with this command: npx skills add felipe0liveira/gcloud-cli

Google Cloud CLI

gcloud - manage Google Cloud resources and developer workflows

This skill is built on top of the official gcloud CLI. It supports the full CLI surface while avoiding hardcoded syntax by always consulting --help output at runtime.

Related docs:

Requirements

This skill requires gcloud CLI.

For setup instructions, see installation.md.

Scope

Use this skill only for Google Cloud resource management via gcloud commands. Do not use unrelated endpoints, tools, or local file operations outside the requested task.

Credentials and Environment

This skill uses the active Google Cloud CLI authentication context (gcloud auth) and configuration (gcloud config). It inherits the permissions of the active identity.

Before any operation:

  1. Run gcloud config list --format='text(core.account,core.project)' and show the active account and project.
  2. If the active account is not a dedicated service account, stop and ask the user to switch identities.
  3. Confirm the target project and environment with the user before proceeding.

Credential safety rules:

  • Use least-privilege service accounts.
  • Do not use personal accounts or broad admin identities for automation.
  • Be explicit when --impersonate-service-account is in use.
  • Prefer sandbox projects for validation before production changes.

Workflow

Before executing any gcloud command, follow this sequence:

  1. Check active context:
    gcloud config list --format='text(core.account,core.project)'
    
  2. Identify the right command group from groups.md.
  3. Discover syntax using help commands:
    gcloud <GROUP> --help
    gcloud <GROUP> <SUBGROUP> --help
    
  4. Build the exact command from discovered syntax.
  5. Present the full command and wait for explicit user approval.
  6. Execute only after approval.
  7. Return output and summarize result.

Approval Policy

All operations require explicit user confirmation before execution, including read operations.

This includes:

  • Read/list/get operations
  • Create/update/delete operations
  • IAM and policy changes
  • Configuration changes (set, unset, reset)
  • Service enable/disable operations

For every operation, the agent must:

  1. Show the full command.
  2. Show active account/project context.
  3. Wait for explicit user approval.

Important Rules

  • Never guess command syntax; always validate with --help first.
  • Never execute commands autonomously.
  • Use --format=json when output will be parsed programmatically.
  • Use --quiet only after explicit user approval.
  • Warn clearly when commands are high-impact (IAM, networking, deletion, org-level changes).

What You Can Do

You can perform any operation available through gcloud, as long as it is within user-requested scope and approved before execution.

Examples and scenarios are documented in examples.md.

Troubleshooting

See troubleshooting.md for authentication, IAM, API enablement, and syntax troubleshooting steps.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Content Collector

个人内容收藏与知识管理系统。收藏、整理、检索、二创。 Use when: (1) 用户分享链接/文字/截图并要求保存或收藏, (2) 用户说"收藏这个"/"存一下"/"记录下来"/"save this"/"bookmark"/"clip this", (3) 用户要求按关键词/标签搜索之前收藏的内容, (4) 用...

Registry SourceRecently Updated
Coding

Github Stars Tracker

GitHub 仓库 Stars 变化监控与通知。追踪指定仓库的 star 增长、fork 变化,发现新趋势。适合开发者关注项目动态。

Registry SourceRecently Updated
Coding

RabbitMQ client guide for Tencent Cloud TDMQ

RabbitMQ 客户端代码指南。当用户需要编写、调试或审查 RabbitMQ 应用代码时使用。涵盖:用任意语言(Java/Go/Python/PHP/.NET)写生产者或消费者;排查连接暴增、消息丢失、Broken pipe、消费慢、漏消费等客户端问题;审查 spring-boot-starter-amqp、a...

Registry SourceRecently Updated
00
Profile unavailable