rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:goodjin/dsh-superpowers
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Run Superpowers — spec-driven development — as a DeepSeek Harness agent preset, with a different subagent model for every skill, chosen from a Settings page.
The problem it solves: Superpowers is a heavily skill-based methodology, but in a
default harness every subagent runs on whatever model the parent is using. Running
systematic-debugging on a big model and writing-good-tests on a cheap one is the
obvious thing to want, and there is no first-class way to get it.
| A preset, not just a plugin | Ships the 15 Superpowers skills and the persona that makes the agent actually follow the six-phase method |
| Per-skill model settings | A Superpowers section in Settings: one dropdown per skill, plus a row for subagents that aren't bound to a skill |
| One dispatch tool | delegate_skill — reads the table, starts the child on that model, names the child session after the skill |
| The model is visible | A subagent's composer shows which model it is actually running on, read-only |
| It cannot break your install | The host row is fault-tolerant by construction; DSH starts and stays usable even if this plugin fails entirely |
Two halves, two steps. The plugin is global — Settings section, model table, tool module, self-check. The preset is the selectable mode — skills, persona, tool rows. On DSH 0.2.x the preset ships WITH the package as a declaration row, so installing is all it takes.
From GitHub (the package is not on npm — install straight from the repository):
dsh plugin --profile web add goodjin/dsh-superpowers
That is the whole install: Superpowers appears in the preset selector.
(Older DSH builds read the preset from ~/.dsh/.agent-presets/superpowers/;
0.2.x does not, so there is no directory to copy.)
To make it the default preset:
agent-presets:
default: superpowers
Otherwise just pick Superpowers from the preset selector in the UI.
Re-running the install command updates everything — the plugin half and the preset, which travels with the package. There is no copied directory to keep in sync.
Open Settings → Superpowers. Each row is one skill; the last row covers subagents dispatched without a skill. Choices are read on the next dispatch — no restart, no preset edit.
Routes are stored in the profile patch's superpowers-delegation-settings
loader row (DSH 0.2.x keeps plugin config there, not in settings.yaml), so you
can also edit them by hand in cordis.patch.yml:
- id: superpowers-delegation-settings
name: "@goodjin2/dsh-superpowers"
config:
defaultProvider: minimax-cn
defaultModel: MiniMax-M3.1-Flash-Preview
skillModels:
verification-before-completion:
provider: xiaomi-token-plan-cn
model: mimo-v2.6-pro
Values set in settings.yaml before upgrading are migrated automatically on
first boot — the migration only fills fields you have not already set, so it
never overwrites a later hand-edit.
Resolution order per skill: the skill's own pin (including「复用主会话模型」,
which is stored as a sentinel and omits agentOptions so the child uses the
parent session's model), then the default pair from the「其他子代理」row (same
sentinel supported), then nothing — which also inherits the parent's route.
Settings「跟随默认」on a skill row clears that skill's pin so the default pair
applies; it is not the same as「复用主会话模型」, which is honored even when a
default pair is configured.
node ~/.dsh/profiles/web/node_modules/@goodjin2/dsh-superpowers/scripts/check.mjs 3080 <token>
The token is in the URL you opened DSH with; it changes on every restart. The check reports each host-side dependency this plugin has, individually. After a DSH upgrade, run it first — see below.
The key line is route.exists: it POSTs the browser channel directly. When the
host half silently failed to register its route (the bug fixed in v0.2.1), the
row stayed "active", nothing logged anything, and only this probe could see the
404. Do not skip it.
DSH has no per-plugin version pinning: the plugin is resolved from the profile at start. A DSH upgrade that moves an internal API produces no error — the server boots and this feature quietly stops working. That is the failure mode this plugin was built to survive rather than to prevent.
Supported DSH versions: >=0.1.5-rc.2 <0.3.0 (declared in peerDependencies
as @deepseek-ai/dsh-tools). Outside that range the Desktop plugin panel marks
the plugin incompatible and blocks activation — that gate is the only signal this
plugin gets when DSH moves under it.
If the check reports a failure, the item name tells you which dependency moved.
| Path | |
|---|---|
lib/index.js |
Host row: settings namespace, the browser channel, the self-check endpoint |
lib/client.js |
Browser row: the Settings section, the composer model label |
lib/skill-delegation.js |
The delegate_skill tool |
lib/settings-schema.js |
The stored settings shape and route resolution |
cordis.patch.yml |
The two composition rows this plugin adds |
preset/ |
The agent preset and the 15 Superpowers skills |
scripts/check.mjs |
Post-upgrade compatibility check |
scripts/test.mjs |
Load-safety and degradation tests, run in the checkout and against the installed copy |
MIT — see LICENSE. The bundled skills are from obra/superpowers, also MIT; see THIRD_PARTY_NOTICES.md.
This repo participates in the container's DSH version-correspondence mechanism: every
plugin repo carries tags named dsh-<dsh版本> (e.g. dsh-0.2.2-rc.1), each an annotated
tag recording the dsh version it was verified against, the check result, and the date.
The tag is the immutable "known-good coordinate" of that dsh version — a snapshot of
main taken the moment the whole-plugin row check went green on every installed host.
repo#ref — a git tag is already the furthest installable form, so
no npm publish or GitHub Release is needed.scripts/pin-to-dsh.sh 0.2.2-rc.1 (from the container) checks out the
tag in every repo at once; scripts/check-host-rows.mjs --report shows which repos are
on the anchor for the running dsh version.tag**; it is a rollback coordinate. A follow-up fix on the same dsh version adds a-p2(then-p3`) suffixed tag instead.AGENTS.md for the full flow.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。