rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:yixin2021/dsh-skills
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文

A 技能 / Skills row in the DeepSeek Harness left navigation, and the page it opens.
Install · Download v0.1.1 ·
Landing page (github.io is unreachable on some networks — see below)
DSH discovers Agent Skills from .dsh/skills and .agents/skills — under your
home and under a project — but ships no surface for seeing what is installed or
for turning one off without editing files. This plugin adds that surface.
| See everything | Every root DSH scans, with each skill's name, description, instruction path and invocation policy. |
| Preview | The full SKILL.md, frontmatter and body, without leaving the app. |
| Enable / disable | A switch per skill. Disabled skills keep their bytes and stay on disk. |
| Install | Copy a folder that has SKILL.md at its top level into the root you pick. The original is never moved. |
| Import from GitHub | Paste a GitHub repository, tree, or skill link. One repository can contribute several skills in one batch; conflicts and oversized bundles reject the whole batch without overwriting. |
| New skill | Write a bundle with a valid frontmatter block from a form. |
| Uninstall safely | Uninstall moves the entry to a root-local .trash; restore it later, or delete it for good. |
| Locate | Reveal a skill or a root in Finder / Explorer / the desktop file manager. |
| Known libraries | Codex, Claude Code, WorkBuddy and CodeBuddy keep their skills in well-known places; those that exist are listed automatically, each with that agent's mark. |
| Add a directory | Point the panel at another agent's skill library — ~/.claude/skills, a colleague's checkout, a shared bundle. Its skills are listed, managed in place, and loaded by DSH too. |
From GitHub. This repository is a ready-to-install package: package.json
sits at the root and there is no build step, so any npm-compatible git spec
resolves. In the plugin manager (Settings → Plugins), install:
github:yixin2021/dsh-skills
The same spec works from the CLI — dsh plugin forwards its arguments to pnpm
inside the profile:
dsh plugin --profile desktop add github:yixin2021/dsh-skills
dsh plugin --profile desktop remove dsh-skills
https://github.com/yixin2021/dsh-skills and
git+ssh://git@github.com/yixin2021/dsh-skills.git are equivalent.
From a local checkout.
dsh plugin --profile desktop add /absolute/path/to/dsh-skills
The bundle patch inserts one Loader row named skills; the client half mounts
the navigation row and the panel. Reload the window after installing.
Host half (index.js) registers one authenticated JSON route,
POST /api/dsh-skills, on ctx.connection.fetch. It answers list, read,
set-disabled, trash, restore, purge, empty-trash, create,
import-directory, import-files, install-from-remote, reveal, add-root
and remove-root. ctx.skills.registerProvider publishes the
discovered libraries and the added directories to the model. lib/skills-core.js owns the
skill grammar — frontmatter parsing, root discovery, entry scanning — so the
route and the tests agree on what a skill is.
Client half (client.js) registers a sidebar.panellist icon under the id
dsh-skills and the main panel keyed by that same id, which is how the layout
addresses a panel. It never reads a skill root itself: every fact arrives
through the route, so the browser has no filesystem authority.
A skill that lives in a GitHub repository is one directory bundle: <dir>/SKILL.md
plus whatever it references. Paste a GitHub link and the panel reads the archive,
shows the skills it finds, and lets you select one or several for a single import.
The Host validates every selected bundle before writing any of them: an existing
name, an invalid path, or a size/file-count limit rejects the whole batch without
overwriting or leaving a partial install.
| Link | How it is read |
|---|---|
https://github.com/owner/repo |
The archive service — one request, no rate limit. |
https://github.com/owner/repo/tree/main/skills/foo |
The same, narrowed to that directory. |
https://gitlab.com/owner/repo/-/tree/main/skills/foo |
Cloned, then narrowed. |
https://gitee.com/owner/repo/tree/main/skills/foo |
Cloned, then narrowed. |
git@host:owner/repo.git |
Cloned over SSH. |
https://host/owner/repo.git#branch |
Cloned at that branch. |
GitHub has an archive endpoint that answers with the whole tree in one request
and no rate limit, so it is read that way; every other git host is cloned,
shallowly, into a temporary directory that is deleted as soon as the tree has
been read. Both paths end in the same tree, and lib/skill-tree.js owns the
policy both obey: which directory holds a SKILL.md, which files belong to it,
and which paths may become a file name.
A repository that holds several skills is a catalogue. The dialog shows checkboxes,
starts with all visible candidates selected, and supports selecting or clearing
all. If more than 40 candidates are found, the dialog reports the total and
suggests narrowing the GitHub link to a subdirectory. A branch whose name
contains a slash (release/2.0) is resolved by trying the possible branch/path
splits until the requested directory is found.
A private repository needs an access token. The dialog has a field for one, and it is optional: a public repository never carries a token, so none is sent. The token is used for that one download and is never written to disk. For a git clone it travels in the child's environment rather than in the command line, where every process on the machine could read it.
The transport is restricted. git understands transports beyond HTTP and
SSH, and some of them run commands — ext:: executes a shell command, and
file:// reads the machine's own disk. A pasted link must never reach either,
so the URL is checked against an allowlist (https, http, ssh, git) before
git sees it, a local path is refused as "not a remote repository", and
GIT_ALLOW_PROTOCOL narrows it again inside the child process. The clone is
also told not to prompt: a credential prompt in a background panel is a hang
nobody can answer.
Nothing inside a repository is executed. The archive is unpacked in memory, the clone is read as files, symlinks are skipped rather than followed, and every path is resegmented before it becomes a file name.
DSH only discovers direct children of a skill root. A disabled skill is moved
to <root>/.disabled/<name> — hidden, therefore invisible to every provider —
and moved back untouched when re-enabled. Nothing in SKILL.md is rewritten,
so a hand-written skill survives a round trip byte for byte. The same trick
backs .trash.
Five libraries are found on their own, so a machine that already runs another coding agent needs no configuration. This is the order the page lists them in:
| Mark | Library | Path |
|---|---|---|
| DeepSeek | DeepSeek Harness | $DSH_HOME/skills (usually ~/.dsh/skills) |
| DeepSeek | Agents | $DSH_AGENTS_HOME/skills (usually ~/.agents/skills) |
| Codex | Codex | $CODEX_HOME/skills (usually ~/.codex/skills) |
| Claude Code | Claude Code | $CLAUDE_CONFIG_DIR/skills (usually ~/.claude/skills) |
| WorkBuddy | WorkBuddy | $WORKBUDDY_HOME/skills (usually ~/.workbuddy/skills) |
| CodeBuddy | CodeBuddy | $CODEBUDDY_HOME/skills (usually ~/.codebuddy/skills) |
Discovery runs on every read rather than being remembered, so installing
another agent later just works, and deleting a library removes it from the
list. They are managed like DSH's own roots: the plugin is the provider that
hands them to the model, so the switch changes the catalog the next step reads.
The bytes still belong to that agent, and uninstalling only moves them into that
library's own .trash, where they can be restored.
The marks are the vendors' own, taken from published brand assets rather than
drawn here: the DeepSeek whale (deepseek.svg from simple-icons), the OpenAI
knot and the Claude asterisk (openai.svg, claude.svg from
@lobehub/icons-static-svg), and the official logo.svg tiles served by
codebuddy.ai and workbuddy.cn. The monochrome ones inherit currentColor so
they follow the theme; the two tiles keep their own gradients. Brand marks
belong to their owners and identify the directory the skills came from.
DSH scans four roots and no others, so the plugin registers its own skill
provider (ctx.skills.registerProvider) that serves the added directories with
source: 'custom' — the label DSH reserves for exactly this. The model sees
those skills in its catalog, with the invocation policy from each frontmatter,
and a symlinked bundle counts as a skill (Claude Code and stow both link rather
than copy). Adding or removing a directory, or switching a skill in any root,
invalidates the catalog, so the next model step sees the change without a
restart.
The directories are managed, not just browsed: enable/disable, uninstall
and restore, create, and install targets all work there, because this plugin —
not DSH — is what hands those skills to the model. That is also the limit of
the claim: disabling renames a bundle into <root>/.disabled and uninstalling
moves it into <root>/.trash, both reversible and both confined to that root.
"Install…" still copies a skill into another root, which is how a skill in
someone else's library becomes DSH's own bytes.
The list lives in $DSH_HOME/skills-roots.json — beside the skills rather than
inside a profile, so it survives a profile rebuild and is shared by the web and
desktop apps. A malformed file is read as an empty list; adding a directory
rewrites it. Keys are hashed from the path, so removing one directory never
re-points another's filter.
All writes go through resolveWithin, which refuses a path that leaves its
root. Skill names match ^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$; a requested entry
must already exist where the request claims it does; a create or install
refuses to overwrite an existing enabled, disabled or trashed entry. A remote
import obeys the same rules: its paths are resegmented before they become file
names, and a symlink inside a repository is skipped rather than followed.
--dsw-alias-*) are used — no hard-coded palette, so
light and dark themes both work.ctx.locale.register / ctx.locale.bind
with a zh and an en dictionary; the row's label is a locale-aware
function, not a captured string.React here is the shell's curated object, which exposes only
createElement, useState and useEffect. The panel uses exactly those
three: anything else — useSyncExternalStore, useRef, memo — is
undefined and throws at render, which blanks the panel.role="dialog" / aria-modal, close on Escape and
on a backdrop click, and the enable/disable control is a real checkbox with
an accessible name.document.body except the transient folder-picker input, which is removed
as soon as the picker closes.npm test
Runs node --check on all seven sources, then 104 tests over a real temporary
tree and over fixtures built in the test itself: frontmatter parsing (quoted
scalars, comments, block scalars, invalid flag spellings), path containment,
root discovery, direct-children-only scanning, and every mutation including
the refusals — plus the remote path: link parsing, the transport allowlist, the
tar reader, and the clone.
import-files, since the route transports text;
use import-directory or copy assets into the bundle afterwards.skills service the panel still works, but those skills
never enter the model's catalog.git on the machine (for every host but
GitHub) or a link to a GitHub repository.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。