WestFox-AwA/dsh-prompt-optimizer
C2DSH 插件 · 注入式优化器 0.7(主线):你照常说话,它在你发送后,AI接收前把"这一轮到底要什么"理清楚,再把这份理解交给工作 AI(上下文注入) —— 原话不改写,条条带逐字依据。含控制界面(档位/权限/模型/上下文/只读工具)、拦截浮层(思维层+产出层)与真实 token 用量。可明显提升大多数模型的发挥稳定性,尤其DeepSeek-V4.1-Flash,可有明显提升
★ 50+ · WestFox-AwA/dsh-prompt-optimizer source on GitHub · this plugin in the registry
WestFox-AwA/dsh-prompt-optimizer is a DeepSeek Harness plugin rated C2 — one powerful capability or sensitive behavior. It patches the dsh runtime, command execution in build output only, executes commands in development tooling the package does not ship, base64 decoding in build output only.
Installable plugin — declares a dsh.bundle manifest
What it can do
| Capability | Flag | Evidence |
|---|---|---|
| patches the dsh runtime | runtime_patch | ./po06/cordis.patch.yml |
| command execution in build output only | exec_bundled | ×16 in build output only, e.g. po06/lib/verifier-html.js:28, po06/lib/verifier-html.js:314 |
| executes commands in development tooling the package does not ship | exec_tooling | ×28 in development tooling the package does not ship, e.g. po06/scripts/check-install.mjs:19, po06/scripts/check-install.mjs:19 |
| base64 decoding in build output only | base64_decode_bundled | ×1 in build output only, e.g. old/0.5/lib/index.js:3435 |
| network server in build output only | net_server_bundled | ×2 in build output only, e.g. po06/lib/verifier-html.js:254, po06/lib/verifier-html.js:255 |
Services it injects
locale slots timer tools webServer
Hooks it attaches
llm/stream session/event
Environment variables it reads
DSH_HOME LOCALAPPDATA USERPROFILE DSH_PO06_E001_ARMS DSH_PO06_E001_RUNS DSH_PO06_E001_BUDGET APPDATA DSH_PO06_SMOKE_OUT DSH_PO06_EVIDENCE_DIR DSH_PO06_SELFCHECK
How to read this
Levels measure capability surface and transparency, not maliciousness. A C3 plugin can be entirely legitimate — a desktop shell genuinely needs subprocesses. The point is that you can see this before installing. See the levels explained and how dsh plugins work.
Findings come from static analysis of shipped code; nothing is executed. Think a flag is wrong? Open an issue — every flag cites the file and line it came from.