Dsh Skill MCP Gate — Development skill for Claude Code
DSH 插件:用配置 + 左侧面板控制 skill / MCP 的可见性与可调用性,兼容 Claude Code 的 skillOverrides 与 MCP 定义源.
How to install Dsh Skill MCP Gate
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ZH-TX3/dsh-skill-mcp-gate and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Dsh Skill MCP Gate does
DSH 插件:用配置 + 左侧面板控制 skill / MCP 的可见性与可调用性,兼容 Claude Code 的 skillOverrides 与 MCP 定义源.
Alternatives in Development
- Harnessrouter — HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnes 618 ★
- Scope Recall Hermes — Local long-term memory for Hermes, Codex, Claude Code, WorkBuddy and dsh agents: one SQLite store, source-back 438 ★
- Oh Story Dsh — A DSH plugin for novel writing and short-drama production, powered by Oh Story and Drama Skills 202 ★
README
dsh-skill-mcp-gate
用配置 + 设置页控制 DSH skill / MCP 的可见性与可调用性,支持**全局 + 项目双层覆盖**,skill 配置格式兼容 Claude Code 的 `skillOverrides`。
能力
| 对象 | 控制方式 | 效果 |
|---|---|---|
| skill 来源 | 除 DSH 自带根外,还扫描 ~/.claude/skills、<工作区>/.claude/skills(自带 provider 注册,不改 profile) |
|
| skill | 四档状态(on / name-only / user-invocable-only / off);按选中工作区的 cwd 列目录,能看到该工作区自己的项目级 skill |
off / user-invocable-only 在 agent/pre-step 重写官方 skill 目录消息并在调用期用 guard 拦住;name-only 只留名字、不带描述。不修改 SKILL.md |
| MCP 服务器 | on / deferred / off |
off 让工具消失且不可调用;deferred 让工具不进提示词,但可被 gate_mcp_search 搜到、gate_mcp_call 调用。两者都不断连、不写 profile 配置 |
| 目录预算 | 原子 CC 语义:名字全留,超预算时按「最不常用」丢描述;来源 env SLASH_COMMAND_TOOL_CHAR_BUDGET 或 skillListingBudgetFraction × contextWindowTokens |
|
| CC 的 MCP 定义 | 只读 ~/.claude.json / <工作区>/.mcp.json + 批准状态 |
CC 里声明过的服务器即使 DSH 还没连也列出来(标 CC 用户 / CC 本地 / CC 项目);CC 里拒绝的连接默认 off |
| MCP 单个工具 | on / off |
同上,粒度到 mcp__<服务器>__<工具>(延迟状态只在服务器级,逐工具写 deferred 会被拒绝) |
| MCP 中间层 | 自动注册 gate_mcp_search / gate_mcp_call |
没有任何延迟服务器时,这两个工具自己也会从装配里摘掉,不占工具位 |
**界面**:左侧一级面板「技能与工具门禁」(`sidebar.panellist` 图标 + `main` 面板)。
- 左侧作用域列表:全局 + DSH 工作区树(
ctx.workspaceRegistry),每项标出「基础层 / 覆盖全局」与路径末段;选中哪层,开关就写到那层的配置文件 - Skills tab:按来源分三组 —— 项目级 / 用户级 / 内置,每组带来源路径说明;每行一个四档下拉
- MCP tab:按声明层分三组 —— 项目级 / 全局级 / 未在配置中声明;服务器一个开关,下面每个工具各一个开关
- 顶部有 tab 计数、名称筛选框、刷新按钮;底部有汇总与 lost / 需 A 模式 / 配置警告提示
v0.4.0 起从「设置内一页」改为左侧一级面板,与 `dsh-context` 同级。
延迟加载与中间层(对齐 CC 的 tool search)
MCP 工具常驻提示词是最大的固定开销。把服务器设为 `deferred`:
| 出现在模型工具表 | 可被搜索 | 可被调用 | |
|---|---|---|---|
on |
是 | — | 直接调 |
deferred |
否 | 是 | 经 gate_mcp_call |
off |
否 | 否 | 拒绝 |
`gate_mcp_search` 的关键词对「工具名 / 服务器名 / 描述」做全词命中,返回每行一条只占十几字; `gate_mcp_call` 只接受索引里的名字,把调用作为**嵌套 dispatch** 转发(带 `parent` token、 `rootCallId`、`agent`、`signal`),所以 pre-execute / guard / 超时策略对它一样生效。
它的边界说清楚:
- 索引来自装配产物(
system-prompt/assemble过滤前看到的 schema),不额外
Related Skills
Jev Skill Gate
Cut Claude Code's skill manifest by ~75% with TypeSafe Jev. Scores every installed skill for relevance and hid
Dsh MCP
dsh as mcp, make your claude code or codex etc. faster, more powerful and more economic!
Dsh Baton
Pass the baton from Claude Code or Codex to a local DeepSeek Harness. An MCP server that hands off tasks and b
Dsh Movein
Migrate Claude Code setup into DeepSeek Harness. Import skills, commands, agents, hooks, permission rules, and
Dsh Agent Plugins Market
One-stop skills, subagent, MCP and LSP manager for DeepSeek Harness (DSH) — compatible with Claude Code, Codex
Dsh MCP Apps
mcp apps support plugin for dsh (DeepSeek Harness)
Related Agents
Ds Flash
DSH (DeepSeek Harness) worker on the flash tier - fast and cheap. Delegate simple, well-scoped subtasks: mecha
Forge Visual Verifier
Perceptual gate for spec [visual] acceptance criteria. Drives Playwright MCP (navigate + take_screenshot + eva
Org Verifier
Independently verifies that a change does what its author claims — reruns the repository gate, exercises CLIs,