DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

Itailang2333 /

dsh-skill-cockpit

已验证

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

★ 0 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub
README来源: main@0c623249

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/-master GitHub 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

—/ 5

暂无评分

已验证 DSH bundle

Commit 0c62324912df

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于