Skip to content
dsh.fish
Bundle

dsh-skill-slash-fuzzy

Resolve unique kebab-case skill substrings in DeepSeek Harness slash tokens, so /oneshot can load game-package-oneshot.

Source
NecromanAlbert
License
MIT
Updated
Updated 2 days ago

Readme

<div align="center">

# dsh-skill-slash-fuzzy

**Resolve unique kebab-case skill substrings in DeepSeek Harness slash tokens.**

[简体中文](README.zh.md) · [MIT](LICENSE) · [Security](SECURITY.md)

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![dsh.bundle](https://img.shields.io/badge/dsh.bundle-required-0f766e.svg)](https://deepseek-harness.github.io/deepseek-harness/develop/basic/publish.html)
[![topic: dsh-plugin](https://img.shields.io/badge/topic-dsh--plugin-111827.svg)](https://github.com/topics/dsh-plugin)
[![Node.js 22+](https://img.shields.io/badge/Node.js-22%2B-339933.svg?logo=node.js&logoColor=white)](https://nodejs.org/)

</div>

> Community plugin for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness). Not an official DeepSeek AI product.

Official skill slash matching is exact-name `startsWith`. Host commands already fuzzy-match. This plugin fills the gap for kebab-case skills: `/oneshot` can load `game-package-oneshot` when that segment is unique.

## Install

From GitHub (no build step — `lib/` is the source):

```sh
dsh plugin --profile desktop add github:NecromanAlbert/dsh-skill-slash-fuzzy
```

Or a local checkout:

```sh
dsh plugin --profile desktop add /path/to/dsh-skill-slash-fuzzy
```

Restart the Desktop GUI after install.

## What it does

| | |
| --- | --- |
| Host | Rewrites unique `/segment` tokens to the full skill name before official injection |
| Client | Extra `/` source so unique segments appear in the skill menu |
| Unique hit | `/oneshot` → `game-package-oneshot` |
| Ambiguous | `/package` stays `/package` when two skills share that segment |
| Exact names | `/pua` and `/understand` are unchanged |

## What this is not

- Not a replacement for official `ui-skill` or `dsh-tool-skill`.
- Not a fuzzy matcher for host commands (those already fuzzy-match).
- Not an alias registry. There is no extra YAML of nicknames.

## Develop

```sh
node --test
```

Host: `lib/index.js` (`agent/pre-step` waterfall).  
Client: `lib/client.js` (`window.__ModuleLoader__`, extra `/` source `skill-fuzzy`).  
Shared: `lib/match.js`.

## License

MIT.

Install

dsh plugin --profile web add github:NecromanAlbert/dsh-skill-slash-fuzzy

Profile: web

  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source