Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -58% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -19% | 0% |
| case-14 | ✗→✓ | ▲ Improved | -51% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -32% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -31% | 0% |
> ⚠️ Security: Read-only only. Never use kubectl to create, update, or delete cluster resources. Use KubeSphere console instead.
List or get KubeSphere cluster information: list clusters, get details, check status, identify host/member.
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}}'
Cluster installation/upgrade/remove, any write operations. Use KubeSphere console.
Other measured skills in the registry, with their headline benchmark lift.