Add cluster instance

From haozhx23/HyperPod-InstantStart · View interactive version

Add cluster instance is an AI agent skill from the GitHub repository haozhx23/HyperPod-InstantStart. Add a new instance group to an existing HyperPod cluster. Use when user wants to add GPU nodes, expand cluster capacity, or add a new instance group.

How to use this skill

Skill file

Overview

Add a new HyperPod instance group to the current active cluster. Corresponds to the "Add Instance Group" button on the Cluster Management page.

Step 1: Collect Parameters

  1. Call cluster_get_availability_zones and cluster_get_available_instances in parallel
  2. Ask user for ALL of the following (show available options):

Step 2: Validate Parameters

  1. If user provides both a trainingPlanArn and an availabilityZone, extract the AZ from the Training Plan ARN and compare:
  1. Confirm the final parameters with the user before proceeding.

Step 3: Add Instance Group

  1. Call hyperpod_add_instance_group with the validated parameters
  2. Inform user: estimated wait 5-15 minutes
  3. MUST poll hyperpod_get_instance_group_status(name=instanceGroupName) every 60 seconds until ready: true or failed: true. This checks actual cluster state and current/target capacity; hyperpod_get_creation_status only checks the initial CloudFormation creation. Between each poll, call wait_seconds(60) to wait. Report each poll result to the user. Do NOT skip polling.

Step 4: Verify

  1. Call cluster_get_status to show updated cluster state (nodes, GPUs, instance groups)
  2. Summarize what was added

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.