dshbase

插件目录 / Developer / dsh-skill-importer

dsh-skill-importer

未验证 saitamahang

✓ 持续维护 基于 14 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

2Stars
0Forks
0未关闭 issue
语言
2026-08-17最近推送
跨平台平台

功能简介

Import, validate, manage, and migrate Agent Skills for DeepSeek Harness (DSH), Claude Code, Codex, and other AI coding agents.

我们的评价
未验证 — 尚未实测

Import, validate, manage, and migrate Agent Skills for DeepSeek Harness (DSH), Claude Code, Codex, and other AI coding agents. 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

dsh-skill-importer — Agent Skills, safely migrated

Bring skill management into the DeepSeek Harness Web UI.

Import, validate, deduplicate, and migrate Agent Skills across DeepSeek Harness, Claude Code, Codex, and other AI coding agents.

Discover and invoke them without a session, model tokens, or approval round-trips.



npm
downloads
DeepSeek Harness
license


English · 简体中文 · Install · How it works · Development


Your skill library, one click away

dsh-skill-importer is a lightweight plugin for DeepSeek Harness (dsh). It turns skills into a first-class part of the Web UI: bring in Markdown from disk or a URL, see every installed copy, and insert a skill into the composer without breaking your flow.

Import Organize Invoke
Upload SKILL.md, paste a URL, or migrate a complete skills directory from Claude Code, Codex, and similar agents. Browse skills grouped across project and global roots. Remove any copy individually. Use the composer picker, run /skills, or type /skill-name directly.

See it in action

/skills command Composer picker
Choose a skill from the /skills command Choose a skill from the composer picker
Choose a skill from the command palette without leaving the composer. Open the skill library from the composer footer and insert it in one click.

Built for a fast loop

  • No agent or session — the host writes skill files directly.
  • Zero model tokens — imports never enter a model context.
  • Instant discovery — the harness watcher hot-refreshes skills after they land.
  • Workspace-aware — project skills always target the active registered workspace.
  • Bilingual UI — English and Chinese copy follows the harness locale.
  • Safe by design — fixed skill roots, 256 KB limit, and same-origin POST checks.

Batch migration with a real preflight

The third import entry accepts a local skills root such as ~/.claude/skills, ~/.codex/skills, or another .agents/skills directory. It scans before it writes, validates every SKILL.md, preserves each skill's scripts, references, assets, and other resources, and reports invalid entries without touching the destination.

Destination name conflicts are skipped by default. Choose Replace per skill, review the add/replace/skip summary, then confirm. Each accepted skill is copied through a same-root staging directory; replacements keep a temporary backup and roll back if the swap fails. A preflight is single-use, expires after ten minutes, and verifies source-content fingerprints again at commit time.

Three natural ways to use a skill

  1. Composer picker — open the pill beside the access-mode selector, search by name, and choose.
  2. /skills command — use a familiar command palette, modeled after /model.
  3. Direct invocation — type /skill-name and keep moving.

All three fill the composer with the same highlighted /name gesture; sending injects the skill instructions through dsh's native flow.

Installation

First install

npx @deepseek-ai/dsh plugin --profile web add dsh-skill-importer@latest

The plugin registers itself with the Web profile through dsh.bundle; do not edit cordis.patch.yml manually.

Restart dsh Web after installation:

npx @deepseek-ai/dsh web

Update to the latest version

Existing users can run the same command to update:

npx @deepseek-ai/dsh plugin --profile web add dsh-skill-importer@latest

Updating replaces only the plugin package. It does not remove skills from .dsh/skills, .agents/skills, ~/.dsh/skills, or ~/.agents/skills. Restart dsh Web after updating.

Check the latest published version:

npm view dsh-skill-importer version

List the plugins installed in the Web profile:

npx @deepseek-ai/dsh plugin --profile web list

Supply-chain waiting period for new releases

DSH profiles use pnpm to manage plugins. pnpm's minimumReleaseAge policy delays newly published versions; during that window, @latest may still resolve to the previous mature release. This is an intentional supply-chain safeguard, not a download failure. The recommended path is to wait for the profile's configured window, then rerun the @latest command above.

Pre-1.0 semver ranges also stop at the next minor: for example, ^0.1.2 does not include 0.2.0. After the waiting period, specify the target version when crossing a minor:

npx @deepseek-ai/dsh plugin --profile web add [email protected]

If you have verified the release and must install it immediately, add a temporary exception for that exact version to $DSH_HOME/profiles/web/pnpm-workspace.yaml, then run the exact-version command:

minimumReleaseAgeExclude:
  - [email protected]

Replace both X.Y.Z placeholders with the same target version. This opts that version out of the supply-chain waiting period. Do not permanently exempt the package name; remove the exact-version exception after the release matures.

Open Settings → Skills. Import a Markdown file or URL, or choose Batch import to migrate another agent's complete skills directory. Choose a target and the imported skills will appear as soon as the filesystem watcher discovers them.

Requires DeepSeek Harness >= 0.1.0-rc.6.

Duplicate plugin after upgrading

If startup fails with duplicate loader entry id: skill-importer, the profile still contains the old manual configuration. Remove the manually added skill-importer entry from $DSH_HOME/profiles/web/cordis.patch.yml, then restart dsh Web. Current releases register automatically and do not need that entry.

How it works

The dsh client-to-host RPC is a fixed allowlist with no file-write channel. This plugin uses the official ctx.webServer.register extension point exposed by dsh-host-webserver and registers same-origin /skill-importer/* routes on the harness server.

Markdown file or URL
        │  same-origin fetch
        ▼
/skill-importer/import
        │  host filesystem write
        ▼
<skill-root>/<name>/SKILL.md
        │  watcher event
        ▼
skills/change → hot refresh

POST routes verify the Origin header and only accept loopback sources (127.0.0.1 or localhost). Writes are restricted to four default writable DSH roots:

Writable target order Scope Directory
1/4 DSH project .dsh/skills
2/4 Shared project .agents/skills
3/4 DSH global ~/.dsh/skills
4/4 Shared global ~/.agents/skills

Lower numbers win among these four writable import targets. DSH-configured customSkillDirs sit between project and global roots in the full discovery order, but have no single stable write destination and therefore are not import targets. Bundled skills ship with DSH and cannot be overwritten by the plugin.

Development

npm install
npm run build
Area Source
Host plugin and route registration src/index.ts
Filesystem, URL import, and HTTP logic src/server.ts
Shared wire types src/types.ts
Browser plugin and /skills command src/client/index.ts
Composer picker src/client/SkillsPicker.tsx
Settings experience src/client/SkillImporterSection.tsx

Available routes: GET /skill-importer/health · GET /skill-importer/list · POST /skill-importer/import · POST /skill-importer/import-url · POST /skill-importer/delete · POST /skill-importer/batch/scan · POST /skill-importer/batch/commit

Local checkout

npm install
npm run build
dsh plugin --profile web add /path/to/dsh-skill-importer

If dsh is not installed globally, replace the last line with npx @deepseek-ai/dsh plugin --profile web add /path/to/dsh-skill-importer. The plugin registers automatically; restart dsh Web afterward.

Notes

  • A single imported file may be up to 256 KB.
  • Batch import accepts any agent directory named skills (for example .claude/skills, .codex/skills, or a custom agent/skills) or one skill directory directly below it. A scan accepts up to 200 skills; each skill may contain up to 2,000 files and 10 MB of resources. Symbolic links are refused.
  • URL import is HTTPS-only and refuses loopback, private, link-local, and reserved addresses; every redirect is validated again. .md sources are preserved, while HTML pages use lightweight text extraction, so direct Markdown URLs work best.
  • The installed list polls briefly after import (every 2 seconds for up to 20 seconds). Refresh syncs external changes immediately.

License

Released under the MIT License.

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-skill-importer」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:saitamahang/dsh-skill-importer

Headless(CLI)profile:

dsh plugin --profile headless add github:saitamahang/dsh-skill-importer

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-26
备注:验证: runtime-fail 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7789 个插件 →