Logo Deepseek Harness Plugin Creator

Deepseek Harness Plugin Creator

Cộng đồng
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.

Tổng quan

Nhà phát hànhwin4r
Kho mãdeepseek-harness-plugin-creator
Tên kỹ năngdeepseek-harness-plugin-creator
Sao
42
Bản fork
9
Tệp đi kèm
29
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 29 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được win4r công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Deepseek Harness Plugin Creator trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/win4r/deepseek-harness-plugin-creator/tree/main
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/win4r/deepseek-harness-plugin-creator.git \
  .claude/skills/deepseek-harness-plugin-creator
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Deepseek Harness Plugin Creator trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Deepseek Harness Plugin Creator ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Deepseek Harness Plugin Creator với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Deepseek Harness Plugin Creator làm được gì?

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.

Vì sao nên dùng Deepseek Harness Plugin Creator trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Deepseek Harness Plugin Creator là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Deepseek Harness Plugin Creator trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/win4r/deepseek-harness-plugin-creator/tree/main. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Deepseek Harness Plugin Creator?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Deepseek Harness Plugin Creator với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Deepseek Harness Plugin Creator với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Deepseek Harness Plugin Creator có miễn phí không?

Kỹ năng này được win4r phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇