guiyi-labs/kubemd 预览 preview

guiyi-labs/kubemd

Evidence-first Kubernetes runtime diagnosis with case memory — a DSH skill (+ aiops CLI twin).

Project Overview项目介绍

KubeMD is a DSH skill for diagnosing live, broken Kubernetes clusters, not validating manifests. It runs a seven-phase loop: capture context, build a red-capable feedback loop, collect signals, rank falsifiable hypotheses, suggest dry-run fixes, and record the case for future recall. Use it during incidents such as CrashLooping pods, NotReady nodes, or unresponsive Services, where evidence-based root-cause analysis is required. Caveat: verified fault-injection testing on kind clusters, MCP tooling, and cases.yaml RAG sync with the aiops knowledge base are still on the roadmap and not yet complete.

KubeMD 是面向 Kubernetes 故障的 DSH 技能,用于诊断运行中崩溃的集群,而非清单校验。其核心能力是按七阶段流程(捕获上下文→建立反馈回路→采集信号→排序可证伪假设→dry-run 修复→记录案例)输出根因、证据与修复建议,并在案例库中持久化以便复用。适用于 Pod CrashLoop、节点 NotReady、Service 无响应等事故响应场景。局限:当前路线图中 kind 集群的故障注入验证、MCP 工具与案例库 RAG 同步尚未完成。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:guiyi-labs/kubemd

把 guiyi-labs/kubemd 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

KubeMD — The Kubernetes Surge Doctor

Evidence-first runtime diagnosis for Kubernetes failures — with case memory.

A DSH (DeepSeek Harness) skill that diagnoses live, broken clusters, not manifests. When a pod is CrashLooping, a node goes NotReady, or a Service stops answering, KubeMD runs a disciplined loop: capture context → build a red-capable feedback loop → collect signals → rank falsifiable hypotheses → fix with dry-run semantics → record the case for instant recall next time.

Different from KubeShark-style skills: they prevent hallucinations while writing YAML. KubeMD finds out why your running workload is broken — and never forgets a fix.

powered by dsh License Listed: awesome-deepseek-harness Listed: Awesome-DeepSeek-Harness-Plugins Listed: awesome-deepseek-harness (0xsline ★555) Listed: dshbase

Install (30 seconds)

git clone https://github.com/guiyi-labs/kubemd ~/.dsh/skills/dsh-k8s-diagnosis

That's it. DSH auto-discovers skills in ~/.dsh/skills/. No restart needed.

DSH (DeepSeek Harness) — everything is a plugin. Skills are instruction bundles + scripts that agents load on demand.

💡 Install as a skill directory: the repo layout we ship is exactly a DSH skill bundle. Or copy the folder and rename to dsh-k8s-diagnosis under ~/.dsh/skills/.

Demo

CLI running against a real fault-injected kind cluster (diagnose → 4 findings → case recall):

KubeMD demo — aiops CLI on a real fault cluster

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-theme-pack 下一个 Next session-teleport →