hellosky983/dsh-skillradar

插件Plugin 原生Native ⭐ 3 MIT cat_label.deepseek-harnesscat_label.deepseek-harness

DSH插件:扫描会话中可见的技能,并根据与近期对话的相关性对其进行排序。

项目介绍Project Overview

dsh-skillradar 是一个 DSH 插件,扫描当前会话可见的全部技能,结合最近对话文本进行中英文词项重叠打分,返回排名建议。用法:安装后调用 skill_radar,或让 Agent 扫描当前会话定位合适技能。适用于多技能域、需要快速确定下一步加载哪个技能的场景。提示:评分基于词项重叠的本地文本分析,召回顺序固定且为确定性结果,不进行语义推理,配置需声明 inject = ['tools'] 才能正常显示。

dsh-skillradar is a DSH plugin that scans every skill visible to the current session and scores each against recent conversation text using English and Chinese token overlap, returning a ranked recommendation of which skill to load next. Use it via skill_radar or by asking the agent to scan the session. It fits multi-skill workflows needing a fast, deterministic relevance signal. Caveat: scoring is local token-overlap text analysis only, with no semantic inference or network calls, and the bundle must declare inject = ['tools'] to appear.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin add github:hellosky983/dsh-skillradar

hellosky983/dsh-skillradar 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-skillradar

Awesome DSH Plugin

A DeepSeek Harness plugin that scans every skill visible to the current session, scores each against the recent conversation text (English + Chinese token overlap), and returns a ranked recommendation of which skill to load next.

Overview

DSH sessions expose many skills, and neither the model nor the user always knows which one applies. This plugin answers "what should I load right now?" with a concrete, ranked answer. It suits agents and users who work across many skill domains and want a fast, deterministic relevance signal.

Compatibility

  • DSH version: 0.1.0-rc.6
  • Mainline: verified against deepseek-harness mainline snapshots of 2026-08-14
  • Last verified: 2026-08-14

Install / Uninstall

Install (from GitHub):

dsh plugin add github:hellosky983/dsh-skillradar

Or clone and install locally:

git clone https://github.com/hellosky983/dsh-skillradar.git
cd dsh-skillradar
dsh plugin add .

Upgrade: re-run the install command after git pull.

Disable temporarily: remove the plugin row from your profile composition, or run:

dsh plugin remove dsh-skillradar

Uninstall: remove the dsh-skillradar dependency and its bundle entry from the profile package.json, then pnpm install.

Quick start

After install and restart, tell the agent:

Scan the current session and tell me which skill fits this task.

or invoke the tool directly:

skill_radar  # with no arguments, scans the current session

Example output:

Skill Radar — 16 skills visible
  100%  github-upload [github, 仓库, readme, 上传]
   85%  cordis-plugin-development [client, host, cordis, run]

Configuration

Option Type Default Description
session_id string current session Session to scan instead of the current one
limit integer 15 Maximum number of skills returned

No environment variables, no secrets, no external configuration files.

Permissions & data

  • Reads: the current session's recent message text (last 8000 chars) and the skill catalog via ctx.skills / ctx.sessionQuery.
  • Writes: nothing. The tool only returns a scored list.
  • Network: none. All scoring is local text analysis.
  • Credentials: none.

Troubleshooting

  • Tool not visible after install: restart dsh, or check that the bundle row appears in dsh --dump-config.
  • "cannot get property tools without inject": the plugin requires inject = ['tools']; reinstall from the latest commit which declares it.
  • Logs: dsh profile logs under ~/.dsh/profiles/<name>/; set DEBUG=cordis* for component tracing.
  • Rollback: revert to the previous plugin version by reinstalling the earlier git commit.

Development

git clone https://github.com/hellosky983/dsh-skillradar.git
cd dsh-skillradar
# smoke test with a mock ctx:
node --input-type=module -e "import { apply } from './index.js'; apply({get:()=>undefined, tools:{register:()=>{}}}); console.log('ok')"

The client/ directory contains the optional interactive radar panel (dynamic Cordis plugin form) for the web UI.

Contributions: open issues and pull requests on GitHub. Keep changes dependency-free (scoring is self-contained). Report bugs with a minimal reproduction case.

License & security

MIT — see LICENSE. No secrets are shipped; report security issues privately via GitHub issue (repo is public) or email to the repository owner.

上一个 Prev dsh-qrcode 下一个 Next dsh-terminal-panel