dsh-skill-center: Browsing and Managing Session Skills within DeepSeek Harness

Introduction

In DeepSeek Harness (DSH), skills come from multiple root paths such as plugin-embedded sources, project directories, and user directories. Whether a model can load a specific skill via the skill tool depends on the invocation policy defined in the frontmatter. Relying solely on manually editing SKILL.md and YAML headers in an editor makes it difficult to clearly see “which skills are currently visible in the session, where they come from, and whether their toggles are active.”

This article introduces the community plugin dsh-skill-center (npm package name @restregular/dsh-skill-center, plugin ID dsh-skill-center / skill-center). It provides a “Skill Center” panel in the DSH client sidebar, consolidating browsing, scope switching, content reading, invocation toggles, creation, deletion, import/export, and a trash bin into a single interface. The maintainer is RestRegular; it is categorized as a client-side plugin. The community directory page is at skillhub.cn, and the source code and documentation are on GitHub.

What is this

In short: a Skill Center panel for DSH—browse and manage all skills visible within the current (or selected) session scope without leaving the app or manually editing frontmatter.

Note: The bare name dsh-skill-center is already taken by an unrelated project on npm. This plugin is published exclusively as @restregular/dsh-skill-center. You must use the full scoped package name for installation and bundle configuration; otherwise, the host side might mount while the client side is silently discarded (this is specifically detailed in the README).

Core Features

Browsing & Scope

  • List: Displays every skill visible in the current session scope, including plugin-embedded skills. Each entry shows the provider, source root path, and invocation policy.
  • Switch Scope: The toolbar Scope dropdown allows browsing skill scopes from other sessions grouped by working directory (archived and blank sessions are excluded). Selecting Auto (current session) follows the main view; selecting a specific session resolves the list and writes based on that session’s cwd and preset. If there are unsaved invocation toggle edits, scope switching is disabled to prevent carrying uncommitted changes to a different scope.
  • Search & Filter: Search by name or description; filter by provider source.

Reading & Invocation Policy

  • Read body: Renders the raw SKILL.md Markdown within the panel, eliminating the need for the right-hand resource pane.
  • Invocation switches: Toggle disable-model-invocation / user-invocable locally in real-time. Clicking Save (button states: Unmodified → Save → Saved) next to the toolbar writes the changes back to the frontmatter, and the host immediately pushes the updated directory to the model.
  • Read-only protection: Plugin-embedded skills (e.g., office-docx) are marked as embedded; toggles and deletion are disabled.

Create, Import/Export & Delete

  • Create: Creates a new <name>/SKILL.md in one of the two writable user roots. The form provides Create / Cancel buttons, with instructions available in the Write to field.
  • Export / Import: Export downloads the selected skill package as a .zip (containing SKILL.md and resource files; flat skills are <name>.md). Import skill accepts this .zip (single-layer wrapper directories are stripped) or a standalone SKILL.md. It rejects path traversal, duplicate names, and entries missing frontmatter name + description.
  • Delete: Moves the skill to .trash/<timestamp>-<name> under the same root. This is recoverable, not a hard delete.

Trash

The toolbar Trash lists .trash entries and deletion times under managed roots. Restore returns the skill to its original root (refuses if a skill with the same name already exists at the target). Delete in the details area permanently deletes after confirmation. Empty trash clears all recycle bins, also requiring a confirmation step.

Interaction & Feedback

The panel does not pop up success messages like “Saved / Created”: list changes and the three states of the save button serve as feedback. A red bar and retry option are shown only on failure.

Bundled: skill-authoring & skill_create

  • Embedded skill skill-authoring: The package’s skills/skill-authoring/ is registered via ctx.skills.registerProvider() and can be loaded by the model just like other skills in the session directory. It appears as embedded (read-only) in the panel. Its content covers skill root conventions, frontmatter contracts, resource file layouts, plugin-embedded skill explanations, and the templates/minimal/SKILL.md template.
  • Model tool skill_create: A single call writes <root>/<name>/SKILL.md and resource files to a specified root. It is suitable for skill root paths outside the session workspace where standard file writing tools are restricted by sandboxing. The write scope is the same as the panel: only the four managed roots, with path validation. Write requests from non-loopback origins return 403.

Write Locations: User Roots & Project Roots

The creation form offers only two user-level write targets (default: User Agents skills):

Option Path Scope Description
User Agents skills ~/.agents/skills ($DSH_AGENTS_HOME/skills) All Projects Cross-Agent convention; visible to other tools scanning this directory
User DSH skills ~/.dsh/skills ($DSH_HOME/skills) All Projects DSH only; rank 400, overrides ~/.agents/skills (rank 500) on name conflict

Project-level roots <projectRoot>/.dsh/skills (rank 100) and <projectRoot>/.agents/skills (rank 200) are not listed in the form but can be accessed via the API and skill_create using rootId. On name conflict, the project copy takes precedence over the user directory copy.

Installation & Activation

Runtime: Node >= 22.13.0 (see package.json). License: MIT.

From Plugin Market (GUI)

  1. Open Plugins in the sidebar.
  2. Search for @restregular/dsh-skill-center and install.
  3. Restart the host (or reload the profile) to allow the host side to mount.

Manual Installation

Execute inside the DSH profile directory (e.g., ~/.dsh/profiles/desktop):

pnpm add @restregular/dsh-skill-center

Add the package to the profile’s bundle list and restart:

// <profile>/package.json
{
  "dsh": { "profile": { "bundles": [/* … */ "@restregular/dsh-skill-center"] } },
  "dependencies": { "@restregular/dsh-skill-center": "^0.3.11" }
}

The package includes cordis.patch.yml, so manual loader changes are generally not needed: it inserts the host plugin (id: skill-center) and the client side. The “Skill Center” sidebar entry is positioned below “Plugins” (order: 1 in sidebar.panellist).

Uninstallation: Remove the package from bundles and dependencies, then restart.

Typical Usage

  1. Daily View: After installation and restart, click Skill Center in the sidebar, select a skill from the list, and use Read body to view the SKILL.md.
  2. Adjust Invocation: Toggle model invocable / user switches in the details area, and click Save after confirming.
  3. Compare Sessions: Select a target session in Scope, verify the visible skill set for that project or preset, then switch back to Auto (current session).
  4. Backup & Migration: Click Export on selected skills to get a .zip; use Import skill in another environment (mind name conflicts and frontmatter requirements).
  5. Recover Accidental Deletion: Open Trash and click Restore on the entry; permanently delete or click Empty trash only when sure it is no longer needed.

If the “Skill Center” does not appear in the sidebar after installation and restart, the README Troubleshooting section suggests checking in order: whether the bundle includes the full package name, whether dependencies are installed in the profile’s node_modules, and whether the client module is registered as @restregular/dsh-skill-center.

Use Cases & Notes

Who it is for: Developers who frequently debug Agent skills in DSH, need to visualize the “complete set of session-visible skills,” or want to minimize manual frontmatter editing.

Ecosystem Note: DSH advocates “everything is a plugin”; community directories like skillhub.cn are independent of DeepSeek / High-Flyer and are not official app stores.

Security & Permissions: The plugin runs with the current dsh process privileges. Write operations are restricted to existing managed skill roots. Please review the source repository and the MIT license before installing to ensure compliance with your environment and requirements.

Conclusion

dsh-skill-center centralizes session skill browsing, scope comparison, invocation policy, lifecycle management (including trash), and package-level import/export on the DSH client side. It also bundles skill-authoring and skill_create to facilitate human-model collaboration on skill authoring. For installation or technical details, please refer to the repository README:

  • Directory Page: https://www.skillhub.cn/plugins/RestRegular/dsh-skill-center
  • GitHub: https://github.com/RestRegular/dsh-skill-center
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye