插件目录 / Knowledge / dsh-skill-cockpit
dsh-skill-cockpit
已验证 · 实测可装 Itailang2333
功能简介
DSH web plugin: Skill Cockpit panel in Settings - see/manage/test-fire all Agent Skills (SKILL.md) with Chinese notes, search, enable/disable/delete/import, usage stats
可用 — 实测通过,早期项目
DSH web plugin: Skill Cockpit panel in Settings - see/manage/test-fire all Agent Skills (SKILL.md) with Chinese notes, search, enable/disable/delete/import, usage stats 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-skill-cockpit (Skill Cockpit)
English | 中文
A DeepSeek Harness (DSH) web plugin: see, manage, and test-fire all your skills (Agent Skills / SKILL.md) in one Settings → Skill Cockpit panel.
What it adds over existing skill managers: Chinese notes (English skill names hard to remember? write your own one-line note, searchable), usage stats (which installed skills never fire?), and a test-fire bench (which skill would this sentence trigger? check overlaps before writing a new one).
Features
- Full view: system-level (
~/.dsh/skills), project-level (<project>/.dsh/skills,.agents/skills, read-only), and pool (~/.dsh/skill-pool) sections; bundle/flat shape and scope tags. - Search: filters by name / description / your note.
- Notes: one-line note per skill (local JSON) — solves "installed it, forgot what it does".
- Enable / disable / delete / import: pool ↔ enabled moves; delete limited to user-level dirs with confirmation (path-escape guards + audit log); import handles single dir / batch folder / dry-run conflict preview with kebab-case normalization (strips
-main/-masterGitHub suffixes). - Usage stats: host-side listener on skill tool invocations records count + last-used per skill; the panel shows "used N times / never recorded" to spot zombie skills.
- Test-fire bench: type the sentence you expect to trigger a skill; local lexical scoring (name weight 3, description/note weight 2; English words + Chinese 2-grams) returns top-5 with hit tokens. Local approximation, not a real model run — for overlap checks and trigger-word self-review.
Install
dsh plugin --profile web add <repo path or git+https URL>
Follow the dsh prompts for pnpm-workspace.yaml allowBuilds, restart DSH, hard-refresh the browser (Ctrl+Shift+R), then open Settings → Skill Cockpit.
Data files (all local, zero network)
| File | Content |
|---|---|
~/.dsh/skill-cockpit.notes.json |
notes |
~/.dsh/skill-cockpit.stats.json |
usage stats |
~/.dsh/skill-cockpit.log |
JSONL audit log |
HTTP API (host, loopback same-origin)
| Method | Path | Description |
|---|---|---|
| GET | /api/skill-cockpit/state?cwd= |
full snapshot |
| POST | /api/skill-cockpit/enable {name} |
pool → enabled |
| POST | /api/skill-cockpit/disable {name} |
enabled → pool |
| POST | /api/skill-cockpit/delete {name, scope} |
delete (user-level only) |
| POST | /api/skill-cockpit/note {name, note} |
set/clear note |
| POST | /api/skill-cockpit/test-fire {query} |
local top-5 scoring |
| POST | /api/skill-cockpit/import {source, target, conflict, dryRun} |
import |
| GET | /api/skill-cockpit/list-dir?path= |
directory browsing |
Config (optional)
Top-level key in $DSH_HOME/settings.yaml (surface projects that never opened a session):
skill-cockpit:
projectRoots:
- /path/to/project1
Tests
node test/core-test.mjs # 28 checks: scan / enable / delete guards / import / notes / stats / scoring / project-root
Compatibility
- Profile:
web(DSH Web GUI). Developed and unit-tested on Windows (PowerShell 5.1 + Node 20+); zero third-party deps in host/client. - Coexists with dsh-skill-manager-ytxue etc. (independent id/routes/data files).
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-skill-cockpit」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:Itailang2333/dsh-skill-cockpit Headless(CLI)profile:
dsh plugin --profile headless add github:Itailang2333/dsh-skill-cockpit 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。