DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-skill-gate

B

dsh-skill-gate

Manifest valid

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

hasBundlePatch

🚪 Skill Gate — DSH-Plugin

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

⚠️ ** superseded by @bryan-cmf/dsh-skill-ledger ** — the blocking "gate" idea lives on there as a non-blocking alternative-skill hint row (multi-select chips → prompt draft → you press Enter). This repo is archived as the design-history record.

English · 繁體中文 npm License: MIT DSH

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.
  • Companion: @bryan-cmf/dsh-infra-observability records every gate outcome as ordinary tool usage.

Development

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

License

MIT

Comments

Loading…

Similar plugins

dsh-skill-injector

Auto-injects user-chosen skills into every DSH session, per prompt or once at session start, with a settings page, a composer indicator, and log-deduplicated session-start stamps; verified against DSH

Manifest valid

★ 0

dsh plugin --profile web add dsh-spider

by wyzh0117

DSH web plugin: pick skills from a sidebar and inject them into the current session.

Manifest valid

★ 3

MIT

JavaScript

Oct 2, 2026

dsh plugin --profile web add dsh-skill-select

by Gavin237

DSH plugin: inject a one-line hint naming skills that match the current turn, so installed-but-forgotten methodology skills actually get used. Deterministic matching, no LLM calls, fail-open.

Development & InfrastructureManifest valid

★ 0

NOASSERTION

TypeScript

Sep 20, 2026

dsh plugin --profile web add dsh-capability-hint

by lau4tin1

Skill routing for DeepSeek Harness: embeds skills and each user task with a local model, keeps the clearly-relevant skills with a gap-based selection rule, and auto-injects their full bodies into the

Manifest valid

★ 0

NOASSERTION

TypeScript

Oct 1, 2026

dsh plugin --profile web add dsh-skill-router

by sun04222

DeepSeek Harness 插件:输入框「Skill」按钮列出当前会话可用 skill,↑↓ 选择、回车即在光标处插入 /name,走官方斜杠命令链路,不用记命令名。

Manifest valid

★ 0

MIT

JavaScript

Oct 27, 2026

dsh plugin --profile web add dsh-skill-picker

Adds a right-sidebar panel that lists the skills available to the current session, searches and tags them, combines them with your own saved prompts, appends the selection to the composer in one click

UI & ExperienceManifest valid

★ 0

dsh plugin --profile web add dsh-skill-prompt-injector