rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:yyliucha/dsh-skill-switcher
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness plugin that turns each agent skill's invocation state into a one-click switch — On / User only / Off — from the composer tool row and a Settings page, changing only the two invocation fields in the skill's SKILL.md.
English | 中文
| Mode | Model catalog | / list |
SKILL.md frontmatter |
|---|---|---|---|
| On | visible | visible | no restriction keys |
| User only | hidden | visible | disable-model-invocation: true |
| Off | hidden | hidden | disable-model-invocation: true + user-invocable: false |
技能 · <name>). Clicking it opens a small popover above the button — the same pattern as the permission picker — with search, source groups, one-click undo of the last switch, and a receipt line showing the last write. Each source group shows the first 6 rows and folds the rest into a 还有 N 个 · 显示全部 row, the panel is capped at 520px, and typing in the search box expands every group so matches are never hidden behind a fold. It closes on outside click or Escape and stays inside the viewport on narrow screens.深度求索中…), lists every skill this session has loaded — one chip per skill, in load order, never folded or hidden behind a count. A skill that is loading right now shows a ring instead of the star. The strip is persistent: it does not reset when a turn ends, only when you switch sessions, and it rebuilds from the transcript (so reloading the page or paging history back in shows the same names).user-invocable: false and ones switched off by the tool, so nothing silently disappears from the manager..bak copy, mtime conflict refusal) and publishes the result back. Archive moves the skill into <root>/.archive/<name>-<stamp>/ — there is no hard delete.skill_manager directly with list / set. The tool records the same override the UI writes, so both surfaces stay in sync.SKILL.md frontmatter — the same switches the Harness skill system already honors — so nothing is stored in a database and everything is reversible. Only the derived records (last requested mode, host inventory, last-write receipt) live in the plugin's volatile Configuration.dsh plugin --profile <profile> add @jacksun1994/dsh-skill-switcher
Or use Plugins → Install in the app with one of these specs:
@jacksun1994/dsh-skill-switcherhttps://github.com/yyliucha/dsh-skill-switcherEnable the bundle, refresh the page once, and open Settings → 技能. The same bundle also adds the 技能 control to the composer tool row.
Requirements: DeepSeek Harness 0.2.2-alpha.3 or newer. From 0.2.2-rc.3 the Client Remote namespaces are separate child services, so this plugin declares remote.settings / remote.skills in its inject list.
The manager writes only the two invocation fields of the YAML frontmatter; every other line — including the file's LF/CRLF style — is preserved byte-for-byte.
remote.settings.update('skill-manager', …); the host half listens for loader/volatile-update and rewrites the matching file.skill_manager tool performs the same file operation directly.skill-filesystem watches the skill roots, so the catalog picks the change up without a restart.~/.dsh/skills, ~/.agents/skills, and the selected session's .dsh/skills / .agents/skills (symlinked entries are followed).user-invocable: false written directly in the file) is filtered out by the catalog itself and won't appear in the page; skills turned off through this manager are remembered in the plugin config and remain restorable.npm install # pulls @deepseek-ai/schemastery 3.18.6-alpha.2 (pinned, same as DSH)
node --test # 41 unit tests: frontmatter parsing/rewriting, path rules, fixture round-trips
Structure:
index.js — host half: configuration, volatile applier, directory scan, skill_manager toolclient.js — browser half: composer chip and popover, Settings → 技能 page (plain React, theme tokens only)lib/skills.js — dependency-free pure functions (frontmatter edits, root/path rules)test/ — node:test suite with committed fixtureslocale/ — display metadata and page strings (zh / en / ja / de / es / fr / pt / ru)一个 DeepSeek Harness 插件:把每个 agent 技能的调用状态变成「一键开关」——全开 / 仅用户 / 已关闭,入口在输入框工具行的「技能」弹层和 Settings → 技能 页,只改写 SKILL.md 里的两个调用字段,并附带 skill_manager 工具。
技能 · <名字>)。点一下在按钮上方弹出小菜单(与权限选择器同一形态),内含搜索、来源分组、撤销上一次切换、以及"上次写入"回执;每个来源默认只露 6 行,其余收进「还有 N 个 · 显示全部」,面板最高 520px,搜索时全部分组展开,避免匹配项被折叠藏住;点外部或按 Esc 关闭,窄屏也不出界。inventory),把会话目录里看不到的也列出来——包括 user-invocable: false 手工隐藏的、以及被工具关掉的。.bak 备份、mtime 冲突拒绝)并把结果写回;「归档」是移动到 <root>/.archive/<名称>-<时间戳>/,没有硬删除。SKILL.md 的 frontmatter(就是 DSH 技能系统自己认的那两个字段:disable-model-invocation / user-invocable),不落数据库、随时可逆、其余内容一字不动(保留 LF/CRLF);插件自己的配置只存派生数据(最近请求的模式、宿主清单、写入回执)。
安装:dsh plugin --profile <profile> add @jacksun1994/dsh-skill-switcher;或在 Plugins → Install 里填 npm 包名、本仓库地址 https://github.com/yyliucha/dsh-skill-switcher,或本地目录。启用后刷新页面:输入框左侧出现「技能」入口,Settings → 技能 与它共用同一份数据。范围:只扫描/改写默认技能根(~/.dsh/skills、~/.agents/skills、所选会话工作区下的 .dsh/skills 与 .agents/skills,跟随符号链接);内置技能只读;页面需要至少一个会话;手工写死 user-invocable: false 的孤儿技能不会出现在页面,经管理器关掉的会记住并可改回。
开发:npm install(固定 schemastery 3.18.6-alpha.2,与 DSH 同版本)+ node --test(41 个单测,含 fixture 往返)。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。