Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计通过

gcp通用控制协议

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

84,961

周安装

3,505

GitHub Stars

4

下载量

27,760
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:gcp(通用控制协议)
来源仓库:https://github.com/ivangdavila/gcp
安装命令:
openclaw skills install gcp
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install gcp

简介

使用成熟模式部署、监控与管理 Google Cloud Platform 服务。

  • 适用于 OpenClaw 中辅助云资源检查、部署流程与运维自动化。
  • 可帮助分析资源配置、区域策略与权限边界。
  • 安装命令为 openclaw skills install gcp,需配置服务账号密钥。
  • 涉及删除或重启服务时应先确认影响范围与备份状态。

SKILL.md

name
Google Cloud
description
Deploy, monitor, and manage GCP services with battle-tested patterns.
metadata
{"clawdbot":{"emoji":"🌐","requires":{"anyBins":["gcloud"]},"os":["linux","darwin","win32"]}}

Google Cloud Production Rules

Cost Traps

  • Stopped Compute Engine VMs still pay for persistent disks and static IPs — delete disks or use snapshots for long-term storage
  • Cloud NAT charges per VM and per GB processed — use Private Google Access for GCP API traffic instead
  • BigQuery on-demand pricing charges for bytes scanned, not rows returned — partition tables and use LIMIT in dev, but LIMIT doesn't reduce scan cost in prod
  • Preemptible VMs save 80% but can be terminated anytime — only for fault-tolerant batch workloads
  • Egress to internet costs, egress to same region is free — keep resources in same region, use Cloud CDN for global distribution

Security Rules

  • Service accounts are both identity and resource — one service account can impersonate another with roles/iam.serviceAccountTokenCreator
  • IAM policy inheritance: Organization → Folder → Project → Resource — deny policies at org level override allows below
  • VPC Service Controls protect against data exfiltration — but break Cloud Console access if not configured with access levels
  • Default Compute Engine service account has Editor role — create dedicated service accounts with least privilege
  • Workload Identity Federation eliminates service account keys — use for GitHub Actions, GitLab CI, external workloads

Networking

  • VPC is global, subnets are regional — unlike AWS, single VPC can span all regions
  • Firewall rules are allow-only by default — implicit deny all ingress, allow all egress. Add explicit deny rules for egress control
  • Private Google Access is per-subnet setting — enable on every subnet that needs to reach GCP APIs without public IP
  • Cloud Load Balancer global vs regional — global for multi-region, but regional is simpler and cheaper for single region
  • Shared VPC separates network admin from project admin — host project owns network, service projects consume it

Performance

  • Cloud Functions gen1 has 9-minute timeout — gen2 (Cloud Run based) allows 60 minutes
  • Cloud SQL connection limits vary by instance size — use connection pooling or Cloud SQL Auth Proxy
  • Firestore/Datastore hotspotting on sequential IDs — use UUIDs or reverse timestamps for document IDs
  • GKE Autopilot simplifies but limits — no DaemonSets, no privileged containers, no host network
  • Cloud Storage single object limit is 5TB — use compose for larger, parallel uploads for faster

Monitoring

  • Cloud Logging retention: 30 days default, \_Required bucket is 400 days — create custom bucket with longer retention for compliance
  • Cloud Monitoring alert policies have 24-hour auto-close — incident disappears even if issue persists, configure notification channels for re-alert
  • Error Reporting groups by stack trace — same error with different messages creates duplicates
  • Cloud Trace sampling is automatic — may miss rare errors, increase sampling rate for debugging
  • Audit logs: Admin Activity always on, Data Access off by default — enable Data Access logs for security compliance

Infrastructure as Code

  • Terraform google provider requires project ID everywhere — use google_project data source or variables, never hardcode
  • gcloud commands are imperative — use Deployment Manager or Terraform for reproducible infra
  • Cloud Build triggers on push but IAM permissions on first run confusing — grant Cloud Build service account necessary roles before first deploy
  • Project deletion has 30-day recovery period — but project ID is globally unique forever, can't reuse
  • Labels propagate to billing — use consistent labeling for cost allocation: env, team, service

IAM Best Practices

  • Primitive roles (Owner/Editor/Viewer) are too broad — use predefined roles, create custom for least privilege
  • Service account keys are security liability — use Workload Identity, impersonation, or attached service accounts instead
  • roles/iam.serviceAccountUser lets you run as that SA — equivalent to having its permissions, grant carefully
  • Organization policies restrict what projects can do — constraints/compute.vmExternalIpAccess blocks public VMs org-wide

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

93.19%
按下载量换算25,870

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills