Bring pstack's rigorous agent workflows to DeepSeek Harness
English Β· δΈζ
| 59 pstack skills |
22 playbooks |
4 plugin tools |
3 subagent presets |
π Quick start Β·
β¨οΈ Commands Β·
ποΈ Configuration Β·
π§© Capabilities Β·
dsh-pstack brings pstack's planning, implementation, review, and verification workflows to DeepSeek Harness (DSH), including the upstream skills, playbooks, and reference documents.
- Start from a task. Use
/poteto-modefor the full workflow, or a skill for one job. - Choose models by role. Set each role's provider, model, and reasoning effort, or inherit the parent Session's model.
- Coordinate subagents. Delegate implementation, read-only research, and review; optionally use Agent Teams to track shared work.
Real-session results are in Port verification; the Cursor-to-DSH mapping is in the runtime mapping.
Important
Requires DSH >=0.2.3-alpha.3 and Node.js >=24.22.3. Each release's DSH range is in Compatibility.
-
Install the plugin.
dsh plugin --profile web add dsh-pstack
You can also install it from the Plugins page in Web or Desktop.
-
Open a new Session. Restart DSH first if the installation reports that a restart is required.
-
Start a task. Invoke
/poteto-modeand describe what you want to build or fix. Use/poteto-helpto explore the workflows.
Use PStack skills to find and invoke manual skills for tasks outside the workflow.
| Task | Commands |
|---|---|
| Help | /poteto-help |
| Configure role models | /setup-pstack |
| Shape the request | /reframe, /sharpen |
| Plan and build | /poteto-mode, /architect, /arena, /swarm |
| Understand and investigate | /how, /why, /teach |
| Verify | /create-verification-skill, /statechart |
| Review and maintain | /show-me-your-work, /retro, /docs-drift |
Open Plugins β Installed plugins β pstack β Configure.
| Switch | Effect |
|---|---|
| Poteto workflow | Keeps the poteto-mode rules in the system prompt on every turn. Available under any preset except the built-in Minimal preset. |
| Use Agent Teams | Makes pstack_subagent start teammates that can track shared work on the Team board. |
The switches are independent and can be enabled together. Change them for the current Session in the model and reasoning menu. Set defaults for new Sessions on the configuration dialog's General tab.
View workflow switches and keyboard shortcut setup
Current Session
Defaults for new Sessions
Use Default for new sessions and Default Agent Teams for new sessions on the General tab.
Keyboard shortcut
Assign Toggle Poteto workflow in Settings β General β Shortcuts to toggle the current Session's Poteto switch.
In Role models, choose a provider, model, and reasoning effort for each role, then save the changed row or use Save all. Adjust budget previews and applies reasoning levels across roles.
/setup-pstack in a Session also discovers available models and configures roles. Both paths save to $DSH_HOME/pstack/models.json; an unconfigured role uses the parent Session's model and reasoning effort.
The agent uses these tools during workflows; you can start with the commands above.
| Tool | Function |
|---|---|
pstack_subagent |
Starts a subagent with the selected preset, model, and reasoning effort. |
pstack_interrupt |
Stops a pstack subagent's current turn. |
pstack_models |
Lists the providers, models, and reasoning efforts this deployment serves. |
pstack_roles |
Reports each role's configured routes, served reasoning efforts, and defaults. |
The package ships three child presets for delegation. The parent Session's preset does not need to change to invoke pstack skills.
| Preset | Use |
|---|---|
poteto-agent |
Implementation delegation with the pstack persona and poteto-mode instructions. |
comment-sicko |
Read-only comment review; reports deletion targets and MUST KILL symbols. |
readonly |
Sandbox-enforced read-only researcher for inspection and evidence gathering. |
These skills add authoring, project-maintenance, and evidence-gathering workflows.
| Skill | Use it to |
|---|---|
writing-for-agents |
Write or review skills and agent instructions such as AGENTS.md and CLAUDE.md. |
retro |
Review a coding session's environment for improvements to navigation, checks, conventions, tools, and information access. |
deslop |
Remove unnecessary comments, defensive code, casts, and nesting from a diff without changing behavior. |
control-ui |
Drive a local Web, IDE, or Electron interface and capture visual or accessibility evidence. |
control-cli |
Drive an interactive CLI or TUI and capture terminal transcripts or performance evidence. |
domain-modeling |
Clarify domain terms, update the glossary, and record the reasoning behind architectural decisions. |
setup-project-docs |
Set up the architecture guide and instructions for finding the project's glossary and decisions. |
docs-drift |
Audit maintained documentation and repair approved drift, redundancy, and unsupported claims. |
Enable these capabilities as needed in Configure β Recommended plugins. Enable all applies only to the Recommended group: worktrees/PRs and Session history.
| Use case | Plugin | Capability |
|---|---|---|
| Worktrees and GitHub PRs | @deepseek-ai/dsh-experimental-forge-bundle |
Worktree tools and a panel for pull requests, checks, and diffs. GitHub status requires a logged-in gh. |
| Session history | @deepseek-ai/dsh-experimental-session-search |
Search and read past sessions, including subagents, whose working directory exactly matches the current Session. |
| Desktop verification | @deepseek-ai/dsh-cua-bundle |
Desktop control in macOS and native Windows PTC sessions; available actions depend on the platform. |
| Persistent terminals | @deepseek-ai/dsh-experimental-terminal-bundle |
Persistent shell and REPL sessions for CLI and TUI verification. |
| Autonomous loops | @deepseek-ai/dsh-experimental-ralph-bundle |
A foreground loop that starts a fresh subagent each round. |
These bundles ship with DSH and can also be enabled through Plugins β Add plugin; follow any restart prompt. See each plugin's help for runtime requirements and the adaptation guide for unavailable capabilities.
The validation results compare native DSH with the adapted plugin using real Web sessions. Each scenario records its latest test date, conclusion, and screenshots, and the run guide reproduces it; a new release does not imply every scenario was rerun.
The main differences from running pstack in Cursor:
| Area | Behavior in DSH |
|---|---|
| Cursor cloud services | Cursor Automations, webhooks, SendToUser, cloud agents, and persistent Projects are unavailable. Worktrees and local scheduling cover local tasks; steps that need Cursor's cloud services are skipped. |
| Bugbot | Cannot start, configure, or wait for Bugbot. Existing Bugbot comments remain ordinary PR review threads. |
| PR workflows | The agent uses gh and Git commands. The optional forge plugin adds worktree tools and a PR panel. |
| Diagrams and media | Standard DSH displays images and SVG inline; Mermaid stays text, and audio/video appears as file cards. Use project tools or external renderers for files. See the video playback results. |
Preset names show in English
Set the language to Chinese in Settings β General β Language, then restart DSH. The row may already show Chinese because it follows the browser; select Chinese again to save the preference preset names use at host start.
The model sometimes picks the wrong tool or path
Retry the step. If it repeats, file a model behavior report with the command or prompt, retry results, and frequency. The adapter reduces these mistakes but cannot make the model always follow it.
An older Session fails to load after upgrading
If the error mentions a poteto/mode event, open Configure β Repair β Scan and repair, scan Sessions, select the affected ones, confirm the repair queue, and restart DSH.
Releases are grouped by supported DSH range. Each table lists the dsh-pstack releases and the pstack version each bundles.
DSH >=0.2.3-alpha.3
| dsh-pstack release | pstack version |
|---|---|
0.6.0-rc.2 |
0.15.49 |
DSH >=0.2.3-alpha.2
| dsh-pstack release | pstack version |
|---|---|
0.6.0-rc.1 |
0.15.48 |
DSH >=0.2.2-rc.2
| dsh-pstack release | pstack version |
|---|---|
0.5.2 |
0.15.43 |
Older DSH baselines move to compatibility history.
Setup, the pull request check, commit and localization rules, and the merge requirement are in CONTRIBUTING.md. Bug reports are most useful with the DSH version, the dsh-pstack version, and the command or session that failed.
- pstack, designed and open-sourced by Lauren Tan and the Cursor team; the foundation of this port.
- DeepSeek Harness, developed by the DeepSeek team and the host platform for this plugin.
- cursor-team-kit, the source of the vendored
deslop,control-ui, andcontrol-cliskills. - mattpocock/skills, the source of the vendored
writing-for-agents,retro, anddomain-modelingskills.
Source revisions for bundled third-party skills are in skills/skills-lock.json. This project is a community port, not an official Cursor or DeepSeek release.
If this project saves you time, you can buy me a coffee.
Original dsh-pstack code and documentation use the MIT license Β© leiwang. Bundled upstream projects and vendored skills use their upstream licenses. See Credits.









