Skip to main content

Build

Kubesphere Cluster Management

KubeSphereOfficialCertified

KubeSphere cluster query Skill (read-only). Use when user requests to view cluster list, cluster status, cluster details, or cluster version info. Do not perform any write operations (create, delete, update). Use KubeSphere Console for management operations.

  • New
  • v1.0.1
  • Reviewed Jul 21
  • No reviews yet

Getting started

Full instructions

Example command

Commands

kubectl get cluster

Instructions: SKILL.mdv1.0.1

KubeSphere Cluster Query

⚠️ Security: Read-only only. Never use kubectl to create, update, or delete cluster resources. Use KubeSphere console instead.

When to Use

List or get KubeSphere cluster information: list clusters, get details, check status, identify host/member.

Commands

bash
# List clusters
kubectl get cluster

# Get cluster details
kubectl get cluster <name> -o yaml

# Get cluster summary (name, connection type, version, status)
kubectl get cluster -o go-template='
{{printf "%-12s %-12s %-12s %-15s %-13s %-12s\n" "NAME" "CONN_TYPE" "KS_VERSION" "K8S_VERSION" "ClusterReady" "KSCORE_READY"}}
{{range .items}}{{printf "%-12s %-12s %-12s %-15s" .metadata.name .spec.connection.type .status.kubeSphereVersion .status.kubernetesVersion}}{{range .status.conditions}}{{if eq .type "Ready"}}{{printf "%-13s" .status}}{{end}}{{end}}{{range .status.conditions}}{{if eq .type "KSCoreReady"}}{{printf "%-12s" .status}}{{end}}{{end}}{{"\n"}}{{end}}'

Out of Scope

Cluster installation/upgrade/remove, any write operations. Use KubeSphere console.

Explore more skills

Browse all
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

More from KubeSphere

View source →

Frequently asked questions about kubesphere-cluster-management

What does the kubesphere-cluster-management skill do?

KubeSphere cluster query Skill (read-only). Use when user requests to view cluster list, cluster status, cluster details, or cluster version info. Do not perform any write operations (create, delete, update). Use KubeSphere Console for management operations. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the kubesphere-cluster-management skill?

Run `npx @skills-hub-ai/cli install kubesphere-cluster-management` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/kubesphere-cluster-management/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does kubesphere-cluster-management work with?

kubesphere-cluster-management runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the kubesphere-cluster-management skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use kubesphere-cluster-management after installing it?

In Claude Code, type `/kubesphere-cluster-management` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the kubesphere-cluster-management skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.

Badge for your README

Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/kubesphere-cluster-management)](https://skills-hub.ai/skills/kubesphere-cluster-management)
HTML
<a href="https://skills-hub.ai/skills/kubesphere-cluster-management"><img src="https://skills-hub.ai/api/badges/skill/kubesphere-cluster-management" alt="Install on Skills Hub"></a>

More options in the badge docs.