Introduction¶
DeepSeek Harness (DSH) adopts a “everything is a plugin” design, breaking core capabilities into composable bundles. Each bundle must conform to DSH’s skill specification: a kebab-case name, a non-empty description, invocation flags, and a resource root directory. However, other agent ecosystems (Claude Code, Cursor, Codex, etc.) each have their own skill formats—or simply rely on plain Markdown with no specification at all. Reusing those skills means manually rewriting them, forking the source and modifying it, or copying files—all of which increase maintenance overhead.
dsh-skill-forge is a DSH plugin that imports skills from other agent ecosystems into DSH and publishes them as native skills. It does not modify your original files; it only rewrites the skill content it intends to publish.
What It Is¶
- Plugin name:
dsh-skill-forge - Maintainer: frederickimanuels
- Core purpose: reads skill files from other agent ecosystems (Claude Code’s
SKILL.md, Cursor’s.cursor/rules/*.mdc, Codex’sAGENTS.md, various Markdown files, etc.), adapts them into DSH-recognizable skills, and registers them in DSH’s skill registry.
Core Features¶
Supported Skill Formats¶
| Format | File Location | Invocation |
|---|---|---|
| Agent Skills bundle | <dir>/SKILL.md (with name + description) |
model + user |
| Claude Code skill | SKILL.md (using Claude-specific fields) |
per disable-model-invocation |
| Claude Code command | .claude/commands/*.md |
per disable-model-invocation |
| Single-file skill | Any .md (with YAML frontmatter) |
model + user |
| Cursor rule | .cursor/rules/*.mdc |
per alwaysApply |
| Legacy Cursor rule | .cursorrules |
model + user |
| Repository-level instructions | AGENTS.md, CLAUDE.md, GEMINI.md, CODEX.md, .github/copilot-instructions.md |
user-only |
| Loose Markdown | Plain text files (requires includeLoose: true) |
model + user |
When an Agent Skills bundle directory contains references/, scripts/, assets/, examples/, templates/, or resources/, these directories are published as the skill’s resources alongside the skill itself. The scanner does not descend into these directories; sibling Markdown files belong to that skill.
Adaptation Rules¶
The plugin does not modify original files; it only rewrites the skill content it publishes:
!command`` (Claude's dynamic context injection) becomes "execute the output ofcommand`.” DSH does not actually run the command; the instruction remains executable.@path/to/filereferences become “filepath/to/file,” preventing the model from failing to resolve a reference syntax DSH doesn’t support.$ARGUMENTS,$1…$9become “the user’s request.”- Tool names in
allowed-toolsare translated to DSH tool names when a mapping exists (e.g.,Read→read,WebFetch→web_fetch,Task→subagent); unmapped tools are declared as unauthorized tools without enforcement. - A brief note is prepended to the skill, recording its origin, adaptation source, and the rewrites applied.
- If a
descriptionis missing, it is extracted from the first substantive paragraph of the body; if anameis missing, it is derived from the directory or filename and converted to kebab-case.
A skill is rejected only if it cannot be named; otherwise, it is adapted rather than rejected.
Skill Ordering & Priority¶
DSH’s skill registry is sorted by rank in ascending order; the first matching skill is used. The built-in filesystem provider uses ranks from 100 (project skills) to 600 (bundled skills). Imported forged skills start at 620, ensuring your own project-defined skills are not overridden by imports. If you need a specific imported skill to take priority over your own, set rankBoost: -100.
Skills Page¶
When using the web profile, a “Skills” entry appears in the DSH sidebar, and a panel of the same name is available in Settings. This panel provides a graphical interface that lists detailed information about all skills in the store (name, dialect, whether model invocation is allowed, description, etc.). You can import skills, filter, and view details here—no terminal interaction required.
Installation & Activation¶
Run in the terminal:
dsh plugin --profile web add @frederickimanuels/dsh-skill-forge
Before the package is published, you can also install directly from the repository:
dsh plugin --profile web add "git+https://github.com/frederickimanuels/dsh-skill-forge.git"
Or install from a local checkout (convenient for iterative development):
dsh plugin --profile web add "file:$PWD"
The plugin has no build step—the published files are the source code—so a git install does not require a prepare script or pnpm build permission.
After installation, DSH checks compatibility based on the engines field in package.json:
"engines": { "node": ">=20", "dsh": ">=0.2.1-rc.2 <0.4.0-0" }
If the current DSH version does not satisfy this range, installation or profile startup will reject the bundle. engines must be at the root object; a nested dsh.engines will not take effect and will silently fall back to the peer range of @deepseek-ai/dsh*.
Once installed, restart the web host and the “Skills” panel in the sidebar will load the new skills.
Configuration¶
Configuration options live in DSH’s bundle config. Here is a typical example:
- id: skill-forge
name: '@frederickimanuels/dsh-skill-forge'
config:
providerName: skill-forge # Provider name under ctx.skills
roots: # Additional directories to scan
- ~/.dsh/skill-forge
autoDiscover: true # Auto-scan project .claude/, .cursor/, AGENTS.md, etc.
includeLoose: false # Whether to import Markdown files without frontmatter
depth: 3 # Max scan depth per root directory
maxFiles: 2000 # Total file budget; warns when exhausted
exclude: [] # Additional directory names to skip (additive)
deny: [] # Skill names to reject from import
rankBoost: 0 # Added to each skill's rank; negative values raise priority
includeCommandArgumentHint: true
watch: true # Auto-rescan on file changes
logAdaptations: true # Log adaptation details per skill on each registry rebuild
store: ~/.dsh/skill-forge # Target directory for Skills page imports
ui: true # Enable Skills page and its bridge
With autoDiscover enabled, each open project automatically contributes content from its .claude/skills, .claude/commands, .agents/skills, .cursor/rules, .cursorrules, AGENTS.md, CLAUDE.md, and .github/copilot-instructions.md.
Typical Usage¶
Scan the current directory from the terminal:
dsh-skill-forge scan .
Example output:
agents repository instructions user-only repo-instructions:AGENTS.md
stageshow Agent Skills bundle model agent-skills:stageshow/SKILL.md
2 skills would be published.
Scan results appear in the Skills page, where you can review all identified and adapted skills and decide whether to import them into the store.
Use Cases & Caveats¶
Suitable for the following scenarios:
- You have already accumulated a set of skills in another agent ecosystem (Claude Code, Cursor, etc.) and want to reuse them in DSH.
- Team members use different agent tools and need a unified, shareable skill library.
- You need to manage a large number of Markdown skills without manually converting formats.
Things to keep in mind:
- The plugin runs with the permissions of the current DSH process. Review the source code and license before installing.
- The plugin does not enforce
allowed-tools; it treats them as descriptive text within the skill to avoid accidental over-permissioning. - Repository-level instructions (e.g.,
AGENTS.md) default to user-only to prevent the model from invoking them on unrelated requests.
Closing¶
dsh-skill-forge provides a path for importing skills from other agent ecosystems into DSH, unifying scattered skills under DSH’s skill framework. It does not alter original files—it only adapts and rewrites—while keeping skill priority configurable. For finer-grained control or custom adaptation logic, you can modify the plugin source directly.
Directory: https://www.skillhub.cn/plugins/frederickimanuels/dsh-skill-forge
GitHub: https://github.com/frederickimanuels/dsh-skill-forge