deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:sishuai33-commits/dsh-anchored-standard-1024
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
An experimental DeepSeek Harness agent preset that bootstraps the first model
request with the Minimal-aligned system prompt, a two-tool schema
(bash + read), a 1024-token output cap, and no auto-injected workspace
or skill context — then exposes the complete Standard tool catalog after the
first durable tool call or reply.
This is a community project. It is not an official DeepSeek preset and is not affiliated with or endorsed by DeepSeek.
DeepSeek V4 Pro conditions strongly on the API-visible tool catalog and on the first request's shape. A full 25-tool Standard opening and a large output budget often push the model into a "survey everything first" trajectory; the Minimal opening anchors a "pick up the tool and start" trajectory but keeps only two tools forever.
This preset separates initial trajectory selection from later tool use:
bash + read only, maxTokens = 1024, and the
auto-injected skill catalog / workspace-instruction digest is stripped.tool/call or assistant/message),
the full Standard catalog and the normal output budget return and never
re-narrow.Key differences from the upstream xiaobright/dsh-anchored-standard:
| upstream | this preset | |
|---|---|---|
| bootstrap tools | bash + str_replace_editor |
bash + read |
| first-request output cap | adapter default | 1024 tokens |
| promotion signal | first tool call | first tool call or first reply (either) |
| first-request context | minimal | minimal + explicit source-based strip |
request #1 request #2+ (after promotion)
───────────────────────────── ─────────────────────────────
system: Minimal-complete system: unchanged (complete)
tools: [bash, read] tools: full Standard catalog
maxTokens: 1024 maxTokens: previous header value
skill catalog: stripped skill catalog: injected normally
AGENTS.md digest: stripped AGENTS.md digest: injected normally
Phase is derived from durable session events, so resume/reload preserves it. All three filters (catalog, budget, context) fail open: any filter error degrades to the full catalog instead of breaking the session.
Local experiment, 2026-08-16, deepseek-v4-pro, identical real task
("invest architecture root-cause research + remediation plan") run in two fresh
sessions — Standard preset vs this preset — then scored blind (anonymized
full-text review, reviewer did not know which document came from which preset):
| Standard | Anchored Standard (this preset) | |
|---|---|---|
| blind score (/100) | 82 | 94 |
| first-request tools | 25 tools, maxTokens 256000 | bash + read, maxTokens 1024 |
| tool calls | 51 | 85 |
| repeated reads | 0 | 2 |
Read this honestly: the anchored run scored higher and found three more real mechanism defects, but it also used more tool calls. This is a single sample on a single task type — evidence that the preset works as designed, not proof that it is universally better. Try it on your own workload and judge for yourself.
Clone this repository, then copy the preset/ directory into the user preset
root under the id anchored-standard-1024:
git clone https://github.com/sishuai33-commits/dsh-anchored-standard-1024.git
mkdir -p ~/.dsh/.agent-presets
cp -R dsh-anchored-standard-1024/preset ~/.dsh/.agent-presets/anchored-standard-1024
Restart DSH, open a new session, and select Anchored Standard (1024) in the session preset picker. You can verify the first request in the session log:
# inside a session dir: <session>.jsonl.zstd
# decompress and inspect the first request/header:
# config.maxTokens == 1024 and tools == ["bash", "read"]
Uninstall:
rm -rf ~/.dsh/.agent-presets/anchored-standard-1024
npm test
discoverPresets validation (same code path the
preset picker uses; catches broken rows / missing files). Requires a local
DeepSeek Harness install:npm run verify # node verify/check-preset.mjs
npm run check # syntax + unit tests + composition validation
session.jsonl.zstd: the first request/header must
have config.maxTokens == 1024 and tools == ["bash","read"]. CI does not
run this layer because it would need model credentials.preset/
preset.yml display metadata
agent.cordis.yml composition (persona, tools, skills, planning, ...)
tool-bootstrap.mjs the three first-request filters
test/
tool-bootstrap.test.mjs
MIT. This preset is derived from
xiaobright/dsh-anchored-standard
(MIT) — see NOTICE. DeepSeek Harness and its presets are © their respective
owners; this project is independent and experimental.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。