agent-pack-n-go
🚀 Clone your OpenClaw AI Agent to a new device in ~25 minutes — configs, memory, skills, everything.
Execute and manage Kubernetes clusters via kubectl commands. Query resources, deploy applications, debug containers, manage configurations, and monitor cluster health. Use when working with Kubernetes clusters, containers, deployments, or pod diagnostics.
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install ddevaal/kubectlInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
Execute Kubernetes cluster management operations using the kubectl command-line tool.
This skill enables agents to:
~/.kube/config)macOS:
brew install kubernetes-cli
Linux:
apt-get install -y kubectl # Ubuntu/Debian
yum install -y kubectl # RHEL/CentOS
Verify:
kubectl version --client
kubectl cluster-info # Test connection
kubectl get pods # List all pods in current namespace
kubectl get pods -A # All namespaces
kubectl get pods -o wide # More columns
kubectl get nodes # List nodes
kubectl describe pod POD_NAME # Detailed info with events
kubectl logs POD_NAME # Get logs
kubectl logs -f POD_NAME # Follow logs (tail -f)
kubectl logs POD_NAME -c CONTAINER # Specific container
kubectl logs POD_NAME --previous # Previous container logs
kubectl exec -it POD_NAME -- /bin/bash # Interactive shell
kubectl exec POD_NAME -- COMMAND # Run single command
kubectl apply -f deployment.yaml...
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
An Agent Skills-compatible skill package for kubectl command-line operations on Kubernetes clusters.
kubectl-pod-debug.sh — Comprehensive pod debuggingkubectl-deploy-update.sh — Safe deployment image updates with monitoringkubectl-node-drain.sh — Safe node maintenance with confirmationkubectl-cluster-info.sh — Cluster health checkclawdhub install kubectl-skill
Copy the kubectl-skill directory to one of these locations:
<workspace>/skills/
~/.clawdbot/skills/
~/.clawdbot/clawdbot.json
kubectl version --client
kubectl cluster-info
# List pods
kubectl get pods -A
# View logs
kubectl logs POD_NAME
# Execute in pod
kubectl exec -it POD_NAME -- /bin/bash
# Apply configuration
kubectl apply -f deployment.yaml
# Scale deployment
kubectl scale deployment/APP --replicas=3
Make scripts executable first:
chmod +x scripts/*.sh
./scripts/kubectl-pod-debug.sh POD_NAME [NAMESPACE]
./scripts/kubectl-deploy-update.sh DEPLOYMENT CONTAINER IMAGE [NAMESPACE]
./scripts/kubectl-node-drain.sh NODE_NAME
./scripts/kubectl-cluster-info.sh
kubectl-skill/
├── SKILL.md # Main skill instructions
├── LICENSE...
# kubectl Skill Execute Kubernetes cluster management operations using the `kubectl` command-line tool. ## Overview This skill enables agents to: - **Query Resources** — List and get details about pods, deployments, services, nodes, etc. - **Deploy & Update** — Create, apply, patch, and update Kubernetes resources - **Debug & Troubleshoot** — View logs, execute commands in containers, inspect events - **Manage Configuration** — Update kubeconfig, switch contexts, manage namespaces - **Monitor Health** — Check resource usage, rollout status, events, and pod conditions - **Perform Operations** — Scale deployments, drain nodes, manage taints and labels ## Prerequisites 1. **kubectl binary** installed and accessible on PATH (v1.20+) 2. **kubeconfig** file configured with cluster credentials (default: `~/.kube/config`) 3. **Active connection** to a Kubernetes cluster ## Quick Setup ### Install kubectl **macOS:** ```bash brew install kubernetes-cli ``` **Linux:** ```bash apt-get install -y kubectl # Ubuntu/Debian yum install -y kubectl # RHEL/CentOS ``` **Verify:** ```bash kubectl version --client kubectl cluster-info # Test connection ``` ## Essential Commands ### Query Resources ```bash kubectl get pods # List all pods in current namespace kubectl get pods -A # All namespaces kubectl get pods -o wide # More columns kubectl get nodes # List nodes kubectl describe pod POD_NAME # Detailed info with events ``` ### View Logs ```bash kubectl logs POD_NAME # Get logs kubectl logs -f POD_NAME # Follow logs (tail -f) kubectl logs POD_NAME -c CONTAINER # Specific container kubectl logs POD_NAME --previous # Previous container logs ``` ### Execute Commands ```bash kubectl exec -it POD_NAME -- /bin/bash # Interactive shell kubectl exec POD_NAME -- COMMAND # Run single command ``` ### Deploy Applications ```bash kubectl apply -f deployment.yaml...
# kubectl Skill An Agent Skills-compatible skill package for kubectl command-line operations on Kubernetes clusters. ## What's Included - **SKILL.md** — Main skill instructions (AgentSkills format) - **references/REFERENCE.md** — Complete command reference - **scripts/** — Helper scripts for common workflows - `kubectl-pod-debug.sh` — Comprehensive pod debugging - `kubectl-deploy-update.sh` — Safe deployment image updates with monitoring - `kubectl-node-drain.sh` — Safe node maintenance with confirmation - `kubectl-cluster-info.sh` — Cluster health check ## Installation ### Via ClawdHub ```bash clawdhub install kubectl-skill ``` ### Manual Installation Copy the `kubectl-skill` directory to one of these locations: - **Workspace skills** (per-project): `<workspace>/skills/` - **Local skills** (user-wide): `~/.clawdbot/skills/` - **Extra skills folder**: Configured via `~/.clawdbot/clawdbot.json` ## Requirements - **kubectl** v1.20+ installed and on PATH - **kubeconfig** file configured with cluster access - Active connection to a Kubernetes cluster ## Quick Start ### Verify Installation ```bash kubectl version --client kubectl cluster-info ``` ### Basic Commands ```bash # List pods kubectl get pods -A # View logs kubectl logs POD_NAME # Execute in pod kubectl exec -it POD_NAME -- /bin/bash # Apply configuration kubectl apply -f deployment.yaml # Scale deployment kubectl scale deployment/APP --replicas=3 ``` ## Helper Scripts Make scripts executable first: ```bash chmod +x scripts/*.sh ``` ### Debug a Pod ```bash ./scripts/kubectl-pod-debug.sh POD_NAME [NAMESPACE] ``` ### Update Deployment Image ```bash ./scripts/kubectl-deploy-update.sh DEPLOYMENT CONTAINER IMAGE [NAMESPACE] ``` ### Drain Node for Maintenance ```bash ./scripts/kubectl-node-drain.sh NODE_NAME ``` ### Check Cluster Health ```bash ./scripts/kubectl-cluster-info.sh ``` ## Structure ``` kubectl-skill/ ├── SKILL.md # Main skill instructions ├── LICENSE...
🚀 Clone your OpenClaw AI Agent to a new device in ~25 minutes — configs, memory, skills, everything.
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
⚡ SOTA agent skills for OpenClaw — observability, security, code quality, incident response, and more. Built by Anvil AI.
OpenClaw Skill: Safely restart the Gateway with context preservation, guardian watchdog, and multi-channel notification