compute-future-reservations
БесплатноБез исполняемых скриптовНе проверенEvaluates future GPU and TPU reservation feasibility and calendar-mode booking options in Google Compute Engine (GCE). Use when planning future AI/ML training…
от google★ 25 380 звёзд на GitHubОб этом скилле
Compute Engine Future Reservations & Calendar-Mode Feasibility
The compute-future-reservations skill assesses future capacity availability and feasibility for high-demand AI/ML hardware (NVIDIA GPUs, H4D VMs, and Google Cloud TPUs). It enables infrastructure engineers to evaluate future reservation windows, match cluster topologies, and manage calendar-mode bookings.
[!NOTE] Scope Boundary (Calendar Mode vs. Standard Future Reservations): This skill covers Calendar-Mode Future Reservations (
--reservation-mode=CALENDAR, backed by Dynamic Workload Scheduler for up to 90 days on supported families such asa3*,a4*,h4d*, and Cloud TPUs; for newly released machine series, verify Calendar Mode support dynamically viagcloud compute advice calendar-modeor the official Calendar Mode documentation). Do not apply Calendar-Mode flags (--reservation-mode=CALENDAR,--deployment-type=DENSE) to Standard Future Reservations (--reservation-mode=DEFAULTfor general-purpose CPU families,a2*/g2*GPUs,DRAFTplanning workflows, or multi-month/CUD commitments).
Usage Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read and follow the instructions in Usage Attribution.
Prerequisites, IAM & Billing
Before querying calendar-mode advice or submitting future reservation requests, ensure the environment meets these requirements:
- Project & Region Configuration: Prefer passing
--project={project_id}and--region={region}(or--zone={zone}) directly on each command to avoid overwriting global workstation state, or obtain explicit user confirmation before setting defaults (e.g.,us-central1):gcloud config set project {project_id} gcloud config set compute/region {region} - Billing & API Enablement: Ensure the project has an active billing account attached and the Compute Engine API is enabled:
gcloud services enable compute.googleapis.com --project={project_id} - Cloud SDK & Authentication: Ensure the Google Cloud CLI is installed (never execute unprompted host installation commands such as
apt-getorcurl | bashwithout explicit user approval; direct the user to the installation guide instead), then authenticate viagcloud auth login(for interactive CLI),gcloud auth application-default login(for SDKs), orGOOGLE_APPLICATION_CREDENTIALS(for service accounts). - IAM Permissions:
- Feasibility, Creation & Inspection (
advice calendar-mode,create,list,describe,delete): Grantroles/compute.futureReservationUser(includescompute.advice.calendarMode,compute.futureReservations.create,compute.futureReservations.delete,compute.futureReservations.get,compute.futureReservations.list, andcompute.reservations.create, excludingcompute.futureReservations.cancel). - Cancelling Requests (
cancel): Grantroles/compute.futureReservationAdmin(orroles/compute.admin), which is required forcompute.futureReservations.cancel.
- Feasibility, Creation & Inspection (
- Quota & Organization Policy: Submitting a Calendar-Mode request requires 0 reservation quota for GPUs and TPUs, but H4D VMs require sufficient regional CPU quota at submission, and all workloads require sufficient VM/TPU, boot disk, and IP quota at
start-timeto consume the auto-created reservation. Sharing across projects requires allowlisting the host project in organization policyconstraints/compute.sharedReservationsOwnerProjects. - Billing & Pricing Warning: Approved Calendar-Mode Future Reservations automatically provision capacity at
start-timeand bill for the entire committed window whether or not VMs or TPUs are actively running. Review Compute Engine Pricing, Available Regions and Zones, and Google Cloud Locations (strip.md.txtsuffixes when presenting documentation URLs to human users) before submitting requests.
Command Syntax & Reference
1. Evaluate Calendar-Mode Feasibility Advice
Query the optimal time window and zone for a planned block of GPU or TPU capacity:
# For GPU / H4D VMs:
gcloud compute advice calendar-mode \
--project={project_id} \
--region={region} \
--machine-type={machine_type} \
--vm-count={total_instances} \
--start-time-range=from={start_date},to={end_date} \
--duration-range=min={min_duration},max={max_duration} \
[--location-policy={zone}={policy}]
# For Cloud TPUs (supported --tpu-version values: V6E, V5P, V5E; --workload-type is required for V5E):
gcloud compute advice calendar-mode \
--project={project_id} \
--region={region} \
Установить compute-future-reservations в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл compute-future-reservations?
Evaluates future GPU and TPU reservation feasibility and calendar-mode booking options in Google Compute Engine (GCE). Use when planning future AI/ML training runs, checking reservation availability windows, verifying accelerator cluster topologies, or assessing future capacity lead times. Don't use for active on-demand reservations (use compute-on-demand-reservations), immediate Spot capacity queries (use compute-spot-capacity-advice), or Standard Future Reservations (--reservation-mode=DEFAULT).
Как установить скилл compute-future-reservations?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл compute-future-reservations запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic