DeepSeek Harness Plugin

yuhhhong/dsh-skill-status

Stars ★ 0 Downloads (30d) 705 Category Skills Added 2026-10-12 npm dsh-skill-status

It shows the number of confirmed loaded skills in the conversation header. Click **技能** (Skills) to open the right sidebar and check whether each skill's full main body remains in the current main assistant context, along with its recorded versions and sources.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-skill-status

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:yuhhhong/dsh-skill-status

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

中文 | English

A session skill status plugin for DeepSeek Harness (DSH). It shows the number of confirmed loaded skills in the conversation header. Click 技能 (Skills) to open the right sidebar and check whether each skill's full main body remains in the current main assistant context, along with its recorded versions and sources. You can also translate skill descriptions and bodies on demand.

Features

  • Combines the current skill catalog with historical loading records, with filtering by name or description.
  • Lists loaded skills first, with each group sorted by name.
  • Recognizes official loading through /skill-name and the skill tool, and checks whether the full main body is retained.
  • Shows historical body versions, load counts, and resource guidance recorded at load time. Multiple versions of one skill count as one skill.
  • Displays load-time sources separately from current catalog sources. Later edits to source files do not replace historical bodies.
  • Updates on session events and rechecks catalog and file status every five seconds during quiet periods.
  • Translates skill descriptions and bodies through Bing or Google, with target language settings, switching between original and translated text, and progress and retries for unfinished body chunks.

The plugin only queries skill status for the current main assistant. It does not load, reload, or unload skills, or modify session content.

Installation

Method 1. Install from npm in the DSH web profile:

dsh plugin --profile web add dsh-skill-status

Method 2. Install directly from GitHub:

dsh plugin --profile web add github:yuhhhong/dsh-skill-status

Method 3. Search for dsh-skill-status in dsh-market and click Install.

Method 4. On DSH's Plugins page, click Add Plugin and enter the npm package name: dsh-skill-status

After installation, restart DSH and refresh the page. Open any conversation and click 技能 (Skills) on the right side of the header to expand the panel.

To uninstall:

dsh plugin --profile web remove dsh-skill-status

The current plugin version is 0.1.7. The supported DSH range is >=0.1.7-rc.2 <0.2.0-0 || >=0.2.0-rc.1 <0.3.0-0. Within that range, machine translation requires 0.2.2-rc.2 or later. Earlier versions still support skill status queries but do not show the translation controls.

Skill translation

First enable 思考过程机器翻译 (Thinking process machine translation) in DSH's 插件 (Plugins) page. Expand a skill entry and click 机翻 (Translate) next to 简介 (Description) to translate the description. Click 机翻 next to 上下文正文 (Context body) or 历史正文 (Historical body) to translate the body in chunks. Each completed chunk appears as it arrives. Unfinished or failed chunks keep the original text and show a status message.

During translation, click 取消 (Cancel) to stop, or switch between 查看原文 (View original) and 查看译文 (View translation). After cancellation or failure, click 重试翻译 (Retry translation) for the description or 重试未完成块 (Retry unfinished chunks) for the body. Successfully translated chunks are reused.

Open this plugin's details on the Plugins page to configure:

  • Translation service: Bing or Google. The default is Bing.
  • Target language: follows the DSH interface language by default, or accepts a language code such as zh-CN, en, or ja.

Click 保存 (Save) to apply both settings together. Settings persist across restarts. Collapsing a skill entry, switching body versions, or closing the panel cancels unfinished translation requests. Successful chunks are cached only in host memory and cleared when DSH restarts or this plugin is unloaded.

If the translation service is not enabled when you click Translate, the plugin displays:

未检测到翻译服务。请前往「插件」启用「思考过程机器翻译」

This means: “No translation service detected. Go to Plugins and enable Thinking process machine translation.” Enable it, then click Translate again to recheck.

Translations are for reading only. They do not change the skill's original text, source, or loading status, and are not written into the session context. Code, commands, paths, and link destinations are kept unchanged.

Status meanings

The plugin UI currently uses Chinese labels.

UI label Meaning
已加载 (Loaded) The full main body of at least one officially loaded version remains in the current context.
未检测到加载 (No load detected) The verifiable history contains no successful load through an official entry point.
完整正文不在上下文 (Full body absent from context) A previous load is confirmed, but every verifiable version is now incomplete or absent from the current context.
无法确认 (Unknown) Evidence from history, the body, or the current context is insufficient.

In the header, … means the first result is pending. ? means a query failed or some scope remains unverified. 2 · ? means two skills are confirmed loaded, with some status still unresolved.

Issues attributable to a skill appear directly in its collapsed row, such as a missing original body, indirect-call logs without the original body, ambiguous body matching, or an unavailable context snapshot. Loading and catalog status are separate: 已加载 · 目录待确认 means the body is confirmed retained while catalog membership remains unverified, without reducing the loaded count. Uncertainty affecting only other versions is labeled 其他版本 (Other versions). Incomplete history or catalog data can hide entries altogether, so the panel shows separate notices for those gaps.

Ordinary file reads do not count as official loading evidence. A compaction summary mentioning a skill or a successful past load does not, by itself, prove that the full body remains in context. Whether referenced materials have been read does not affect the main-body completeness check.

Resource guidance in a loading record may not include an exact source file path. The plugin checks file existence only when the current skill catalog supplies an explicit path, and displays that result under 当前目录来源 (Current catalog source).

Local development

After installing dependencies, run the syntax checks and tests.

pnpm run check
pnpm test

pnpm test builds the project before running tests. pnpm pack also builds automatically through prepack. Building this project does not automatically update a running DSH page.

The built lib/ artifacts are committed to the repository. Do not delete or ignore them. When pnpm installs a dependency from a git source, it checks whether the file main points to (lib/index.js) exists. If it does not, pnpm requires build scripts and allowBuilds authorization; if it does, pnpm skips the build stage. Keeping lib/ committed allows installation from GitHub without build approval. prepack rebuilds the package when packing.

After changing src/, run pnpm run build and commit the updated lib/. Tests compare the artifacts against a fresh build and fail when they are stale.

Automatic peer dependency installation is disabled. The target environment supplies the DSH host. The supported version range is listed in the installation section above.

Releasing

Pushing a v-prefixed tag triggers GitHub Actions. The workflow verifies the version, extracts the release notes, checks the committed artifacts, and runs tests. If those checks pass, it packs and publishes the public npm package, then creates the GitHub Release.

Before releasing, update the package version and changelog, and commit the source and lib/. The tag must match the package version. In the npm package settings, configure Trusted Publishing for GitHub Actions (yuhhhong, dsh-skill-status, workflow release.yml) and allow npm publish. No NPM_TOKEN is needed.

git tag -a v0.1.7 -m "Release v0.1.7"
git push origin v0.1.7
File Purpose
src/analyze.js Official-load recognition, body completeness checks, history merging, and counting
src/monitor.js Session observation, source checks, and long polling
src/index.js Host event subscriptions, status queries, and translation routes
src/client.jsx Header entry, right sidebar, body switching, and translation settings
src/translation.js Translation requests, successful chunk caching, and cancellation
src/translation-text.js Body splitting and preservation of code, paths, and similar fragments
src/translation-runtime.js Translation version detection and configuration schema
src/translation-client.js Translation progress, retries, and client state
scripts/build.mjs Host and DSH client module builds
scripts/release-notes.mjs Extracts the Release body for the package version from the changelog
lib/ Committed build artifacts, so git installs need no build approval

License

Licensed under the MIT License. Copyright (c) 2026 yuhong.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.