返回目录
其他 技能

dsh-agent-skills

minivv/dsh-agent-skills

Discover and manage Agent Skills inside DeepSeek Harness

Stars
4
Forks
0
Issues
0
更新
1 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:minivv/dsh-agent-skills

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-agent-skills

npm license DeepSeek Harness plugin

在 DeepSeek Harness 的设置页中查看、启停和管理本地 Agent Skills。

Agent Skills 设置页面

功能

  • 自动扫描 ~/.agents/skills~/.claude/skills~/.codex/skills~/.config/opencode/skills~/.gemini/skills
  • 支持自定义技能目录
  • 按目录或单个技能启停
  • 搜索、查看描述并监听技能文件变化
  • 不修改原始 SKILL.md

安装

npm(推荐)

dsh plugin --profile web add dsh-agent-skills

安装后打开「设置 → Agent Skills」,点击「开启接管 DSH 技能」,再点击「重启 DSH」。

DSH 插件市场

在「设置 → 插件市场」中搜索 Agent Skills,或查看 DSH 插件市场

GitHub

dsh plugin --profile web add github:minivv/dsh-agent-skills

Git 安装可能需要授权 pnpm 执行构建脚本。

使用

  1. 在「设置 → Agent Skills」中检查自动发现的目录,或点击「+ 添加目录」。
  2. 使用目录和技能开关控制可用技能。
  3. 出现技能变更提示后,点击「刷新页面」。
  4. 修改技能文件后,点击「重新扫描」或等待自动刷新。

点击「取消接管」并重启 DSH,可恢复 DSH 原来的技能来源。

设置保存在 $DSH_HOME/agent-skills/state.json

技能格式

skills/
├── my-skill/
│   └── SKILL.md
└── another-skill.md

SKILL.md 需要 YAML frontmatter,name 使用小写 kebab-case:

---
name: my-skill
description: Explain when this skill should be used.
---

# Instructions

卸载

先在设置页点击「取消接管」和「重启 DSH」,再运行:

dsh plugin --profile web remove dsh-agent-skills

如果设置页无法打开,先恢复 DSH 技能来源:

DSH_INSTALL_ROOT="$(npm root -g)/@deepseek-ai/dsh" \
  node ~/.dsh/profiles/web/node_modules/dsh-agent-skills/scripts/uninstall-preset.mjs

dsh plugin --profile web remove dsh-agent-skills

开发

要求 Node.js 20+。

npm install
npm run typecheck
npm run build
npm test
npm pack --dry-run

注意

  • 技能名必须匹配 [a-z0-9]+(?:-[a-z0-9]+)*
  • DSH 升级后如果开关失效,重新开启接管并重启 DSH

链接

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型技能
功能分类其他
规则置信度

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: agent-skills。