Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

hcp-create-agent

БесплатноБез исполняемых скриптовНе проверен

Use this skill when you need to deploy HyperShift clusters on bare metal, edge environments, or disconnected infrastructures using pre-provisioned agents

openshift-engот openshift-eng★ 123 звезды на GitHub15 установок в других каталогах

Об этом скилле

HyperShift Agent Provider

This skill provides implementation guidance for creating HyperShift clusters using the Agent provider, which is designed for bare metal and edge deployments where pre-provisioned agents are available.

When to Use This Skill

This skill is automatically invoked by the /hcp:generate agent command to guide the Agent provider cluster creation process.

Prerequisites

  • HyperShift operator installed and configured
  • Pre-provisioned agents available in a Kubernetes namespace
  • Pull secret for accessing OpenShift images
  • Understanding of the target deployment environment

Agent Provider Overview

What is the Agent Provider?

The Agent provider:

  • Designed for bare metal and edge deployments
  • Requires pre-provisioned agents (nodes registered in advance)
  • No cloud provider automation - manual network configuration required
  • Suitable for disconnected/airgapped environments
  • Direct control over hardware and network configuration

Common Use Cases

  • Edge Computing: Remote locations with limited connectivity
  • Bare Metal: On-premises hardware without cloud automation
  • Disconnected Environments: Airgapped environments with security requirements
  • Custom Hardware: Specialized hardware configurations
  • Regulatory Compliance: Environments requiring specific data locality

Implementation Steps

Step 1: Analyze Cluster Description

Parse the natural language description for Agent-specific requirements:

Environment Type Detection:

  • Edge: "edge", "remote", "limited connectivity", "small footprint"
  • Bare Metal: "bare metal", "on-premises", "physical hardware", "custom hardware"
  • Disconnected: "airgapped", "disconnected", "offline", "secure environment"

Resource Indicators:

  • Minimal: "small", "edge", "minimal resources", "single node"
  • Standard: "production", "multi-node", "high availability"

Special Requirements:

  • FIPS: "fips", "compliance", "security"
  • Custom Storage: "local storage", "storage class", "persistent volumes"
  • Network Isolation: "isolated", "private network", "custom networking"

Step 2: Apply Agent Provider Defaults

Required Parameters:

  • --agent-namespace: Namespace where agents are located
  • --pull-secret: Path to pull secret file
  • --release-image: OpenShift release image
  • --base-domain: Base domain for the cluster (prompt user if not in description)

Smart Defaults by Environment:

Edge Environment:

--control-plane-availability-policy SingleReplica
--node-pool-replicas 1
--arch amd64  # or arm64 if specified

Bare Metal Environment:

--control-plane-availability-policy HighlyAvailable
--node-pool-replicas 3
--auto-repair true

Disconnected Environment:

--render  # Always render for review
--image-content-sources /path/to/image-content-sources.yaml
--additional-trust-bundle /path/to/ca-bundle.pem

Step 3: Interactive Parameter Collection

Required Information Collection:

  1. Cluster Name

    🔹 **Cluster Name**: What would you like to name your cluster?
       - Must be DNS-compatible (lowercase, hyphens allowed)
       - Will be used for resource naming
       - Example: edge-lab-01, production-cluster
    
  2. Agent Namespace

    🔹 **Agent Namespace**: In which namespace are your agents located?
       - This should be the namespace where you registered your agents
       - Example: default, agent-system, cluster-agents
       - [Press Enter for default: default]
    
  3. Pull Secret

    🔹 **Pull Secret**: Path to your OpenShift pull secret file?
       - Required for accessing OpenShift container images
       - Download from: https://console.redhat.com/openshift/install/pull-secret
       - Example: /home/user/pull-secret.json
    
  4. Base Domain (if not specified in description)

    🔹 **Base Domain**: What base domain should be used for cluster DNS?
       - This will be used for cluster API and application routes
       - Example: example.com, lab.internal, edge.local
    
  5. OpenShift Version

    🔹 **OpenShift Version**: Which OpenShift version do you want to use?
    
       📋 **Check supported versions**: https://amd64.ocp.releases.ci.openshift.org/
    
       - Enter release image URL: quay.io/openshift-release-dev/ocp-release:X.Y.Z-multi
       - [Press Enter for default: quay.io/openshift-release-dev/ocp-release:4.18.0-multi]
    

Optional Configuration (based on description analysis):

  1. Architecture (if detected)

    🔹 **Architecture**: Detected ARM architecture mention. Confirm architecture:
       - amd64 (x86_64)
       - arm64 (aarch64)
       - [Press Enter for default: amd64]
    
  2. FIPS Mode (if compliance mentioned)

    🔹 **FIPS Mode**: Enable FIPS mode for compliance?
       - Required for certain regulatory environments
       - May impact performance
       - [yes/no] [Press Enter for default: no]
    
Полный SKILL.md на GitHub

Установить hcp-create-agent в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл hcp-create-agent?

Use this skill when you need to deploy HyperShift clusters on bare metal, edge environments, or disconnected infrastructures using pre-provisioned agents

Как установить скилл hcp-create-agent?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл hcp-create-agent запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить hcp-create-agent с