From hcp
Translates natural language cluster descriptions into ready-to-execute hypershift create cluster commands for AWS, Azure, KubeVirt, OpenStack, and PowerVS.
How this command is triggered — by the user, by Claude, or both
Slash command
/hcp:generate <provider> <cluster-description>The summary Claude sees in its command listing — used to decide when to auto-load this command
## Name hcp:generate ## Synopsis ## Description The `hcp:generate` command translates natural language descriptions into precise, ready-to-execute `hypershift create cluster` commands. It supports multiple cloud providers and platforms, each with their specific requirements and best practices. **Important**: This command **generates commands for you to run** - it does not provision clusters directly. This command is particularly useful for: - Generating complete, copy-paste-ready hypershift commands with proper parameters - Applying provider-specific best practices and configurations a...
hcp:generate
/hcp:generate <provider> <cluster-description>
The hcp:generate command translates natural language descriptions into precise, ready-to-execute hypershift create cluster commands. It supports multiple cloud providers and platforms, each with their specific requirements and best practices.
Important: This command generates commands for you to run - it does not provision clusters directly.
This command is particularly useful for:
The hcp:generate command runs in multiple phases:
Invoke the appropriate skill based on provider using the Skill tool:
Provider: aws → Invoke hcp-create-aws skill
Provider: azure → Invoke hcp-create-azure skill
Provider: kubevirt → Invoke hcp-create-kubevirt skill
Provider: openstack → Invoke hcp-create-openstack skill
Provider: powervs → Invoke hcp-create-powervs skill
Provider: agent → Invoke hcp-create-agent skill
Parse command arguments:
provider, cluster-descriptionUniversal requirements (applied to ALL clusters):
{cluster-name}-ns)--release-image with proper versionProvider-specific validation:
Each provider skill guides the collection of missing information:
Common prompts for all providers:
Provider-specific prompts:
Security checks:
Configuration validation:
Based on provider skill guidance:
hypershift create cluster commandDisplay to user:
Create AWS development cluster:
/hcp:generate aws "development cluster for testing new features"
→ Invokes hcp-create-aws skill, prompts for AWS-specific details
Create production KubeVirt cluster:
/hcp:generate kubevirt "production cluster with high availability"
→ Invokes hcp-create-kubevirt skill, handles network conflict prevention
Create cost-optimized Azure cluster:
/hcp:generate azure "small cluster for dev work, minimize costs"
→ Invokes hcp-create-azure skill, applies cost optimization
Create disconnected agent cluster:
/hcp:generate agent "airgapped cluster for secure environment"
→ Invokes hcp-create-agent skill, handles disconnected requirements
Create FIPS-enabled OpenStack cluster:
/hcp:generate openstack "production cluster with FIPS compliance"
→ Invokes hcp-create-openstack skill, applies FIPS configuration
Create ARM-based PowerVS cluster:
/hcp:generate powervs "arm64 cluster for multi-arch testing"
→ Invokes hcp-create-powervs skill, handles ARM architecture
$1 – provider (required)
Cloud provider or platform to use.
Options: aws | azure | kubevirt | openstack | powervs | agent
$2 – cluster-description (required)
Natural language description of the desired cluster.
Use quotes for multi-word descriptions: "production cluster with HA"
Description should include:
hypershift create cluster commandExample output:
## Summary
Creating a development AWS hosted cluster with basic configuration.
## Generated Command
```bash
hypershift create cluster aws \
--name dev-cluster \
--namespace dev-cluster-ns \
--region us-east-1 \
--instance-type m5.large \
--pull-secret /path/to/pull-secret.json \
--node-pool-replicas 2 \
--zones us-east-1a,us-east-1b \
--control-plane-availability-policy SingleReplica \
--sts-creds /path/to/sts-creds.json \
--role-arn arn:aws:iam::123456789:role/hypershift-role \
--base-domain example.com \
--release-image quay.io/openshift-release-dev/ocp-release:4.18.0-multi
dev-cluster-ns for better isolation and disaster recovery
## Error Handling
### Invalid Provider
**Scenario:** User specifies unsupported provider.
**Action:**
Invalid provider "gcp". Supported providers: aws, azure, kubevirt, openstack, powervs, agent
Did you mean "aws"?
### Missing Description
**Scenario:** User doesn't provide cluster description.
**Action:**
Cluster description is required. Please describe what kind of cluster you want.
Examples:
Usage: /hcp:generate aws "development cluster for testing"
### Ambiguous Requirements
**Scenario:** Description is too vague or contradictory.
**Action:**
The description "fast and cheap cluster" has conflicting requirements.
Let me help clarify:
Which approach do you prefer?
### Provider-Specific Errors
**Scenario:** Provider-specific validation fails.
**Action:**
- Forward to appropriate skill for specialized error handling
- Provide provider-specific guidance and solutions
- Offer alternative configurations when possible
## Best Practices
1. **Be descriptive:** Include environment type, requirements, and constraints
2. **Specify architecture:** Mention if you need ARM64 or specific architectures
3. **Include network needs:** Specify if disconnected or special networking required
4. **Mention compliance:** Include FIPS, security, or regulatory requirements
5. **Consider costs:** Specify if cost optimization is important
6. **Plan for growth:** Mention if cluster needs to scale or handle specific workloads
## Anti-Patterns to Avoid
❌ **Vague descriptions**
/hcp:generate aws "cluster"
✅ Be specific: "development cluster for API testing with minimal resources"
❌ **Conflicting requirements**
/hcp:generate aws "high-performance cluster but very cheap"
✅ Be realistic: "balanced cluster optimizing for cost while maintaining decent performance"
❌ **Provider mismatches**
/hcp:generate azure "cluster for my on-premises lab"
✅ Use appropriate provider: "kubevirt cluster for my on-premises lab"
## See Also
- `hypershift create cluster --help` - Official hypershift CLI documentation
- Provider-specific skills:
- `hcp-create-aws` - AWS-specific guidance
- `hcp-create-azure` - Azure-specific guidance
- `hcp-create-kubevirt` - KubeVirt-specific guidance
- `hcp-create-openstack` - OpenStack-specific guidance
- `hcp-create-powervs` - PowerVS-specific guidance
- `hcp-create-agent` - Agent provider guidance
## Skills Reference
The following skills are automatically invoked by this command based on provider:
**Provider-specific skills:**
- **hcp-create-aws** - AWS provider implementation details
- **hcp-create-azure** - Azure provider implementation details
- **hcp-create-kubevirt** - KubeVirt provider implementation details
- **hcp-create-openstack** - OpenStack provider implementation details
- **hcp-create-powervs** - PowerVS provider implementation details
- **hcp-create-agent** - Agent provider implementation details
To view skill details:
```bash
ls plugins/hypershift/skills/
cat plugins/hypershift/skills/hcp-create-aws/SKILL.md
cat plugins/hypershift/skills/hcp-create-kubevirt/SKILL.md
# ... etc for other providers
npx claudepluginhub rausingh-rh/ai-helpers --plugin hcp/karpenterHelps design, install, debug, review, audit, plan, migrate, and upgrade Karpenter on EKS via interactive wizard.
/setupRuns interactive setup wizard configuring AWS EKS cluster, Helm charts, Keycloak auth, and Harness CI/CD step-by-step. Supports full/quick/repair/validate modes and specific components.
/resonance-helpDisplays comprehensive help for the Hetzner VPS provisioning plugin, including available commands, prerequisites, quick start, security features, and server type reference.
/generateGenerates a complete VitePress wiki from a repository — catalogue, onboarding guides, architecture docs, and dark-mode Mermaid diagrams with citations.
/generateRuns Kubb code generation using the kubb generate CLI. Accepts optional input spec override, config path, verbose, and watch flags. Summarizes generated files grouped by output folder.
/generateGenerates ADVPL/TLPP code for TOTVS Protheus — functions, classes, MVC structures, REST APIs, Web Services, entry points, reports, screens, jobs, and workflows.