DSH Agent Presets

August 13, 2026 · View on GitHub

270 个可直接安装的 DeepSeek Harness Agent 预设(中文),由 agent 创作模式批量生成并维护。

包含什么

类别数量说明
角色预设(engineering/design/marketing/…共 19 个分类)269基于 standard 完整工具集,persona 改编自 agency-agents-zh 的 agent 定义
队长模式1team-captain(队长)——多智能体团队编排:分析需求 → 从预设 roster 自动选角 → 并行派发后台子代理(人格原文注入)→ 协调汇总

每个预设目录包含:

  • agent.cordis.yml — Cordis 插件组合(工具行 + persona)
  • preset.yml — 展示元数据(名称/描述/排序)
  • team-captain/plugins/team-tools-v3.mjs — 队长模式的团队工具(自包含)

安装

把需要的预设目录复制到 harness 的用户预设根目录(首次使用会自动创建):

# Windows
Copy-Item .\frontend-developer $env:USERPROFILE\.dsh\.agent-presets\ -Recurse
# Linux/macOS
cp -r ./frontend-developer ~/.dsh/.agent-presets/

一键安装全部预设

# Windows
powershell -ExecutionPolicy Bypass -File install.ps1
# Linux/macOS
bash install.sh

脚本会克隆(或更新)本仓库并把全部预设目录复制到 ~/.dsh/.agent-presets/。也可以手动操作:

# Windows
gh repo clone MoreChanger/dsh-agent-presets $env:TEMP\dsh-agent-presets
$dest = "$env:USERPROFILE\.dsh\.agent-presets"
New-Item -ItemType Directory -Path $dest -Force | Out-Null
Get-ChildItem "$env:TEMP\dsh-agent-presets" -Directory | Copy-Item -Destination $dest -Recurse -Force
# Linux/macOS
gh repo clone MoreChanger/dsh-agent-presets /tmp/dsh-agent-presets
mkdir -p ~/.dsh/.agent-presets
find /tmp/dsh-agent-presets -maxdepth 1 -mindepth 1 -type d -exec cp -r {} ~/.dsh/.agent-presets/ \;

更新全部预设:直接重新运行上面的安装脚本(会自动 git pull 后重新复制),或手动执行:

cd /tmp/dsh-agent-presets && git pull
# 然后重新执行上面的复制命令

Roster 每次读取都重新扫描目录,无需重启即可在新建会话的 Agent preset 选择器中看到全部 270 个预设。

使用队长模式

  1. 新建会话,在 Agent preset 选择器里选「队长」
  2. 直接提需求(如"为张三设计一个个人博客"),队长会自动:
    • 拆解需求,team_list 浏览全部可用角色
    • team_brief 提取目标角色的完整人格设定
    • subagent 并行派出后台子代理,人格原文嵌入任务简报
    • 跟踪进度、协调接口、汇总交付

自定义

  • preset.ymlorder 字段可调整选择器排序(数值越小越靠前)
  • agent.cordis.yml 的 persona 段落可定制角色
  • ⚠️ 若修改队长插件的 plugins/*.mjs,必须改文件名后同步更新组合文件中的行名(ESM 模块按 URL 缓存,同名文件改动不生效)

来源与许可证

  • 角色 persona 改编自 jnMetaCode/agency-agents-zh(MIT,翻译自 Michael Sitarzewski 的英文原版),本仓库保留其 MIT 版权声明(见 LICENSE)
  • 组合框架、队长模式与工具插件为 MoreChanger 原创,同样以 MIT 许可发布