DeepSeek Harness 插件

dsh-flash-godmode

V4 Flash 神模式 v0.2(opencode-go 适配版)——w7 persona(分类/回顾/反跑题锚)+ 首轮工具锚定 + 按任务复杂度的深度/快速引导分派(agent/inbox/spliced 捕获,headless 首轮可用)。(英文原文)

跳到安装方式

来源信息

GitHub 仓库
Cavan-Ou/dsh-flash-godmode
最近更新
2026年8月18日
分类
自动化与任务
GitHub stars
0
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/Cavan-Ou/dsh-flash-godmode
插件名:dsh-flash-godmode
作者:Cavan-Ou

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器4 个文件
README.md来源说明 · 只读预览
README 语言

dsh-flash-godmode

V4 Flash "god mode" for DeepSeek Harness: w7 persona anchoring + first-turn tool anchoring + complexity-dispatched guidance — turn Flash's unstable thinking into reproducible capability.

!MIT !DSH ![dsh-plugin](https://github.com/topics/dsh-plugin)

> 简体中文版见 README.zh.md

V4 Flash on reasoning: max is powerful but unstable: it over-thinks simple tasks, under-thinks complex ones, and drifts mid-session. This plugin turns that instability into a routed capability, using the measured persona bands from dsh-router-standard:

  • w7 persona (author-measured Flash optimum) — neutral identity + classify-then-act instruction + recall/anti-runaway anchors. No deep-thinking sentence baked in (author's correction: per-message guidance is negative on related-task chains, P21).
  • Complexity-dispatched guidance — complex tasks get the decision-closure deep guide, simple tasks get the fast-convergence guide. Dispatched on the very first request, thanks to a capture path that works on headless (see below).
  • First-turn tool anchoring — the first request sees only the core tool set (read/write/edit + shell); after the first durable tool call the full catalog is exposed.

Dependencies: DSH 0.1.x (headless profile) + any openai-completions provider (built and tested with the opencode-go channel, deepseek-v4-flash, reasoning: max).

---

Why the capture path matters

The author's own router reads the first user message via user/message events. On headless, that event lands after the first prompt assembly — too late for the path-committing first request. This plugin listens for agent/inbox/spliced instead, which carries the task text before the first assembly (verified on rc.6 headless). Result: the guidance decision is present on request #1, where it counts.

Quick start

# bundle install (recommended)
dsh plugin --profile headless add github:Cavan-Ou/dsh-flash-godmode

# verify: run any task; stderr shows the dispatch decision
dsh --profile headless "简单任务:运行 python3 -c 'print(1+1)' 并报告输出" 2>&1 | grep godmode
# → [godmode] taskLen=NN complex=false guide=fast mode=weak

Flash models are routed to weak mode automatically (model-id detection). Non-Flash models fall back to keyword task classification (react/spec/weak).

What's inside

lib/
├── router-core.mjs        # pure routing logic: personas, bands, complexity heuristic, task classification (zero deps)
└── router-bootstrap.mjs   # Cordis plugin: task-text capture, guidance dispatch, tool anchoring
tests/
└── router.test.mjs        # node:test unit tests (11 cases)

Observed results

ResultEvidence
Complexity dispatch works end-to-end on headless2026-08-18, three real runs: simple task → guide=fast (1-step convergence); refactor/architecture task → guide=deep (decision-closure guide, deep analysis proceeded); multi-turn write+run task → completed correctly with tool anchoring intact. 3/3 passed
Environment-check rumination suppressed2026-08-15 five-anchor experiment: echo/whoami/uname/node --version/date calls recognized as wasted turns and suppressed via the anti-runaway anchor (now also a global rule in the workspace's ~/.dsh/AGENTS.md)
Zero tool failures across real sessionsObservation journal, 2026-08-15/16: 8 sessions, 129 tool calls, 0 failures
w7 persona is the measured Flash optimum (author-published)dsh-router-standard: discrimination +5.67 (P11), single-task completion 100% (P23), decision-closure deep guide: depth +12% with faster convergence 8.0 vs 8.3 steps (P30)

Known edges

  • The complexity heuristic (text.length > 120 or architecture keywords) is the author's original — a filename like analyze.py counts as complex. False positives lean toward the safe direction (deep guide, not no guide).
  • If the agent/inbox/spliced capture fails on a future DSH version, the plugin falls back to the bare w7 persona (no guidance) — safe per P23, and the task still runs.
  • All author-measured numbers above come from the official DeepSeek API; this plugin was verified on the opencode-go channel (same weights, different serving) — see the local runs in the table.

Relationship to dsh-routing-suite

dsh-routing-suite is the author's full kit (runtime injector + router presets) aimed at the web profile (PowerShell installer, preset selection per session). This plugin is the headless-native single-plugin form: installable via dsh plugin add, no installer script, first-request guidance on headless (which the suite's own issue tracker flags as not taking effect on rc.6).

Contributing

This plugin grows from real use. Hit an edge not listed here? Open an issue with the incident (symptom → root cause → fix). PRs welcome in Chinese or English.

License

MIT — with attribution to dsh-router-standard (MIT), whose measured persona bands and guidance texts this plugin builds on.

---

Built by running real tasks on headless, not by reading docs.