ChenYCL

Debug AI npm — AI skill for Claude Code

AI community

DeepSeek Harness CLI (dsh) — 逆向重构版: 多 LLM 支持的 AI Agent 运行时启动器.

How to install Debug AI npm

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ChenYCL/debug-ai-npm and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Debug AI npm does

DeepSeek Harness CLI (dsh) — 逆向重构版: 多 LLM 支持的 AI Agent 运行时启动器.

Alternatives in AI

  • Opencodex — Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama… 12.3k ★
  • Deepreasoning — A high-performance LLM inference API and Chat UI that integrates DeepSeek R1's CoT reasoning traces with Anthr 5.4k ★
  • Desktop Cc Gui — Multi-engine AI coding desktop client (Tauri) 4.4k ★

README

`@deepseek-ai/dsh` — DeepSeek Harness CLI

DeepSeek 的 AI Agent 运行时启动器,逆向重构版 + 多 LLM 支持

这是什么?

`dsh` 是 **DeepSeek Harness** 的命令行启动器。它是一个 **AI Agent 运行时平台**,通过 **Profile** 机制来组合和启动不同配置的 AI 编码 Agent。

它和 Claude Code CLI 是什么关系?

**它们本质上是一类工具**,但架构理念不同:

维度 Claude Code CLI dsh (DeepSeek Harness)
目标 一个开箱即用的编码 Agent 一个 Agent 运行时平台
架构 单体应用 插件化 + IoC 容器 (Cordis)
Profile 无 多层 Patch 叠加的 Profile 系统
LLM 支持 仅 Claude 可插拔 Provider(默认 DeepSeek)
扩展性 有限的 Tools/Commands 完整 Plugin 生态,可自修改运行时
Agent Preset 单一模式 4 种 Preset(极简/标准/代码/创造)
热重载 无 支持 cordis-patch.yml 热重载
Plugin 管理 无 通过 dsh plugin + pnpm 管理

**一句话总结:** Claude Code CLI 是一个 AI 编码助手,`dsh` 是一个**可以运行 AI 编码助手的平台**。`dsh` 的 `standard` preset 提供的功能与 Claude Code CLI 基本一致(bash、文件编辑、搜索、子代理),但 `dsh` 还支持:

  • 通过 code preset 启用 Code Mode(模型写 TypeScript 程序代替单步 tool call)
  • 通过 cordis preset 让 Agent 自己修改运行时的 Agent preset
  • 通过 dsh plugin --profile 安装第三方 bundle 扩展能力

架构

┌─────────────────────────────────────────────────────────┐
│                    CLI 入口 (Commander)                   │
│  dsh --profile  [args...]                          │
│  dsh web / dsh plugin --profile                    │
└──────────────┬──────────────────────────────────────────┘
               │
               ▼
┌─────────────────────────────────────────────────────────┐
│                Profile Boot 引擎                          │
│                                                          │
│  1. 解析 --profile 参数 → 定位 $DSH_HOME/profiles/ │
│  2. 读取 package.json 中的 dsh.profile.bundles            │
│  3. 按序叠加 Patch 层:                                   │
│     bundle ① → bundle ② → ... → cordis.patch.yml        │
│     → $DSH_HOME/cordis.patch.yml → --patch 覆盖          │
│  4. 启动 Cordis 应用树(IoC 容器)                         │
│  5. 挂载 Agent Preset → 进入交互循环                       │
└──────────────┬──────────────────────