apply-resource

Manage GKE TPU Nodepool resources via XPK commands.

5|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/primatrix/skills --skill apply-resource
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apply-resource
Source: https://github.com/primatrix/skills/tree/main/plugins/exec-remote/skills/apply-resource
Command: npx skills add https://github.com/primatrix/skills --skill apply-resource

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gcloud, kubectl, xpk, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the management of Google Kubernetes Engine (GKE) TPU Nodepool resources, streamlining the process of creating, deleting, listing, and describing TPU clusters.

Core Features & Use Cases

  • TPU Cluster Management: Create, delete, list, and describe GKE TPU clusters.
  • Real-Time Cluster Information: Ensures the most up-to-date cluster state is always queried directly from GKE.
  • Multi-User Safe: Designed for multi-user environments with no local caching and existence checks.
  • Use Case: For data scientists and engineers who need to provision and manage TPU resources for machine learning workloads on GKE.

Quick Start

To create a new GKE TPU cluster, use the command: /apply-resource create <cluster_name> <tpu_type> <num_slices> <zone>

Frequently Asked Questions about apply-resource

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage GKE TPU Nodepool resources for machine learning workloads?

It automates the management of GKE TPU Nodepool resources through XPK commands, handling the creation, deletion, listing, and describing of TPU clusters for machine learning workloads.

What do I need to provision GKE TPU clusters using XPK?

To provision GKE TPU clusters using XPK, you need gcloud, kubectl, and xpk installed. These dependencies interface with GKE to manage TPU resources directly from your environment.

How do I create a new GKE TPU cluster with XPK?

To create a GKE TPU cluster with XPK, use the command `/apply-resource create <cluster_name> <tpu_type> <num_slices> <zone>`. This automates the TPU cluster provisioning process on GKE.

Does XPK cache GKE TPU cluster state locally?

No, XPK does not cache GKE TPU cluster state locally. It queries GKE directly to ensure real-time cluster information and performs existence checks for multi-user environment safety.

Can I use XPK to list and describe existing TPU clusters on GKE?

Yes, you can use XPK to list and describe existing TPU clusters on GKE. It queries the most up-to-date cluster state directly from GKE to provide real-time cluster information.

Is XPK safe to use for GKE TPU management in multi-user environments?

Yes, XPK is safe for GKE TPU management in multi-user environments. It avoids local caching and performs existence checks to prevent conflicts when multiple users manage TPU resources.