Deepseek Harness Plugin Creator 标志

Deepseek Harness Plugin Creator

社区
win4r
deepseek-harness-plugin-creator

Scaffold, create, materially revise, validate, or debug external DeepSeek Harness/Cordis plugins and bundle layers, including Tools, Services, schedulers, Workers, providers, and Web client extensions. Use when the target explicitly concerns DeepSeek Harness, dsh, or @deepseek-ai/dsh-* development. Do not use for Codex plugins, generic Node packages, installation-only requests, or read-only reviews.

概览

发布者win4r
代码仓库deepseek-harness-plugin-creator
技能名称deepseek-harness-plugin-creator
星标数
42
复刻数
9
附带文件
29
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 29 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 win4r 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Deepseek Harness Plugin Creator AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/win4r/deepseek-harness-plugin-creator/tree/main
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/win4r/deepseek-harness-plugin-creator.git \
  .claude/skills/deepseek-harness-plugin-creator
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Deepseek Harness Plugin Creator,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Deepseek Harness Plugin Creator。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Deepseek Harness Plugin Creator 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

DeepSeek Harness Plugin Creator

Build the smallest plugin that works through the real DeepSeek Harness loading and deployment path. Use the deterministic fast path for a simple Tool and the risk-specific workflow for everything more capable.

Discover the current contract first

DeepSeek Harness is preview software. Never choose APIs, commands, or versions from memory, this Skill, an API snapshot, or another plugin alone.

  1. Read the target repository's AGENTS.md, instructions, manifest, lockfile, and existing patches.
  2. Read references/contract-discovery.md.
  3. Pin the official Harness tag or commit, target CLI/Profile, Node and package- manager versions, and every relevant package version.
  4. State the observed contract before creating files. Treat external plugins as version-qualified design evidence, not authority.

Prefer a current, identifiable official checkout. Otherwise inspect the official deepseek-ai/deepseek-harness repository. Only official source and documentation establish API behavior.

Choose a lane

Simple Tool fast path

Use the bundled scaffold when all of these hold:

  • this is a new external package rather than a structural edit to an existing plugin;
  • one named-namespace host entry and a bounded model-facing Tool satisfy the request;
  • no durable state, scheduler, Worker/subprocess, credentials, provider call, Web client, custom Agent/session loop, or external mutation is required.

After contract discovery, inspect the script's current interface and run it:

bash
node <skill-dir>/scripts/scaffold_plugin.mjs --help
node <skill-dir>/scripts/scaffold_plugin.mjs dsh-example \
  --dir <parent-dir> --profile <target-profile> \
  --dsh-repo <pinned-official-checkout> --tool example_echo

It reads runtime versions from the installed Profile and the Node engine from the pinned official checkout. A published DSH manifest may omit the root engine contract. If either evidence source is unavailable, pass the corresponding exact runtime overrides and evidence-derived --node-engine; never derive the target engine from whichever Node happens to run the script. The target must be absent or an empty real directory; there is no overwrite mode. Then read references/api-quick-reference.md, inspect every generated file, implement the bounded behavior, and follow the same real Loader and fresh-Profile gates as a hand-built plugin. The scaffold is a starting artifact, not contract discovery or release proof.

The fast path only runs for a DSH version whose complete scaffold contract is audited in the script (currently 0.1.1-rc.2, including Schemastery ownership and toolchain pins). For any other target, use the capability-specific path until that version receives a new audited snapshot. Generated host-runtime peers default to the exact observed versions; widen them only after explicit compatibility evidence.

Read references/tool-authority.md if the Tool is not intentionally available to every eligible Agent, or if later requirements add mutation, cost, or durable effects. Leave the fast path as soon as its assumptions stop holding.

Capability-specific path

Choose the smallest shape that satisfies the request:

NeedPrimary shape
Compose existing plugins/defaultsBundle patch only
Add a host capability or registryCordis host plugin/Service
Expose a model-callable operationDSH Tool plugin
Integrate Agent, Session, Goal, Job, or preset behaviorAgent/session plugin
Schedule or recover durable workDurable host runtime
Invoke another process or model runtimeIsolated Worker/provider adapter
Extend the Web clientHost plugin plus declared client bundle

Do not add a Worker, store, UI, custom Agent loop, or separate Service merely because Harness supports one.

Load only the references triggered by the task:

When several apply, combine their invariants.

Implement the Harness-native boundary

  • Declare dsh.bundle.patch only when the package contributes a patch, and point it to a shipped file.
  • Cordis accepts function, object, and constructor/class plugins. An external Loader root should be either:
    • named namespace apply with optional name, inject, and Config, and no default export; or
    • one default-exported function, { apply } object, or Service class. Auxiliary named exports may accompany a default plugin. Never add a competing named apply; named inject or Config bindings are not metadata for the unwrapped default, so attach required metadata to the default itself.
  • Make inject match required services accessed through ctx.<service>. Use the pinned official lookup pattern for genuinely optional services.
  • Export a real Standard Schema for configurable plugins. Normalize and revalidate security-sensitive or cross-field values in the implementation.
  • For each host-supplied Cordis/DSH runtime imported by shipped code, use an exact development version and committed lockfile. The peer range must include that version and may be exact or evidence-backed compatible. Put plugin-owned runtime libraries, including Schemastery under the rc.2 contract, in exact dependencies. Never release *, file:, link:, or workspace: specs, and externalize host-owned runtimes.
  • Treat registrations as Fiber-owned effects. Give timers, watchers, connections, subprocesses, and stores explicit admission, cancellation, drain, and disposal ownership.
  • Assume a patch overriding an existing row replaces its complete config unless the pinned contract proves otherwise.
  • Treat !!js, source-install scripts, shell commands, MCP servers, and host Workers as executable host code outside the model's ordinary Tool sandbox.
  • For a Web extension, require both dsh.client.platform: web and exports["./client"], then reproduce the pinned client-bundle contract.

Test the delivered shape

  1. Unit-test pure parsing, bounds, cancellation, state transitions, and failure paths.

  2. Mount through a real Cordis Context for lifecycle and disposal behavior.

  3. Exercise the actual Loader/package export and cordis.patch.yml; a stub { name, inject, apply } object cannot prove package loading.

  4. Test negative authority, unavailable services, shutdown during work, partial confinement, and bounded diagnostics when those risks exist.

  5. Run the repository's exact typecheck, tests, build, and aggregate check.

  6. Run the bundled static validator:

    bash
    node <skill-dir>/scripts/validate_plugin.mjs <plugin-dir> --built

    It verifies observable package and export structure, but cannot prove that a visible Config binding implements Standard Schema without executing candidate code; the real Loader gate remains authoritative. It uses /usr/bin/python3 for descriptor-bound tree inspection and fails closed when that POSIX runtime is unavailable. On another platform, perform an equivalent frozen-tree/package inspection.

  7. Use the acceptance helper in static-only mode before trusting candidate code, then opt into execution only after reviewing the source:

    bash
    node <skill-dir>/scripts/accept_plugin.mjs <plugin-dir>
    node <skill-dir>/scripts/accept_plugin.mjs <plugin-dir> --trusted-execute

    Default mode only delegates to static validation. --trusted-execute is not a sandbox: for an exact declared npm or pnpm version, it verifies that local CLI, runs candidate package scripts, packs the result, installs the exact archive in a temporary DSH_HOME, revalidates the post-pack source and installed archive surface, binds descriptor-walk path/stat metadata for that installed tree across validation, composition, boot, and shutdown gates, and automatically boots only a Web Profile. This metadata guard includes dist but does not hash installed content bytes; a same-UID mutation fully restored between checks remains outside the proof boundary. Automatic composition acceptance applies only when the Bundle mounts its own package root or an exported package subpath, and checks those mounted row IDs. Patch-only Bundles, non-own row/config changes, and unmatched-patch diagnostics require --pack-only plus a manual composition gate. It forwards a small operating environment rather than ambient provider/API credential variables, but it is still unsandboxed host code with filesystem and network authority. Use it only for reviewed source. Its automatic success proves the top-level DSH process, HTTP readiness endpoint, normal exit, and reported port release—not descendant-process quiescence, database/file cleanup, or other capability-specific resources. Use --pack-only plus manual app-specific gates for unsupported Profiles. For an unsupported package manager, keep to static validation and run every packaging and fresh-Profile gate manually. Always add capability-specific cleanup checks when the plugin can create external resources. The helper has no built-in provider functional turn, but it cannot enforce offline behavior: trusted candidate scripts or startup code retain host filesystem and network authority and may initiate their own provider call or read credentials from disk.

  8. For delivery, follow the clean-package and fresh-Profile gates in references/release-gates.md. --dump-config proves composition only.

  9. Make real-provider tests explicit opt-in. Disclose the fixture/diff leaving the machine, provider/model, credential source, and possible cost.

For a high-risk plugin—durable external effects, secrets, host command execution, security-sensitive snapshots, or public release—obtain an independent read-only audit and repeat affected artifact gates after fixes.

Preserve authorization boundaries

Implementation does not authorize npm publication, GitHub repository creation or visibility changes, deployment, Profile mutation, credential changes, or third-party messages. Perform only externally mutating steps the user actually authorized, against the frozen tested artifact.

Completion report

Lead with the delivered capability. Include the artifact path and pinned baseline; registered Services/Tools and authority; writes, network, subprocesses, credentials, and provider disclosure; exact test, package, fresh-install, startup, shutdown, and audit evidence; unsupported shapes or unsafe opt-outs; and a remote URL/commit only when a requested push was read back and verified.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Deepseek Harness Plugin Creator AI 技能有什么作用?

Scaffold, create, materially revise, validate, or debug external DeepSeek Harness/Cordis plugins and bundle layers, including Tools, Services, schedulers, Workers, providers, and Web client extensions. Use when the target explicitly concerns DeepSeek Harness, dsh, or @deepseek-ai/dsh-* development. Do not use for Codex plugins, generic Node packages, installation-only requests, or read-only reviews.

为什么在 TypingMind 中使用 Deepseek Harness Plugin Creator?

因为您只需安装一次,就能搭配任何模型使用。Deepseek Harness Plugin Creator 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Deepseek Harness Plugin Creator?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/win4r/deepseek-harness-plugin-creator/tree/main。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Deepseek Harness Plugin Creator?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Deepseek Harness Plugin Creator 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Deepseek Harness Plugin Creator 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Deepseek Harness Plugin Creator AI 技能免费吗?

win4r 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇