nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Grampusworld/dsh-prompt-optimizor
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness plugin that puts a small ✦ button next to the composer: one click rewrites the draft into a tighter prompt with the model you pick, a second click puts the original back.
@-reference placeholders are skipped with a hint instead of being rewritten, so references are never dropped.The button sits at the bottom-right corner of the composer:

dsh plugin add github:Grampusworld/dsh-prompt-optimizor
From a local checkout, use the plugin manager instead:
plugin_manager action=install_bundle target=/absolute/path/to/dsh-PromptOptimizor
Reload after editing the source: disable and re-enable the plugin (or refresh the page).
| Field | Meaning | Default |
|---|---|---|
| Mode | Built-in model (uses the models already configured in Harness, no API key needed) or Custom OpenAI-compatible API |
Built-in |
| provider / model | Used in built-in mode; the list comes from Harness' own model catalog | deepseek-official / deepseek-flash |
| Reasoning effort | Model default / off / low / high / max; falls back to the model's default when unsupported |
off |
| Base URL / Model name / API key | Used in custom mode; any service that accepts POST {base}/chat/completions |
empty / deepseek-chat / empty |
| Polishing prompt | System instruction sent to the model; saving an empty value restores the default | built-in "prompt compressor" prompt |
| Max characters | Requests above this are refused with a hint instead of being sent | 8000 |
| Request timeout | Milliseconds | 60000 |
Save and test saves first, then runs a sample prompt end to end and shows the before/after.

index.js) registers /api/prompt-optimizor/{state,catalog,optimize,test}. The routes accept loopback peers only, require application/json on POST, and cap request bodies at 256 KiB. Two polishing paths:ctx.llm.stream, so it uses the providers Harness already has;/chat/completions endpoint.client.js) mounts the button into conversation.input.right (rewriting the draft through inputActions.setDraft) and the settings panel into plugins.bundle.config.settings service under the namespace dsh-prompt-optimizor; the schema is declared with schemastery, so no manual package.json or cordis.patch.yml edits are needed.The API key is stored in your local Harness profile configuration and is never sent back to the page — GET /api/prompt-optimizor/state only answers hasApiKey. Requests go from your machine straight to the provider you configured.
node --check index.js && node --check client.js
MIT.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: prompt-optimizer。