kubectl - Kubernetes Cluster Management

VerifiedCaution

Provides CLI operations for managing Kubernetes clusters using kubectl. Includes tools to inspect and manipulate pods, deployments, and services, such as listing, scaling, and viewing logs. Helps DevOps and developers interact with Kubernetes infrastructure efficiently.

Sby Skills Guide Bot
DevOpsIntermediate
1306/2/2026
Claude Code
#kubectl#kubernetes#cluster-management#cli

Recommended for

Our review

Provides kubectl commands for managing Kubernetes clusters, including pods, deployments, and services.

Strengths

  • Covers common kubectl operations efficiently with 90%+ context savings.
  • Includes progressive disclosure with required confirmation for destructive actions (scale, rollback).
  • Blocks dangerous operations like deleting namespaces or clusters.

Limitations

  • Requires kubectl CLI and a valid Kubeconfig file.
  • Limited to built-in kubectl commands; no custom scripts or advanced filtering.
  • Does not support cluster creation or cloud-provider-specific operations.
When to use it

Use this skill to inspect or modify a Kubernetes cluster via kubectl, such as listing pods, scaling deployments, or viewing logs.

When not to use it

Do not use it to create or delete a cluster, or for operations requiring cloud-specific tools (eksctl, az aks).

Security analysis

Caution
Quality score90/100

The skill provides legitimate Kubernetes management via kubectl, with safeguards like confirmation for destructive actions and blocking namespace/cluster deletion. However, using bash to run kubectl commands inherently carries risk of unintended modifications to the cluster.

Findings
  • Skill uses Bash to execute kubectl commands, which can perform cluster operations including pod deletion, scaling, and rollbacks. Confirmation is required for destructive actions, but risk remains if misused.

Examples

List all pods
List all pods in the default namespace
Scale deployment
Scale the deployment 'my-app' to 3 replicas
Check rollout status
Check rollout status of deployment 'my-app'

name: kubectl description: Kubernetes CLI operations and cluster management allowed-tools: [Bash, Read]

Kubectl Skill

Overview

Kubernetes cluster management via kubectl. 90%+ context savings.

Requirements

  • kubectl CLI installed
  • KUBECONFIG environment variable or ~/.kube/config

Tools (Progressive Disclosure)

Pods

| Tool | Description | Confirmation | | ------------ | ------------- | ------------ | | get-pods | List pods | No | | describe-pod | Pod details | No | | logs | View pod logs | No | | delete-pod | Delete pod | REQUIRED |

Deployments

| Tool | Description | Confirmation | | --------------- | ------------------- | ------------ | | get-deployments | List deployments | No | | scale | Scale deployment | Yes | | rollout | Rollout status | No | | rollback | Rollback deployment | Yes |

Services

| Tool | Description | | ------------ | --------------- | | get-services | List services | | get-ingress | List ingresses | | port-forward | Port forwarding |

BLOCKED

| Tool | Status | | ---------------- | ----------- | | delete namespace | BLOCKED | | delete cluster | BLOCKED |

Agent Integration

  • devops (primary): Cluster operations
  • developer (secondary): App deployment
Related skills