DeepSeek Harness plugin

dsh-forge-activein

Skill self-forging for DeepSeek Harness: watch session traces, detect repeated successful tasks, and forge them into reusable skills.

Jump to install

Source facts

Repository
activeing123/dsh-forge
Latest update
Aug 18, 2026
Category
Memory
GitHub stars
1
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/activeing123/dsh-forge
Plugin: dsh-forge-activein
Author: activeing123

Check the source files

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

File explorer4 files
README.mdSource · read only
README language

dsh-forge — Skill Self-Forging for DeepSeek Harness

English | 中文

> **A plugin that makes your harness genuinely smarter over time — not by remembering conversations, but by forging skills from repeated successful work.**

dsh-forge watches the live session event stream of DeepSeek Harness, accumulates per-session traces (user intents + tool-call sequences + completion state), detects when the same kind of task has been completed successfully in 2 or more sessions, and then forges that successful path into a reusable skill:

1. the session trace is sent to the harness's own LLM, which distills a kebab-case skill name, one-line description, when-to-use guidance, and markdown step instructions; 2. the skill is written as SKILL.md into the workspace skills root (.dsh-forge/skills/<name>/SKILL.md, discoverable by the official filesystem provider — the file format matches @deepseek-ai/dsh-skill-filesystem); 3. the skill is registered with ctx.skills, so every future session can load it through the skill tool — you never have to explain that workflow again.

Why this is a plugin, not a prompt

A standalone agent can only perform tasks — it never sees the full session event stream of other sessions, it cannot write into the skill registry, and it cannot register a skill that all future sessions will see. This is host-level runtime evolution: only a Cordis plugin owns session/event, ctx.skills, and the filesystem writes that turn one session's success into all sessions' asset.

Features

  • 🎯 Automatic pattern detection — same normalized first intent completed in ≥ 2 sessions triggers a forge automatically.
  • ⚒️ Manual forge — a Web client furnace panel (tool.view.cordis, key self) with a “forge current session” button and live trace statistics.
  • 🤖 Agent-visible forge tool — a registered forge_skill model tool lets the agent itself trigger a forge mid-task.
  • 📦 Official skill format — writes SKILL.md with YAML frontmatter (name / description / whenToUse), exactly what the official filesystem skill provider scans.
  • 🔗 Zero external dependencies — uses the harness's own session/event, ctx.llm, ctx.fs, and ctx.skills; no cloud account, no private assets.

Real forged output

This plugin already forged two real skills from this session's own traces — both were written under .dsh-forge/skills/ and registered into the runtime skill catalog, proving the full loop end-to-end:

  • [forged-dsh-forge-plugin-implementation.SKILL.md](examples/forged-dsh-forge-plugin-implementation.SKILL.md) — distilled from the session that designed and built dsh-forge itself.
  • [forged-resume-powershell-workflow.SKILL.md](examples/forged-resume-powershell-workflow.SKILL.md) — distilled from a session that resumed an interrupted local workflow.

Quick start

As a dynamic plugin (current session)

In the DSH web UI, define and run the plugin from lib/index.js (host) + lib/client.js (client), then press ⚒ 锻造当前会话 in the furnace panel, or simply let two completed sessions with the same intent trigger the first auto-forge.

As an installed package

# cordis.patch.yml — add this row
- id: dsh-forge
  name: dsh-forge

then install via the profile:

dsh plugin --profile web add dsh-forge

Restart dsh web — the plugin listens for session/event immediately. The install is verified automatically: any dependency whose package.json declares dsh.bundle joins the profile's dsh.profile.bundles layer stack.

Configuration

SettingDefaultMeaning
skillsDir.dsh-forge/skillsWhere forged SKILL.md files are written (resolved per-session cwd).

Config is passed through the plugin row's config block in the profile patch layer, e.g.:

- insert:
    - id: dsh-forge
      name: dsh-forge
      config:
        skillsDir: '.dsh/skills'

Note: forged skills are also registered at runtime via ctx.skills, so they are visible to every live session regardless of the output directory. The filesystem copy persists them for the official dsh-skill-filesystem provider if the directory is within a discovered skills root (e.g. <projectRoot>/.dsh/skills or a customSkillDirs entry).

How it works

session/event ──► trace accumulation (intents, tool calls, turn completion)
      │
      ▼
pattern detection (same normalized intent, ≥2 completed sessions)
      │
      ▼
LLM distillation ──► JSON { name, description, whenToUse, content }
      │
      ▼
write .dsh-forge/skills/<name>/SKILL.md ──► ctx.skills.register(...)
      │
      ▼
every future session can load the skill via the skill tool

Roadmap

  • [ ] Forge threshold & scope configuration (per-workspace, per-task-type)
  • [ ] Forge preview/revert in the UI
  • [ ] Cross-machine skill sync via git
  • [ ] Skill quality feedback loop (did loading the forged skill actually help?)

License

MIT

Ecosystem

This is a community plugin for DeepSeek Harness. Tag your own plugins with the dsh-plugin topic on GitHub to make them discoverable. 探索未至之境.