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), with the upstream skills, playbooks, and reference documents included.
- Start from a task. Use
/poteto-modefor the full workflow, or choose a skill for a specific job. - Choose models by role. Set each role's provider, model, and reasoning effort, or use the parent Session's model.
- Coordinate subagents. Delegate implementation, read-only research, and review; optionally use Agent Teams to track shared work.
See Port verification for results from real DSH Web sessions and the runtime mapping for how Cursor capabilities map to DSH.
Important
Requires DSH >=0.2.3-alpha.3 and Node.js >=24.22.3. See Compatibility for each release's supported DSH range.
-
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.
You can start with the parent Session's model. To choose models by role or keep the workflow active on every turn, see Configuration.
| 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 from the keyboard.
In Role models, choose a provider, model, and reasoning effort for each role, then save the changed row or use Save all. Adjust budget lets you preview and apply reasoning levels across roles.
You can also run /setup-pstack in a Session to discover available models and configure 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, with the available reasoning efforts and defaults for each route. |
The package ships three child presets for delegation. You do not need to switch the parent Session's preset to invoke pstack skills.
| Preset | Use |
|---|---|
poteto-agent |
Handles implementation delegation with the pstack persona and poteto-mode instructions. |
comment-sicko |
Handles read-only comment review and reports deletion targets and MUST KILL symbols. |
readonly |
Provides a sandbox-enforced read-only researcher for inspection and evidence gathering. |
These skills extend pstack with 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 |
Clean 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. |
decision-write |
Record a design choice, its rationale, and its implementation evidence through a traceable lifecycle. |
decision-audit |
Check decision-record status, scope, implementation anchors, and supersession as design history grows. |
setup-project-docs |
Establish architecture, glossary, decision conventions, and pointers for a project's documentation. |
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 |
Runs a foreground loop, starting a fresh subagent each round. |
These optional bundles ship with DSH. You can also enable them through Plugins β Add plugin; follow any restart prompt. See each plugin's help for runtime requirements and the DSH 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; a new release does not imply every scenario was rerun. See the run guide to reproduce a scenario.
The main differences from running pstack in Cursor are listed below.
| 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 requiring Cursor's cloud services are skipped. |
| Bugbot | Cannot start, configure, or wait for Bugbot. You can still handle existing Bugbot comments as PR reviews. |
| PR workflows | The agent uses gh and Git commands. The optional forge plugin provides worktree tools and a PR panel. |
| Diagrams and media | Standard DSH displays images and SVG inline; Mermaid remains text, and audio/video appears as file cards. Use project tools or external renderers to produce 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. That saves the preference that preset names use when the host starts.
The model sometimes picks the wrong tool or path
Retry the step. If the behavior repeats, file a model behavior report with the command or prompt, retry results, and frequency. The adapter can reduce these mistakes but cannot guarantee that the model always follows 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, and confirm the repair queue. Restart DSH to apply the repair.
Releases are grouped by their 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. It is the foundation of this port.
- DeepSeek Harness, developed by the DeepSeek team. It is 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-agentsandretroskills.
Source revisions for bundled third-party skills are recorded 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.








