{
  "schemaVersion": "1.0",
  "item": {
    "slug": "k8s-capi",
    "name": "Kubernetes Skills",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/rohitg00/k8s-capi",
    "canonicalUrl": "https://clawhub.ai/rohitg00/k8s-capi",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/k8s-capi",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=k8s-capi",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/k8s-capi"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/k8s-capi",
    "agentPageUrl": "https://openagent3.xyz/skills/k8s-capi/agent",
    "manifestUrl": "https://openagent3.xyz/skills/k8s-capi/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/k8s-capi/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Cluster API Lifecycle Management",
        "body": "Manage Kubernetes clusters using kubectl-mcp-server's Cluster API tools (11 tools)."
      },
      {
        "title": "Check Installation",
        "body": "capi_detect_tool()"
      },
      {
        "title": "List Clusters",
        "body": "# List all CAPI clusters\ncapi_clusters_list_tool(namespace=\"default\")\n\n# Shows:\n# - Cluster name\n# - Phase (Provisioning, Provisioned, Deleting)\n# - Infrastructure ready\n# - Control plane ready"
      },
      {
        "title": "Get Cluster Details",
        "body": "capi_cluster_get_tool(name=\"my-cluster\", namespace=\"default\")\n\n# Shows:\n# - Spec (control plane, infrastructure)\n# - Status (phase, conditions)\n# - Network configuration"
      },
      {
        "title": "Get Cluster Kubeconfig",
        "body": "# Get kubeconfig for workload cluster\ncapi_cluster_kubeconfig_tool(name=\"my-cluster\", namespace=\"default\")\n\n# Returns kubeconfig to access the cluster"
      },
      {
        "title": "List Machines",
        "body": "capi_machines_list_tool(namespace=\"default\")\n\n# Shows:\n# - Machine name\n# - Cluster\n# - Phase (Running, Provisioning, Failed)\n# - Provider ID\n# - Version"
      },
      {
        "title": "Get Machine Details",
        "body": "capi_machine_get_tool(name=\"my-cluster-md-0-xxx\", namespace=\"default\")"
      },
      {
        "title": "List Machine Deployments",
        "body": "capi_machinedeployments_list_tool(namespace=\"default\")\n\n# Shows:\n# - Deployment name\n# - Cluster\n# - Replicas (ready/total)\n# - Version"
      },
      {
        "title": "Scale Machine Deployment",
        "body": "# Scale worker nodes\ncapi_machinedeployment_scale_tool(\n    name=\"my-cluster-md-0\",\n    namespace=\"default\",\n    replicas=5\n)"
      },
      {
        "title": "Machine Sets",
        "body": "capi_machinesets_list_tool(namespace=\"default\")"
      },
      {
        "title": "Machine Health Checks",
        "body": "capi_machinehealthchecks_list_tool(namespace=\"default\")\n\n# Health checks automatically remediate unhealthy machines"
      },
      {
        "title": "Cluster Classes",
        "body": "# List cluster templates\ncapi_clusterclasses_list_tool(namespace=\"default\")\n\n# ClusterClasses define reusable cluster configurations"
      },
      {
        "title": "Create Cluster",
        "body": "kubectl_apply(manifest=\"\"\"\napiVersion: cluster.x-k8s.io/v1beta1\nkind: Cluster\nmetadata:\n  name: my-cluster\n  namespace: default\nspec:\n  clusterNetwork:\n    pods:\n      cidrBlocks:\n      - 192.168.0.0/16\n    services:\n      cidrBlocks:\n      - 10.96.0.0/12\n  controlPlaneRef:\n    apiVersion: controlplane.cluster.x-k8s.io/v1beta1\n    kind: KubeadmControlPlane\n    name: my-cluster-control-plane\n  infrastructureRef:\n    apiVersion: infrastructure.cluster.x-k8s.io/v1beta1\n    kind: AWSCluster\n    name: my-cluster\n\"\"\")"
      },
      {
        "title": "Create Machine Deployment",
        "body": "kubectl_apply(manifest=\"\"\"\napiVersion: cluster.x-k8s.io/v1beta1\nkind: MachineDeployment\nmetadata:\n  name: my-cluster-md-0\n  namespace: default\nspec:\n  clusterName: my-cluster\n  replicas: 3\n  selector:\n    matchLabels:\n      cluster.x-k8s.io/cluster-name: my-cluster\n  template:\n    spec:\n      clusterName: my-cluster\n      version: v1.28.0\n      bootstrap:\n        configRef:\n          apiVersion: bootstrap.cluster.x-k8s.io/v1beta1\n          kind: KubeadmConfigTemplate\n          name: my-cluster-md-0\n      infrastructureRef:\n        apiVersion: infrastructure.cluster.x-k8s.io/v1beta1\n        kind: AWSMachineTemplate\n        name: my-cluster-md-0\n\"\"\")"
      },
      {
        "title": "Provision New Cluster",
        "body": "1. kubectl_apply(cluster_manifest)\n2. capi_clusters_list_tool(namespace)  # Wait for Provisioned\n3. capi_cluster_kubeconfig_tool(name, namespace)  # Get access"
      },
      {
        "title": "Scale Workers",
        "body": "1. capi_machinedeployments_list_tool(namespace)\n2. capi_machinedeployment_scale_tool(name, namespace, replicas)\n3. capi_machines_list_tool(namespace)  # Monitor"
      },
      {
        "title": "Upgrade Cluster",
        "body": "1. # Update control plane version\n2. # Update machine deployment version\n3. capi_machines_list_tool(namespace)  # Monitor rollout"
      },
      {
        "title": "Cluster Stuck Provisioning",
        "body": "1. capi_cluster_get_tool(name, namespace)  # Check conditions\n2. capi_machines_list_tool(namespace)  # Check machine status\n3. get_events(namespace)  # Check events\n4. # Check infrastructure provider logs"
      },
      {
        "title": "Machine Failed",
        "body": "1. capi_machine_get_tool(name, namespace)\n2. get_events(namespace)\n3. # Common issues:\n   # - Cloud provider quota\n   # - Invalid machine template\n   # - Network issues"
      },
      {
        "title": "Related Skills",
        "body": "k8s-multicluster - Multi-cluster operations\nk8s-operations - kubectl operations"
      }
    ],
    "body": "Cluster API Lifecycle Management\n\nManage Kubernetes clusters using kubectl-mcp-server's Cluster API tools (11 tools).\n\nCheck Installation\ncapi_detect_tool()\n\nList Clusters\n# List all CAPI clusters\ncapi_clusters_list_tool(namespace=\"default\")\n\n# Shows:\n# - Cluster name\n# - Phase (Provisioning, Provisioned, Deleting)\n# - Infrastructure ready\n# - Control plane ready\n\nGet Cluster Details\ncapi_cluster_get_tool(name=\"my-cluster\", namespace=\"default\")\n\n# Shows:\n# - Spec (control plane, infrastructure)\n# - Status (phase, conditions)\n# - Network configuration\n\nGet Cluster Kubeconfig\n# Get kubeconfig for workload cluster\ncapi_cluster_kubeconfig_tool(name=\"my-cluster\", namespace=\"default\")\n\n# Returns kubeconfig to access the cluster\n\nMachines\nList Machines\ncapi_machines_list_tool(namespace=\"default\")\n\n# Shows:\n# - Machine name\n# - Cluster\n# - Phase (Running, Provisioning, Failed)\n# - Provider ID\n# - Version\n\nGet Machine Details\ncapi_machine_get_tool(name=\"my-cluster-md-0-xxx\", namespace=\"default\")\n\nMachine Deployments\nList Machine Deployments\ncapi_machinedeployments_list_tool(namespace=\"default\")\n\n# Shows:\n# - Deployment name\n# - Cluster\n# - Replicas (ready/total)\n# - Version\n\nScale Machine Deployment\n# Scale worker nodes\ncapi_machinedeployment_scale_tool(\n    name=\"my-cluster-md-0\",\n    namespace=\"default\",\n    replicas=5\n)\n\nMachine Sets\ncapi_machinesets_list_tool(namespace=\"default\")\n\nMachine Health Checks\ncapi_machinehealthchecks_list_tool(namespace=\"default\")\n\n# Health checks automatically remediate unhealthy machines\n\nCluster Classes\n# List cluster templates\ncapi_clusterclasses_list_tool(namespace=\"default\")\n\n# ClusterClasses define reusable cluster configurations\n\nCreate Cluster\nkubectl_apply(manifest=\"\"\"\napiVersion: cluster.x-k8s.io/v1beta1\nkind: Cluster\nmetadata:\n  name: my-cluster\n  namespace: default\nspec:\n  clusterNetwork:\n    pods:\n      cidrBlocks:\n      - 192.168.0.0/16\n    services:\n      cidrBlocks:\n      - 10.96.0.0/12\n  controlPlaneRef:\n    apiVersion: controlplane.cluster.x-k8s.io/v1beta1\n    kind: KubeadmControlPlane\n    name: my-cluster-control-plane\n  infrastructureRef:\n    apiVersion: infrastructure.cluster.x-k8s.io/v1beta1\n    kind: AWSCluster\n    name: my-cluster\n\"\"\")\n\nCreate Machine Deployment\nkubectl_apply(manifest=\"\"\"\napiVersion: cluster.x-k8s.io/v1beta1\nkind: MachineDeployment\nmetadata:\n  name: my-cluster-md-0\n  namespace: default\nspec:\n  clusterName: my-cluster\n  replicas: 3\n  selector:\n    matchLabels:\n      cluster.x-k8s.io/cluster-name: my-cluster\n  template:\n    spec:\n      clusterName: my-cluster\n      version: v1.28.0\n      bootstrap:\n        configRef:\n          apiVersion: bootstrap.cluster.x-k8s.io/v1beta1\n          kind: KubeadmConfigTemplate\n          name: my-cluster-md-0\n      infrastructureRef:\n        apiVersion: infrastructure.cluster.x-k8s.io/v1beta1\n        kind: AWSMachineTemplate\n        name: my-cluster-md-0\n\"\"\")\n\nCluster Lifecycle Workflows\nProvision New Cluster\n1. kubectl_apply(cluster_manifest)\n2. capi_clusters_list_tool(namespace)  # Wait for Provisioned\n3. capi_cluster_kubeconfig_tool(name, namespace)  # Get access\n\nScale Workers\n1. capi_machinedeployments_list_tool(namespace)\n2. capi_machinedeployment_scale_tool(name, namespace, replicas)\n3. capi_machines_list_tool(namespace)  # Monitor\n\nUpgrade Cluster\n1. # Update control plane version\n2. # Update machine deployment version\n3. capi_machines_list_tool(namespace)  # Monitor rollout\n\nTroubleshooting\nCluster Stuck Provisioning\n1. capi_cluster_get_tool(name, namespace)  # Check conditions\n2. capi_machines_list_tool(namespace)  # Check machine status\n3. get_events(namespace)  # Check events\n4. # Check infrastructure provider logs\n\nMachine Failed\n1. capi_machine_get_tool(name, namespace)\n2. get_events(namespace)\n3. # Common issues:\n   # - Cloud provider quota\n   # - Invalid machine template\n   # - Network issues\n\nRelated Skills\nk8s-multicluster - Multi-cluster operations\nk8s-operations - kubectl operations"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/rohitg00/k8s-capi",
    "publisherUrl": "https://clawhub.ai/rohitg00/k8s-capi",
    "owner": "rohitg00",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/k8s-capi",
    "downloadUrl": "https://openagent3.xyz/downloads/k8s-capi",
    "agentUrl": "https://openagent3.xyz/skills/k8s-capi/agent",
    "manifestUrl": "https://openagent3.xyz/skills/k8s-capi/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/k8s-capi/agent.md"
  }
}