hellosky983/dsh-skillradar

DSH plugin: scans session-visible skills and ranks them by relevance to the recent conversation.

Bundle 已验证 MIT JavaScript 未知
Bundle 已验证

已收录

3

Memory

Bundle 已验证

版本未知
语言JavaScript
许可证MIT
在 GitHub 查看

预览

第 1 个预览,共 3 个:hellosky983/dsh-skillradar
第 2 个预览,共 3 个:hellosky983/dsh-skillradar
第 3 个预览,共 3 个:hellosky983/dsh-skillradar

功能介绍

扫描当前会话可见的技能,按与最近对话的相关性排序推荐。

适合

  • 面对大量当前会话可见技能、需要快速获得任务相关技能排序的 agent 与用户。
  • 适合把确定性的中英文词元重合度作为相关性信号的对话。

不适合

  • 技能很少或适用技能已经明确的会话,排序带来的价值有限。
  • 要求超越中英文词元重合度进行语义推理的工作流;该评分是确定性的文本分析。
  • 关键相关信息不在会话最近 8,000 个字符内的任务。

README

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.

常见问题常见问题

在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:hellosky983/dsh-skillradar。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。