DeepSeek Harness plugin

dsh-skill-trail

DSH-Plugin: per-reply skill trail — truthful per-turn triggered/used tool & skill badges, folded from the session log (no model self-reporting).

Jump to install

Source facts

Repository
Bryan-cmf/dsh-skill-trail
Latest update
Aug 15, 2026
Category
Memory
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/Bryan-cmf/dsh-skill-trail
Plugin: dsh-skill-trail
Author: Bryan-cmf

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

🧩 Skill Trail — DSH-Plugin

> 每條回覆如實標出「觸發了什麼、成功用了什麼」。 基於引擎日誌的逐回覆技能/工具徽章,零模型自報。

![npm](https://www.npmjs.com/package/@bryan-cmf/dsh-skill-trail) ![License: MIT](LICENSE) ![DSH](https://github.com/deepseek-ai/deepseek-harness) !Topics

A DeepSeek Harness (DSH) plugin that renders a compact trail under every assistant reply: which skills were triggered (🧠) and which tools were actually used (✓) or failed (✗).

🧩 技能軌跡  [🧠 ak-hk-stock-dd ✓]  [read ×3 ✓]  [bash ×2 ✓]  [web_search ✗]

Why it is truthful

The badges are not produced by the model. A skillTrail session-projection unit (Host) folds each session's committed log — every tool/call event becomes a triggered entry; the paired tool/result (matched by callId) settles it as ok / err. The Client reads the finished value through useProjection('skillTrail') and renders it in the zero-risk conversation.chat.turnTail slot.

  • ✅ Structural — the platform records, nobody self-reports
  • ✅ Replayable — projection folds are pure; persisted cache + cold-start

backfill come from the DSH projection subsystem for free

  • ✅ Per-turn — each reply shows exactly its own turn's trail
  • ✅ Skill-aware — skill tool calls render as 🧠 with the resolved skill name

Install

The package ships a Host half (lib/index.js) and a browser Client half (lib/client.js, window.__ModuleLoader__ closure-factory format).

Path A — Host composition (always-on, every session & preset)

Add to the profile's package.json:

"dsh": { "profile": { "bundles": ["@bryan-cmf/dsh-skill-trail"] } }

then install and restart DSH. The projection unit is registered process-wide; the client half renders in every conversation.

Path B — Agent preset

Add one row to your preset's agent.cordis.yml (a consumer-only row — it publishes no service, so it sits loose; no isolate realm needed):

- id: skill-trail
  name: '@bryan-cmf/dsh-skill-trail'

Path C — Dynamic experiment

Inside a session, @bryan-cmf/dsh-skill-trail can also be run through the dynamic Cordis flow; prefer A or B for anything standing.

Requirements

  • DSH >= 0.1.0-rc.6 (@deepseek-ai/dsh-session-projection mounted in the

host composition — it is part of the shipped dsh-base bundle)

  • Browser UI needs the conversation.chat.turnTail slot (shipped chat view)

Configuration

KeyDefaultMeaning
maxTurns500Turns retained per session; oldest pruned first
maxCallsPerTurn50Triggered-entry cap per turn (wire-payload guard)

Projection value

useProjection('skillTrail')Record<turn, { triggered, used, failed }>

{
  "12": {
    "triggered": [{ "name": "skill", "skill": "ak-hk-stock-dd", "status": "ok", "callId": "call_1" }],
    "used": { "skill": 1, "read": 3, "bash": 2 },
    "failed": ["web_search"]
  }
}

Development

pnpm install
pnpm build        # tsc declarations → lib/types + tsdown → lib/{index,client}.js

License

MIT