DeepSeek Harness plugin

dsh-skill-gate

DSH-Plugin: skill trigger/selection gate — when the model triggers a skill, the user picks from described candidates; 10s no-choice falls back to the system default.

Jump to install

Source facts

Repository
Bryan-cmf/dsh-skill-gate
Latest update
Aug 15, 2026
Category
Security & Permissions
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/Bryan-cmf/dsh-skill-gate
Plugin: dsh-skill-gate
Author: Bryan-cmf

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

🚪 Skill Gate — DSH-Plugin

> 技能觸發與選擇閘門:系統按關鍵詞觸發技能時,把候選技能(含描述)交給用戶選擇;10 秒內未選擇 → 自動使用系統默認

![npm](https://www.npmjs.com/package/@bryan-cmf/dsh-skill-gate) ![License: MIT](LICENSE) ![DSH](https://github.com/deepseek-ai/deepseek-harness)

A DeepSeek Harness host plugin that gives the user the final say over which skill the agent uses.

How it works

1. The model triggers a skill (skill tool call, keyword-driven as usual). 2. tools/execute waterfall intercepts the dispatch and opens the native question UI: 系統建議的技能 + 其他候選技能,每項帶描述。 3. User picks → the original call is short-circuited with an explanatory result, and a synthetic instruction is injected so the model loads the chosen skill instead. 4. No answer within timeoutMs (default 10s) → the system default (the requested skill) proceeds untouched.

🧠 技能選擇
系統將使用技能「ak-hk-stock-dd」。要改用其他技能嗎?
(10 秒內未選擇將自動使用「ak-hk-stock-dd」)

[ak-hk-stock-dd]  系統建議(預設)
[serenity-skill]  供應鏈瓶頸投資研究方法論
[dcf-valuation]   Discounted cash flow valuation…

Install

Path A — Host composition (recommended)

"dsh": { "profile": { "bundles": ["@bryan-cmf/dsh-skill-gate"] } }

Path B — Agent preset row

- id: skill-gate
  name: '@bryan-cmf/dsh-skill-gate'

Requirements

  • DSH >= 0.1.0-rc.6 (services: skills, userQuestions, timer; all in

the shipped dsh-base bundle — userQuestions needs the browser UI)

Configuration

KeyDefaultMeaning
enabledtrueMaster switch
timeoutMs10000User decision window; on expiry the system default applies
maxCandidates5Max options offered (includes the system default)

Design notes

  • One gate at a time: a second skill call while a question is open passes

through untouched (no stacked questions).

  • No userQuestions provider (headless) → the gate passes everything through.
  • The override is delivered through the sanctioned agent.inject() synthetic

user-message channel, so the model's next step loads the chosen skill.

records every gate outcome as ordinary tool usage.

Development

pnpm install --store-dir .pnpm-store
pnpm build

License

MIT