← 返回 Skills 市场
ddevaal

kubectl

作者 ddevaal · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
4554
总下载
5
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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.
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install kubectl
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /kubectl 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug kubectl
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 4554 次。

如何安装 kubectl?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install kubectl」即可一键安装,无需额外配置。

kubectl 是免费的吗?

是的,kubectl 完全免费(开源免费),可自由下载、安装和使用。

kubectl 支持哪些平台?

kubectl 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 kubectl?

由 ddevaal(@ddevaal)开发并维护,当前版本 v1.0.0。

💬 留言讨论