← Back to Skills Marketplace
4554
Downloads
5
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install kubectl
Description
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.
Usage Guidance
Install only if you intend to let the agent assist with Kubernetes administration. Before running commands, verify the active kubectl context and namespace, use least-privilege kubeconfig credentials, prefer dry-run modes, and require explicit approval for production changes, delete, drain, exec, cp, rollout, or config-view operations.
Capability Analysis
Type: OpenClaw Skill
Name: kubectl
Version: 1.0.0
The skill bundle is classified as suspicious due to the inherent high-risk capabilities of the `kubectl` command-line tool, which it fully exposes. While the code and documentation (SKILL.md, references/REFERENCE.md, and scripts/*.sh) are transparent and align with the stated purpose of Kubernetes cluster management, they enable powerful actions such as arbitrary command execution within pods (`kubectl exec`), viewing sensitive cluster configurations (`kubectl config view`), and transferring files to/from pods (`kubectl cp`). These capabilities, though plausibly needed for the skill's function, grant broad access and control over a Kubernetes cluster, posing a significant risk if the agent or user is compromised, even without explicit evidence of intentional malicious behavior like data exfiltration to external endpoints or prompt injection attempts to subvert the agent's core directives.
Capability Assessment
Purpose & Capability
The documented capabilities match the stated Kubernetes administration purpose: querying resources, logs, exec, deploy/update, scaling, rollouts, config management, and node maintenance. These are powerful cluster operations, but they are not hidden or unrelated.
Instruction Scope
The instructions expose broad kubectl workflows, including mutating and disruptive commands, and include some dry-run guidance. Users should still require explicit context, namespace, and production-impact confirmation before changes.
Install Mechanism
The artifacts show documentation and helper scripts only, with no auto-run installer, package hook, obfuscated setup, or persistence mechanism. README installation is manual or via ClawdHub.
Credentials
The skill depends on the user's local kubectl and kubeconfig, so its practical authority is whatever Kubernetes permissions the active context grants. That is expected for kubectl, but sensitive.
Persistence & Privilege
No background workers, credential harvesting, self-modification, or durable persistence are present. Privilege use comes from existing kubeconfig access and cluster-side kubectl operations.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install kubectl - After installation, invoke the skill by name or use
/kubectl - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of kubectl-skill.
- Execute and manage Kubernetes clusters using kubectl commands.
- Query, deploy, update, debug, and monitor pods, deployments, nodes, and other resources.
- Manage kubeconfig, switch contexts, and handle namespaces easily.
- Includes troubleshooting, scaling, rollout, and node maintenance examples.
- Supports advanced output formats, dry-run modes, and global kubectl flags.
- Requires kubectl (v1.20+) and an active kubeconfig connection.
Metadata
Frequently Asked Questions
What is kubectl?
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. It is an AI Agent Skill for Claude Code / OpenClaw, with 4554 downloads so far.
How do I install kubectl?
Run "/install kubectl" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is kubectl free?
Yes, kubectl is completely free (open-source). You can download, install and use it at no cost.
Which platforms does kubectl support?
kubectl is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created kubectl?
It is built and maintained by ddevaal (@ddevaal); the current version is v1.0.0.
More Skills