AGENT SKILL

kubecm

Use this skill when the user wants to switch Kubernetes contexts, manage kubeconfig files, or work with multiple Kubernetes clusters.

License 许可
MIT
所属仓库
javimosch/supercli
最近更新
2026-11-02
Stars
★ 57
Forks
5

01 前言 Front Matter

name
kubecm
description
Use this skill when the user wants to switch Kubernetes contexts, manage kubeconfig files, or work with multiple Kubernetes clusters.

03 SKILL.md 正文

kubecm Plugin

A Kubeconfig manager for multiple Kubernetes clusters. Switch and manage kubeconfig files easily from the command line.

Commands

Context Management

  • kubecm context list — List Kubernetes contexts
  • kubecm context switch — Switch Kubernetes context

Utility

  • kubecm _ _ — Passthrough to kubecm CLI

Usage Examples

  • "List Kubernetes contexts"
  • "Switch K8s context"
  • "Manage kubeconfig"
  • "Merge kubeconfig files"

Installation

brew install kubecm

Or via Go:

go install github.com/sunny0826/kubecm/cmd/kubecm@latest

Examples

# List contexts
kubecm ls

# Switch context
kubecm sw my-cluster

# List with kubeconfig
kubecm ls --kubeconfig ~/.kube/config

# Any kubecm command with passthrough
kubecm _ _ ls
kubecm _ _ sw production
kubecm _ _ add ~/.kube/config-new

Key Features

  • Contexts - Context management
  • Switch - Context switching
  • Merge - Kubeconfig merging
  • Multi-cluster - Multi-cluster support
  • Interactive - Interactive selection
  • K8s - Kubernetes integration
  • DevOps - DevOps workflows
  • Config - Config management
  • CLI - Command line native
  • Easy - Easy to use

Notes

  • Requires kubectl
  • Great for multi-cluster setups
  • Supports kubeconfig merging
  • Interactive context selection

04 同仓库更多 Skills