rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:wyf0931/dsh-skill-gate
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
dsh-skill-gate adds per-session skill visibility control to DeepSeek Harness. A compact control in the composer tool row — right next to the permission control — opens a checklist of every skill the current session's composition can see. Uncheck a skill and it leaves the session completely: it disappears from the model's <available_skills> catalog, the skill tool refuses to load it, and /name gestures stop injecting it.
This is the visual, reversible equivalent of a CLI's --skill x,y,z flag. It exists for one job: when many skills live in a shared directory such as ~/.agents/skills/ and several of them conflict across business contexts, you decide — explicitly, per session — which ones the model may use, so the model cannot hallucinate its way into the wrong playbook.
The default stays exactly DSH's native behavior: every skill enabled, no restriction, until you uncheck something.
Selection is locked once the conversation has started. The control is live in a new session, before the first message. After the first turn the pill renders disabled and reads Skills · locked, so a session's skill set cannot drift mid-conversation.

| Piece | Role |
|---|---|
index.js (Host) |
Wraps the skills service's list/snapshot/get with per-session filtering; persists gate state to ~/.dsh/skill-gate/state.json; serves two authenticated /api routes on the connection's shared channel |
client.js (Browser) |
The conversation.input.left slot control: a borderless tool-row pill plus a grouped, searchable checklist popover |
cordis.patch.yml |
One loader row; the browser half is discovered through the package's dsh.client declaration |
.dsh/skills, project .agents/skills, custom directories, user .dsh/skills, user .agents/skills, bundled, and runtime — so business skills stand apart from built-ins. Search filters across name, description, and path.null), so "back to normal" is always one click ("Enable all") and never drifts.skills registry, so the durable catalog published at every agent step, the skill tool's lookup, the /name gesture injection, and the UI's session skill list all agree — no partial views, no stale entries.@deepseek-ai/*; every capability is reached through injected Cordis services, following the same connection.fetch channel pattern as dsh-context.engines.dsh (^0.2.1-rc.3), with the skills capability mounted (any profile built on @deepseek-ai/dsh-base)From a clone of this repository, install the bundle into a profile with the Plugin Manager (install_bundle, target = the absolute package directory) or the dsh CLI. Then refresh the Web UI — the browser half is fetched at page load.
git clone https://github.com/wyf0931/dsh-skill-gate.git
plugin_manager → action: install_bundle
target: /absolute/path/to/dsh-skill-gate
The profile links the checkout, so editing client.js takes effect after a page refresh, and editing index.js after an application restart.
Skills · all (everything enabled), or Skills N/M with the glyph and count tinted blue when a restriction exists.<available_skills> catalog; disabled skills are un-loadable by the model and by /name.Skills · locked — pick skills before the first message. Existing per-session selections can still be reset by editing the state file below.Newly installed skills are detected dynamically through the filesystem provider's watchers and appear in the picker on the next open; while a restriction is active they start unchecked, keeping the allowlist honest.
~/.dsh/skill-gate/state.json
{
"default": null,
"sessions": {
"session-…": ["archify", "office"]
}
}
default: null means "no restriction". A per-session entry overrides the default; null inside sessions is normalized away. The file is the source of truth — edits are picked up live via an fs watch — and writes are atomic (temp file + rename). Entries are pruned past 500 sessions.
index.js from the checkout; the running host caches the module per process.skills service's public list/snapshot/get contract (the same methods DSH's own tool-skill calls). If a future DSH version renames them, the plugin logs a warning and degrades to "no restriction" rather than breaking sessions.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。