dsh-skill-fuzzy
Manifest validCodex-style fuzzy skill search for the DeepSeek Harness Web GUI: /bug, /diag, /regression all find diagnosing-bugs in the / skill menu.
dsh-skill-fuzzy
Codex-style fuzzy skill search for the DeepSeek Harness Web GUI. The built-in
/ skill menu only matches skill-name prefixes (startsWith); this
plugin makes it search the way Codex does:
| Query | Result |
|---|---|
/diag | diagnosing-bugs (name prefix) |
/bug | diagnosing-bugs (name substring) |
/bu | diagnosing-bugs (name contiguous substring) |
/regression | diagnosing-bugs (description term) |
Matching & ranking
- Names — port of Codex's
fuzzy-match: greedy, case-insensitive ordered-subsequence matching with a window + start-of-string-bonus score (smaller is better; prefix hits dominate). - Descriptions — matched as contiguous, case-insensitive substrings
only (deliberately tightened after field testing: scattered subsequences
across a long description surfaced noise, e.g.
/m01hitting a skill whose description merely contains anm…0…1spread). - Ordering — name-hits first → score ascending → stable roster order. Empty query returns the full roster unchanged (prefix behavior never regresses).
Install
dsh plugin --profile web add /path/to/dsh-skill-fuzzy
# or from GitHub:
dsh plugin --profile web add github:ch1bug/dsh-skill-fuzzy
Restart dsh web and hard-refresh the GUI (the boot manifest is injected at
page load), then type / and search.
How it works
A web-client-only plugin. It wraps the built-in / skill source's
candidates() — found via inputTriggers.live.sources (the service's public
face is {ctx, name, live} + prototype {registerSource, sessionOf, sessions}; there is no all()/sources() accessor on the service — those
live on the menu controller's internal roster). The wrapper calls the
original candidates with an empty query to obtain the full roster
(preserving the skill.list RPC, user-only markers and abort semantics),
then filters/ranks it. registerSource is patched as a guard for late
re-registrations.
Development
lib/fuzzy.js Codex fuzzy-match port (fuzzyMatch)
lib/skill-rank.mjs ranking (rankSkills)
lib/client.js self-contained browser half (inlines both; pinned by
tests/sync.test.mjs against the tested modules)
tests/ node:test suite — node --test tests/fuzzy.test.mjs
tests/skill-rank.test.mjs tests/sync.test.mjs
The client bundle route serves a single client.js per plugin, so the pure
logic is inlined there and kept in sync with the tested modules by
tests/sync.test.mjs.
License
MIT. The fuzzyMatch algorithm is a port of
codex-rs/utils/fuzzy-match
from openai/codex — see NOTICE.md.
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.1.1 | — | — |
| 0.1.2 | — | — |
| 0.1.3 | — | — |
| 0.1.4 | — | — |
Comments
Loading…
Similar plugins
by loyalchiiina
Browse the DSH skill library from a floating-ball panel: categories, Chinese descriptions, instant search, full SKILL.md viewer, and an automatic skill-failure ledger driven by tools/result events.
★ 1
↓ 513/wk
MIT
JavaScript
Oct 28, 2026
dsh plugin --profile web add dsh-skill-browserby xiaohai-78
Skill manager for DeepSeek Harness (dsh): per-mode switches, search and tags, create/edit/import/version, install from GitHub
★ 0
MIT
JavaScript
Oct 30, 2026
dsh plugin --profile web add dsh-mode-skillsby cheshireez
DeepSeek Harness(dsh)Web GUI 技能中枢:浏览/搜索完整本地技能目录、启用/禁用、查看正文、排查诊断、新建技能,基于官方 ctx.skills 注册表。 In-GUI skill hub for dsh: browse, search, enable/disable, inspect, diagnose and scaffold local skills from the
★ 36
↓ 2k/wk
MIT
TypeScript
Oct 29, 2026
dsh plugin --profile web add dsh-skill-hubby LyaxZ
A Codex-style effort slider, a live tokens/second and turn-total readout, and a per-answer report for the DeepSeek Harness Web GUI.
★ 0
MIT
JavaScript
Oct 29, 2026
dsh plugin --profile web add dsh-goodiesby cxy9204
Community skill marketplace for DeepSeek Harness: browse, search, and one-click install skills from awesome-skills-cn and the wider Claude Code / OpenClaw skill ecosystem.
★ 3
↓ 92/wk
MIT
JavaScript
Sep 2, 2026
dsh plugin --profile web add dsh-skill-storeby GuaiWuA
让 DSH 的 skill 变成可浏览的技能栏:搜索、收藏、点一下或拖一下写进输入框。/A browsable skill bar for DSH: search, favorite, and click or drag to insert into the input box.
★ 0
MIT
JavaScript
Oct 2, 2026
dsh plugin --profile web add dsh-client-ui-skill-bar