DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-kubectl

d

dsh-kubectl

Manifest valid

Kubernetes ops for the agent: get resources with structured JSON output, describe, logs, exec, apply/delete (user-confirmed) and port-forward.

hasBundlePatch

dsh-kubectl

Kubernetes (kubectl) 的 DeepSeek Harness (dsh) 插件 —— 让 dsh 智能体检查集群、查资源、 读日志、端口转发、执行一次性命令。只读命令输出 JSON 结构化数据(模型解析可靠),写操作显式确认。

独立社区项目,非官方。基于 kubernetes/kubectl(Apache-2.0)。

为什么值得做

Kubernetes(40k+ star)至今没有 DSH 适配插件。kubectl 的 -o json 结构化输出对 agent 极其友好(远胜 winget 的表格),是运维刚需:

能力说明
kubectl_get查资源,-o json 结构化输出
kubectl_describe / kubectl_logs排障三件套
kubectl_status版本/上下文/集群信息
kubectl_exec / kubectl_apply / kubectl_delete执行/部署/删除(显式确认)
kubectl_port_forward本地访问集群内服务

前置要求

  • DeepSeek Harness(dsh)
  • kubectl 已安装并配置 kubeconfig(kubectl config get-contexts 可看)

安装

- insert:
    - id: kubectl
      name: './src/index.js'
      config:
        kubectlPath: kubectl
        context: my-cluster
        namespace: default
pnpm dsh web --patch ./dsh-kubectl/cordis.patch.yml

工具

工具行为安全
kubectl_get查资源(JSON)🔵 只读
kubectl_describe资源详情🔵 只读
kubectl_logspod 日志(tail/previous/container)🔵 只读
kubectl_status版本/上下文🔵 只读
kubectl_exec容器内执行命令🟡 确认
kubectl_apply应用清单🔴 确认
kubectl_delete删除资源🔴 确认
kubectl_port_forward端口转发🟡 常驻

配置项

键默认说明
kubectlPathkubectlkubectl 路径
context—默认上下文
namespace—默认命名空间
timeoutMs60000单次调用超时

已知限制

  • 无集群时命令报连接拒绝(stderr 原样返回)
  • port-forward 是常驻进程,当前版本不自动停止
  • 写操作依赖用户确认;SKILL.md 有明确红线

目录结构

dsh-kubectl/
  src/index.js            # 8 个工具 + 配置
  skills/kubectl/SKILL.md
  docs/
  cordis.patch.yml

许可

MIT。

Comments

Loading…

Similar plugins

dsh-agent-log

by Neo65536-engineer

Read-only work reports for DeepSeek Harness: reconstruct what an agent task actually did from session logs — tools used, files read/written, commands run, test results, failures, token usage, and whether it finished. Fully offline, no API key, no data leaves your machine.

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 1

MIT

JavaScript

Sep 26, 2026

dsh plugin --profile web add dsh-agent-log

by Yangi-252410

该仓库暂未提供项目说明。

Development & InfrastructureManifest valid

★ 0

JavaScript

Oct 5, 2026

dsh plugin --profile web add dsh-git-tools

Group-chat multi-agent orchestration console for DSH: autonomous decision-making, task dispatch, verification and iterative optimization for long tasks; bundles its own backend, installs with `dsh plu

Workflow & AutomationManifest valid

★ 0

dsh plugin --profile web add dsh-agent-hub

by lifangjin

庖丁解牛,游刃有余 —— 把 DSH 编排成角色分工、按需加载的 agent preset。

Workflow & AutomationManifest valid

★ 7

↓ 528/wk

MIT

JavaScript

Oct 20, 2026

dsh plugin --profile web add dsh-paoding

Reusable subagent definitions managed from a Settings page and dispatched through a single delegate_agent tool; ships with a built-in read-only Explorer preset and a nested-delegation policy toggle.

Workflow & AutomationManifest valid

★ 0

dsh plugin --profile web add dsh-custom-subagents

by goecho

Fork agent presets and run tasks on the next generation. Make, not a compiler.

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 2

MIT

JavaScript

Sep 15, 2026

dsh plugin --profile web add dsh-generation