Lighten the load on your agent: one-click toggles for skills and MCP, so the context holds only what this turn actually needs. Skills and MCP servers you switch off are no longer injected into the model context — cleaner, and lighter on tokens.
Install
# from npm (prebuilt)
dsh plugin --profile web add @dotdance/dsh-skill-scope
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:dotdance/dsh-skill-scope
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
dsh-skill-scope: a Skill and MCP control panel for DSH
Lighten the load on your agent: one-click toggles for skills and MCP, so the context holds only what this turn actually needs. Skills and MCP servers you switch off are no longer injected into the model context — cleaner, and lighter on tokens.
English · 简体中文
Installation
dsh plugin --profile web add @dotdance/dsh-skill-scope
Replace --profile web with the name of your own profile.
The problem it solves
The more you install in DSH, the longer the list your agent has to read every turn.
- Your user-level skill directory accumulates N+ skills, of which only a few help the task at hand.
- Every MCP server pushes all of its tools into the model's tool table, even when none are used this turn.
- A coding project and a writing workspace need entirely different skills and MCP servers.
- You want "this project uses only these capabilities", but there is no switch for that — an installed skill is globally visible.
The cost is not cosmetic. It is real:
| Cost | Why |
|---|---|
| Burned tokens | The skill list and the MCP tool table re-enter context every turn; the more you install, the higher the fixed per-turn overhead |
| Diluted attention | Too many candidates make the model likelier to pick the wrong tool or miss the relevant one |
| An unclean context | Unrelated capabilities mixed into the prompt make results harder to predict and harder to debug |
| Cross-project contamination | A capability only project A needs keeps occupying space in project B |
dsh-skill-scope exists for exactly this: it turns "which skills and MCP servers the model can call" into a set of visible, clickable switches, managed separately at global and per-workspace scope.
What it does
1. The global panel — switch off everything no project needs
Click Global Skills in the left sidebar to open a native main-view page listing everything at the global layer, skills and MCP servers alike. Anything you switch off here is off by default in every workspace; when one project really needs it, that project can switch it back on (see rule 3).

The red circles above mark the two entry points: Global Skills in the left sidebar, and Workspace Skills at the bottom right of the input box.
- The row at the top is a view filter (All / Enabled / Disabled) — it only filters the list, it changes no switch.
- The search box filters both the Skill and the MCP sections, live as you type.
- The list groups and collapses by source, so even a long inventory stays navigable.
Official skills are hidden by default: the skills shipped by @deepseek-ai packages
(cordis-* presets, office-* and so on) do not appear in the panel, and the model can still
call them. To see them — or to switch them off — turn on Show official skills at the right end
of the view bar: those rows come back into the list and can be switched off one by one like any
other row. The switch is per machine (stored in $DSH_HOME/skill-scope/global.json); both the
global panel and the project panel show it, they always read the same value, and turning it on
from either panel affects every workspace.
2. The project panel — keep only what this one project needs
In a new session, click Workspace Skills at the bottom right of the input box to open the project-scoped overlay (it floats above the current view):

The panel title states that it affects default-workspace only, and the lower part groups items by source: in this example the .agents directory contributes 35 of them.
- This list holds the same inventory as the global panel: items switched off globally are here too (with the switch off), and you can switch them on right here.
- A row that differs from the global setting carries a red "Differs from global" tag, so you can see at a glance what this project has changed.
- Besides All / Enabled / Disabled, the view bar has a fourth button, Differs from global: it narrows the list to what this project changed, which helps once the inventory gets long.
- Changes apply only to new sessions in this project and affect no other project.
3. The key rule: global supplies defaults, a project overrides item by item
Every skill and MCP server on disk
│
▼
┌─────────────────────┐
│ Global (defaults) │ off = no project uses it by default
└─────────────────────┘
│ per item: follow / switch on / switch off
▼
┌─────────────────────┐
│ Project (override) │ can switch a global off back on,
└─────────────────────┘ and a global on back off
│
▼
The set the model actually sees this turn
Each item has one of three states in a project. The panel exposes a single control, because "follow global" is expressed by not recording that item:
| State | Meaning | How the panel shows it |
|---|---|---|
| Follow global | This project has no opinion on the item | Switch sits at the global position, no red tag |
| Switched on here | Off globally, but this project needs it | Switch is on + red tag "Differs from global" |
| Switched off here | On globally, but this project does not want it | Switch is off + red tag "Differs from global" |
To go back to "follow global", move the switch to the global position: the red tag disappears and the record is dropped.
Off is not deleted: manual invocation always remains
Switching a skill off only disables its automatic invocation by the model. You can still call it by typing /name in a session.
Further reading
- Design notes: the two-layer policy model (global / workspace), how it is enforced, the invariants, and the known limits.
- Host runtime facts: the host behaviours this plugin depends on, with measured results and source locations.
Development
pnpm install
pnpm run check # typecheck + build + test
pnpm run deploy builds and adds this repository to a profile as a plugin.
License
MIT
Links
More in this category
tw93/Mole#mole★ 76740
Official agent skill for the open-source Mole CLI (mo), a disk cleanup tool for macOS and Windows: read disk usage, preview and run cleanup, inspect installed apps, and read system health and cleanup history from Mole's JSON output. It previews with --dry-run and asks before removing anything, and leaves app uninstalls and privileged steps to the user's own terminal. The plugin ships only the skill; the CLI is installed separately.
zhu1090093659/dsh-web#packages/dsh-skill-explorer★ 10696
Skill center for the dsh web GUI: browse all loaded skills grouped by source, enable or disable model invocation, create new skills, and delete into a recoverable trash.
QingYunA/answer-me-with-html★ 6742
Answers a question with a one-page visual HTML explainer: the model writes a short Markdown draft and the bundled `am` CLI builds the page, with flow, sequence, tree, timeline and ER diagrams, tables and callouts.
iflytek/skillhub#dsh★ 5514
Browse and search a SkillHub registry and manage local skill installation, updates, and removal inside DeepSeek Harness. Targets DSH 0.2.0-rc.2 and 0.2.1-rc.2; not yet compatible with 0.2.1-rc.3.
hyhmrright/brooks-lint★ 1595
Provides six code quality skills for code review, architecture audits, technical debt, test quality, health dashboards, and remediation.
GanyuanRan/Aegis★ 1460
Software-engineering method pack for coding agents, with skills for baseline-first planning, systematic debugging, prompt hygiene, verification before completion, and repair/retirement tracking.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.