rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:MaiiNor/openclaw-skill-bridge
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Run OpenClaw skills inside the DeepSeek Harness (DSH).
A DSH skill provider that maps OpenClaw skill roots into DSH's ctx.skills catalog — so the richer OpenClaw skill ecosystem becomes usable from DSH agents.
OpenClaw and DSH both describe skills as SKILL.md files with name + description YAML frontmatter and a Markdown body. The formats overlap heavily, but the runtimes diverge in ways that drop skills:
| Gap | OpenClaw | DSH |
|---|---|---|
| Discovery depth | nested, up to 6 levels | one level only |
| Skill roots | workspace/skills, ~/.openclaw/skills, workshop, bundled… |
.dsh/skills, .agents/skills, ~/.dsh/skills, ~/.agents/skills |
| Resource refs | {baseDir} token |
resourceBase |
| Gating | metadata.openclaw.requires.* |
none |
This plugin registers an openclaw provider that scans OpenClaw roots, flattens nested skills, rewrites {baseDir}, and maps gating — so DSH sees them through its own catalog.
Lossless (byte-for-byte):
name, description, and the instruction body are carried verbatim.disable-model-invocation / user-invocable map 1:1 to DSH's invocation.modelInvocable / invocation.userInvocable.{baseDir} is rewritten to the skill directory, published as DSH resourceBase (directory kind).Not lossless (runtime, not format):
exec, browser, read, …) are OpenClaw tool names. The instruction text is preserved, but whether the DSH agent can run them depends on DSH's own tool surface. This plugin does not shim OpenClaw tools.requires.config gating references openclaw.json and is ignored on DSH (carried in metadata, never gates). bins / anyBins / env / os / always are honored when applyGating is on.Requires a DeepSeek Harness host (@deepseek-ai/cordis and @deepseek-ai/dsh-skill are peer dependencies).
npm i openclaw-skill-bridge
Then mount the plugin in your DSH composition (same shape as the built-in
skill-filesystem provider):
import openclawSkillBridge from "openclaw-skill-bridge";
// inside your DSH plugin composition
openclawSkillBridge,
| Field | Default | Meaning |
|---|---|---|
providerName |
openclaw |
Provider name registered on ctx.skills. |
includeDefaultRoots |
true |
Scan workspace, project, personal, managed, and workshop OpenClaw roots. |
workspaceDir |
~/.openclaw/workspace |
OpenClaw workspace. |
stateDir |
$OPENCLAW_STATE_DIR or ~/.openclaw |
OpenClaw state directory. |
agentsHome |
~/.agents |
Shared agent root. |
bundledSkillDir |
— | OpenClaw bundled skills directory (optional). |
customSkillDirs |
[] |
Extra skill roots (rank 700). |
maxDepth |
6 |
Max discovery depth (clamped 1–8). |
rewriteBaseDir |
true |
Rewrite {baseDir} tokens to the skill directory. |
applyGating |
false |
Enforce OpenClaw requires.* gating (except config). |
watch |
false |
Reserved; the provider re-scans on each catalog snapshot. |
Mirrors OpenClaw precedence; lower rank wins on a name collision:
100 workspace · 200 project agents · 300 personal agents · 400 managed
450 workshop · 600 bundled · 700 extra
apply() calls ctx.skills.registerProvider(...), handing DSH a
SkillProvider with the standard list(options) / get(candidate, options)
contract. Discovery walks each root up to maxDepth, stops descending when it
finds a SKILL.md, parses frontmatter with yaml, and emits
SkillCandidates. Loading re-reads the file, rewrites {baseDir}, and
returns the DSH SkillDefinition.
npm install
npm run build # tsc -p tsconfig.json
npm test # node --test test/translate.test.mjs
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。