← 返回 Skills 市场
77
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install rocketmq-kubectl
功能描述
Query and manage RocketMQ messages via kubectl exec. Use when user needs to: (1) Query cluster information, (2) Create, delete, or manage topics, (3) Check c...
安全使用建议
This skill is an instructions document for using kubectl to run RocketMQ admin commands inside a Kubernetes pod. Before installing or using it: 1) Verify you have kubectl and a kubeconfig with appropriate RBAC; the skill does not declare these dependencies. 2) Review and update all hardcoded namespaces, pod names, and nameserver addresses to match your environment—do not run examples against production clusters blindly. 3) Be careful with destructive commands (deleteTopic, reset offsets, updateTopic) and test in a staging cluster first. 4) Limit the kubeconfig credentials used to the minimum necessary (avoid using cluster-admin unless required). 5) If you want the skill to be usable by others, ask the author to declare kubectl as a required binary and to document required kubeconfig/config paths and permission scope. If you cannot verify the target pod/cluster names and permissions, treat the skill as risky to run autonomously.
功能分析
Type: OpenClaw Skill
Name: rocketmq-kubectl
Version: 1.0.0
The skill bundle provides instructions for an AI agent to manage a RocketMQ cluster using 'kubectl exec' within the highly sensitive 'kube-system' namespace. It is hardcoded to target a specific internal domain (teambition.local) and pod (rocketmq-master1.teambition.local). While the commands in SKILL.md are standard administrative tasks for RocketMQ, the high-privilege access requirements and environment-specific nature pose a significant risk. There is no clear evidence of malicious intent such as data exfiltration or persistence, but the ability to read files and execute commands in a system namespace is a high-risk capability.
能力评估
Purpose & Capability
The skill claims to manage RocketMQ via kubectl exec, which is coherent with the commands in SKILL.md. However the skill metadata declares no required binaries or credentials while all runtime examples rely on kubectl and cluster access (kubeconfig and RBAC permissions). The absence of a declared dependency on kubectl or on access to a kubeconfig is an inconsistency.
Instruction Scope
SKILL.md explicitly instructs the agent to run 'kubectl -n kube-system exec ...' and to run './mqadmin' and 'cat' inside pods, including reading message body files and performing actions like deleteTopic and reset consumer offsets. Those instructions are within the stated purpose (managing/querying RocketMQ) but include destructive operations and assume interactive exec (-it). The doc also hardcodes hostnames/namespaces (rocketmq-master1.teambition.local, master1.teambition.local:9876, kube-system) which may not apply to end users' clusters; this increases the chance of misconfiguration or accidental destructive actions if used blindly.
Install Mechanism
This is an instruction-only skill with no install spec and no code files, so nothing is written to disk by the skill itself. That lowers install-time risk.
Credentials
The skill declares no required environment variables or config paths, but the runtime behavior requires access to a Kubernetes cluster via kubectl and the user's kubeconfig and cluster credentials/permissions. Those credentials are not declared in metadata. The implicit requirement for cluster-admin-like permissions (exec into master pods, read /tmp/rocketmq/msgbodys, reset offsets, delete topics) is high and not disclosed.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request persistent or elevated platform-level privileges in its metadata. Autonomous invocation is allowed by default (disable-model-invocation=false) but that is normal platform behavior and not, by itself, a new risk here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install rocketmq-kubectl - 安装完成后,直接呼叫该 Skill 的名称或使用
/rocketmq-kubectl触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of rocketmq-kubectl.
- Enables querying and managing RocketMQ clusters via kubectl exec in Kubernetes environments.
- Supports cluster, topic, and consumer management, including creating/deleting topics and checking cluster info.
- Allows querying messages by ID, key, or offset; resetting consumer offsets to clear backlog.
- Adds commands for viewing topic statistics, consumer progress, and sending/consuming test messages.
- Documents parameters for flexible RocketMQ administration within Kubernetes.
元数据
常见问题
rocketmq-kubectl 是什么?
Query and manage RocketMQ messages via kubectl exec. Use when user needs to: (1) Query cluster information, (2) Create, delete, or manage topics, (3) Check c... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 77 次。
如何安装 rocketmq-kubectl?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install rocketmq-kubectl」即可一键安装,无需额外配置。
rocketmq-kubectl 是免费的吗?
是的,rocketmq-kubectl 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
rocketmq-kubectl 支持哪些平台?
rocketmq-kubectl 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 rocketmq-kubectl?
由 GoodAtMe(@peintune)开发并维护,当前版本 v1.0.0。
推荐 Skills