jacjackai

Dsh Control — AI skill for Claude Code

AI community

Let AI agents operate DeepSeek Harness (DSH) — workspace/session control, task cards, multi-model fanout review.

How to install Dsh Control

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

What Dsh Control does

Let AI agents operate DeepSeek Harness (DSH) — workspace/session control, task cards, multi-model fanout review. Community skill, not official.

Alternatives in AI

  • EchoBird — One-click install + model switch:Claude Code,Codex CLI (OpenAI), Grok Build (xAI), DeepSeek Harness, Kimi Code 3.1k ★
  • Deepseek Pp — DeepSeek Web browser extension: AI agent workspace with MCP tools, memory, Skills, automation, web search, and 1.7k ★
  • TokenTracker — Local-first AI token usage & cost tracker for 31 coding tools incl 1.4k ★

README

dsh-control — DSH 自操作技能

让 AI Agent 通过一条命令操作本机 [DSH (DeepSeek Harness)](https://github.com/GZZ-523/deepseek-harness) 的工作区与会话:列出/打开/关闭工作区、新建会话、给指定会话投递指令、多席扇出收独立意见、任务卡派工——全部走 DSH 宿主的官方 HTTP RPC,非浏览器模拟。

**📌 版本状态(2026-09-15)**:本仓库是**早期公开快照,冻结在 v1.0.0**(适配 DSH 0.1.1-rc.2)。 它演示了完整的理念与用法,但**与最新的 DSH 宿主不兼容**——新版宿主改变了 RPC 面并加入了 browser-trust 鉴权,本快照的调用方式已不能直接使用。后续大幅演进在私有版本中进行,不再对外发布。 欢迎把它当作设计参考自行适配;issue 仍开放,但功能性 PR 请先开讨论。

这是一个 [Agent Skill](https://github.com/anthropics/skills)(SKILL.md + CLI 脚本),适用于任何能执行 shell 命令并读取技能目录的 Agent 环境(Claude Code、DSH 等)。

它能做什么

dshctl status                     # 全局总览:所有工作区 × 会话一张表
dshctl ws open my-task            # 开一个工作区(自动落到 ~/dsh-workspaces/my-task)
dshctl session create --workspace  --title "工位名"
dshctl session prompt  "任务" --yes          # 给会话派活
dshctl session wait                           # 阻塞等完成,回收回复
dshctl dispatch  -f card.json --yes           # 按结构化任务卡派工
dshctl fanout -f q.md --seats "甲席,乙席,丙席" \
  --models "vyce:claude-sonnet-4-6,justwork:gpt-5.6-luna" \
  --workspace  --yes                          # 多模型独立评审
dshctl fanout-collect                    # 回收各席意见,产出实名汇总

典型闭环:**建工位 → 派任务卡 → wait 回收 → 按验收标准亲验产物**。所有变更操作有确认闸门(`--yes`)和审计日志(`audit.jsonl`)。

安装

# 1. 确认本机 DSH Web 正在运行(默认 http://127.0.0.1:3080)
curl -s http://127.0.0.1:3080/ -o /dev/null -w '%{http_code}\n'   # 应返回 200

# 2. 把本目录复制到你的技能目录
cp -r dsh-control ~/.claude/skills/dsh-control    # Claude Code / DSH
# 或 ~/.agents/skills/ 等你的环境对应目录

# 3. 自检
python3 ~/.claude/skills/dsh-control/scripts/dshctl.py --version
python3 ~/.claude/skills/dsh-control/scripts/dshctl.py ws list

要求:Python 3.9+(零第三方依赖)。

配置(环境变量,均可选)

变量 默认 说明
DSH_BASE http://127.0.0.1:3080 DSH Web 宿主地址
DSH_TOKEN 宿主配置了鉴权时注入 Authorization: Bearer
DSH_WORKSPACE_ROOT ~/dsh-workspaces 技能自建工作区的统一根目录
DSH_CONTROL_AUDIT /audit.jsonl 审计日志路径

⚠️ 安全须知(务必阅读)