compute-vm-creation
БесплатноБез исполняемых скриптовНе проверенGuides the planning, configuration, and provisioning of standalone Google Compute Engine virtual machines (VMs) and bare metal (-metal) instances using gcloud…
от google★ 25 380 звёзд на GitHubОб этом скилле
Compute Engine VM Creation
This skill provides an interactive, intent-based experience for provisioning
standalone Google Compute Engine VM and bare metal (-metal) instances. It
supports users ranging from beginners asking to "create a VM" to cloud engineers
requiring customized infrastructure, mapping natural language intents to secure
Compute Engine configurations grounded in the Golden Path.
MCP Tools:
list_instances,create_instance,get_instance_basic_info,delete_instance,get_zone_operation,list_machine_types,list_accelerator_types,list_images
Usage Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution. Never include attribution
environment variables or User-Agent tags in generated scripts, Terraform, or
copy-pasteable commands shown to the user.
Prerequisites
Ensure the following setup requirements are met before provisioning instances.
Any host modifications (such as installing or updating the gcloud CLI,
installing or configuring the Google Compute Engine MCP server, or modifying
local environment configuration) must be explicitly approved by the user before
execution.
- Cloud SDK Installation: Verify
gcloudis installed (gcloud --version, Google Cloud SDK >= 480.0.0) only when executing live CLI commands. If missing or outdated, ask the user for explicit approval before installing or updating via Install the gcloud CLI. - Compute Engine MCP Server: For direct MCP tool execution
(
list_instances,create_instance,get_instance_basic_info,delete_instance,get_zone_operation,list_machine_types,list_accelerator_types,list_images), check whether the Compute Engine MCP tools are loaded in your active tool declarations, or ask the user for approval to configure the server following Use the Compute Engine MCP server. - Billing Account: Confirm the target Google Cloud project has an active billing account linked (required even when using Google Cloud Free Tier resources).
- Authentication: Authenticate your environment for CLI execution
(
gcloud auth login), application/MCP SDKs (gcloud auth application-default login), or service account credentials (GOOGLE_APPLICATION_CREDENTIALS). - Project Selection & API Enablement: Set the target project and enable the
Compute Engine API:
gcloud config set project {project_id} gcloud services enable compute.googleapis.com - Required IAM Roles:
- Caller Roles:
roles/compute.instanceAdmin.v1(to create and manage instances),roles/iam.serviceAccountUser(to attach{custom_service_account}), androles/mcp.toolUserwhen invoking the Compute Engine MCP server. - IAP SSH/RDP Access for Private (
--no-address) VMs: Connecting viagcloud compute ssh {vm_name} --zone={zone} --tunnel-through-iaprequiresroles/iap.tunnelResourceAccessorplus a VPC firewall rule allowing TCP22(or3389for RDP) from IAP's forwarding range35.235.240.0/20(see Use IAP for TCP forwarding). - Custom VM Service Account Setup: Fresh projects only contain the default
Compute Engine service account. If
{custom_service_account}does not yet exist, create a dedicated least-privilege service account first (seeking user approval before granting IAM bindings):gcloud iam service-accounts create {sa_name} \ --project={project_id} \ --display-name="{sa_display_name}" gcloud projects add-iam-policy-binding {project_id} \ --member="serviceAccount:{sa_name}@{project_id}.iam.gserviceaccount.com" \ --role="roles/logging.logWriter" gcloud projects add-iam-policy-binding {project_id} \ --member="serviceAccount:{sa_name}@{project_id}.iam.gserviceaccount.com" \ --role="roles/monitoring.metricWriter"
- Caller Roles:
Workflow
- Determine Execution Method & MCP Capability Boundary:
- Fast Conversational Intake (No Shell Probing on Missing Inputs): When a
user asks to configure or create a VM without providing mandatory inputs
(
project_id,vm_name,region/zone, or public vs. private networking), respond immediately after readingSKILL.mdwithout runninggcloud config list,gcloud --version, or any shell commands. Clarify that you can either execute provisioning once confirmed (Automated Execution) or provide copy-pasteablegcloudcommands / JSON payloads (Manual Execution), recommend a sizing tier, and ask for the missing inputs in a single turn. - **MCP vs. `
- Fast Conversational Intake (No Shell Probing on Missing Inputs): When a
user asks to configure or create a VM without providing mandatory inputs
(
Установить compute-vm-creation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл compute-vm-creation?
Guides the planning, configuration, and provisioning of standalone Google Compute Engine virtual machines (VMs) and bare metal (-metal) instances using gcloud CLI commands or direct MCP tool execution. Use ONLY when the user wants to create, configure, or provision a new standalone Compute Engine VM or bare metal instance from conversational intents (hardware sizing, region selection, OS image, networking, security defaults). DO NOT read or use for Google Kubernetes Engine (GKE) Autopilot or Standard clusters, Kubernetes node pools or Pods, container orchestration, managing existing VMs, Managed Instance Groups (MIGs), or Instance Templates.
Как установить скилл compute-vm-creation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл compute-vm-creation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic