Minglink/dsh-jailbreak-workflow
DSH 破甲词制作作工作流
What it is
dsh-jailbreak-workflow is a workflow plugin for DeepSeek Harness (an AI assistant tool). It lets you design a multi-step process visually on a canvas, then compiles that design into a single text "plan prompt" that the AI model follows to execute the steps. The tagline is Canvas → Plan prompt → Model execution.
Notably, the plugin has no execution engine of its own — the model in your current chat session does all the scheduling, branching, and judging. Connections between steps can carry arbitrary conditions, so sequential, parallel, merge, branch, loop, and rollback flows are all supported.
The flagship workflow: "破甲制作" (Jailbreak Creation)
The project ships with one ready-made workflow: a 15-step automated pipeline for LLM jailbreak research. It runs:
- Probe testing — 200+ probes covering three architectures (identity systems, hybrid frames, lightweight)
- Refusal pattern analysis
- Custom jailbreak word generation
- API verification
- Three-piece output — a jailbreak word file + a user manual (frame matrix + pushback word library) + a research report
It bundles a jailbreak-research Skill containing 10 test scripts and 4 prompt templates. The workflow is downloaded as a .wflite.zip package and imported via the "Workflow Center."
Installation
- Web version: requires Node.js 22+. Run two commands:
dsh plugin --profile web add @xiaoso/dsh-workflow-lite, thendsh web. - Desktop version: open the Plugins sidebar → Add Plugin → Install Third-Party Plugin → enter
@xiaoso/dsh-workflow-lite→ restart DeepSeek Harness.
Compatible with DeepSeek Harness 0.2.0 and 0.2.1 (including previews like 0.2.1-rc.2). After install, a "Workflow" tab appears at the top of the chat page.
How you use it
- Let the model create it: describe a flow in plain conversation (e.g., "write code, review it, fix if it fails, max three rounds") — the model builds the workflow and it appears on the canvas. Then click "Execute" or ask the model to run it.
- Manual editing: open the Workflow tab, drag steps from a left-side library onto the canvas, fill in prompts, and connect them with lines. Then execute.
- Progress tracking: enable "Record run status" in settings — each run generates a record and the canvas updates live as steps complete.
Key features
| Feature | What it does |
|---|---|
| Canvas editing | Drag steps and connections; supports pass/fail branches and loops; one-click layout cleanup |
| Resources | Attach files, folders, URLs, or Skills to individual steps |
| Pre-execution questions | Ask the user for needed info before running; answers go into the plan prompt |
| Model collaborative editing | The model can create or modify workflows; canvas syncs in real time |
| Run status | Progress shown live on canvas; view per-step summaries, adjust status, notify the model |
| Canvas display (experimental) | Dashboards, images, docs, logs, tables, folders render directly on the canvas and auto-update during execution |
| File preview | Click any resource to view it — Markdown, HTML pages, images; folders show in two columns |
| Version management | Save versions, add notes, compare diffs, switch anytime |
| Import/export | Package a workflow + selected versions into .wflite.zip, optionally including files and Skills; import previews where each item will go |
| Export as Skill | Compile a version into a standalone Skill (SKILL.md + per-step task descriptions + files) that works without the plugin — download a zip or install to ~/.agents/skills |
| Memory (experimental) | The workflow records successful approaches and pitfalls as a Skill, then follows them on future runs; manageable in a Memory page, exportable with the workflow package |
| Workflow Center | Central management of execution records, all workflows, versions, and plugin settings |
| Interface | Four light and four dark color themes, auto-switching with DSH; Chinese/English |
Path variables
Two variables let you write portable paths:
{workflow}— for resource file/folder paths (e.g.,{workflow}/refs/notes.md). Resolves to the workflow's own directory (default~/.dsh/workflow-lite/assets/<workflow name>/). Same data regardless of which workspace runs it; travels with the workflow on export.{instance}— for the output root directory (e.g.,.workflow-lite/runs/{instance}/out). Resolves to the current execution's instance ID, so each run's outputs stay separate.
Old {assets}/... paths still work and auto-convert to {workflow}/... when opened.
Experimental status & caveats
The project is explicitly experimental — features and data formats are still changing, and any future version may break compatibility. Two features are flagged as experimental: canvas display and workflow memory.
Workflow memory has known limitations: concurrent runs editing the same memory have no locking (last write wins), and re-exporting/overwriting an installed Skill will overwrite accumulated memory. The README also honestly notes that early repeated-run tests showed no stable speedup; a "quick path" mechanism was added later, but its usefulness still needs validation on real workflows.
How it works (three steps)
- Design — arrange steps on the canvas, write a prompt for each step, describe flow with branches and loops.
- Compile — the plugin turns the workflow into one plan prompt stating execution order, loop conditions, and each step's inputs/outputs.
- Execute — the model decides how to carry it out (directly, by dispatching sub-agents, or forming a team) and syncs progress back to the canvas.
No extra services or execution engines are needed — just the plugin and the model in your current session.
Related
- Project
- Project
- Project
- Project