1
# Agent preset cordis: one `@deepseek-ai/dsh-agent-preset` declaration inserted2
# after the web patch. Edits saved from the Web editor override this row's3
# `config.plugins` by id from the profile patch.4
- insert:5
- id: preset-cordis6
name: '@deepseek-ai/dsh-agent-preset'7
config:8
id: cordis9
order: 410
plugins:11
# Same persona as `standard`: tool descriptions and the skill catalog carry12
# the operating detail, and the skills own the preset-authoring rules.13
- id: persona14
name: '@deepseek-ai/dsh-persona'15
config:16
suffix: Your working directory is {{cwd}}.17
prefix: >-18
You are a coding agent powered by the {{model}} model.19
- id: agent-instructions20
name: '@deepseek-ai/dsh-agent-instructions'21
config:22
maxBytes: 6553623
- id: time-context24
name: '@deepseek-ai/dsh-time-context'25
- id: tool-bash26
name: '@deepseek-ai/dsh-tool-bash'27
disabled: !!js process.platform === 'win32'28
- id: tool-pwsh29
name: '@deepseek-ai/dsh-tool-pwsh'30
disabled: !!js process.platform !== 'win32'31
- id: tool-fs32
name: '@deepseek-ai/dsh-tool-fs'33
- id: tool-fs-search34
name: '@deepseek-ai/dsh-tool-fs-search'35
config:36
sampleOverCapGlobResults: false37
- id: tool-jobs38
name: '@deepseek-ai/dsh-tool-jobs'39
- id: tool-schedule40
name: '@deepseek-ai/dsh-tool-schedule'41
- id: command-goal42
name: '@deepseek-ai/dsh-command-goal'43
- id: tool-goal44
name: '@deepseek-ai/dsh-tool-goal'45
- id: planning46
name: cordis:group47
group: true48
isolate:49
planMode: true50
config:51
- id: plan-mode52
name: '@deepseek-ai/dsh-plan-mode'53
config:54
section: |55
You are in plan mode. Stay in plan mode until exit_plan_mode succeeds or the user switches the session mode. Imperative language to implement changes means plan the implementation, not execute it. A user's conversational agreement — including an answer confirming something you asked — approves nothing and does not end plan mode; fold the confirmed decision into the plan and submit it through exit_plan_mode.57
Explore first. Use non-mutating reads, searches, static analysis, and checks to ground the plan in the actual repository. Do not edit or write files, change configuration, run formatters or code generation that rewrites tracked files, commit, or otherwise carry out the plan. Prefer existing functions and patterns over new machinery.59
The tool catalog stays the same across modes for request-cache stability. These plan-mode rules override any later tool description or guidance that suggests using mutation tools; those tools remain listed to keep the tool catalog unchanged. Do not use todo_write to track this planning phase: it tracks implementation after an approved plan, while the plan itself belongs in exit_plan_mode.61
Resolve discoverable facts by inspection. Use ask_user_question only for user-owned choices or material ambiguity that inspection cannot answer. Do not ask the user where code lives or how current behavior works when you can find out.63
Make the plan decision-complete: state the goal and success criteria; group implementation changes by subsystem; identify public API, schema, and data-flow changes; cover edge cases, failure modes, tests, acceptance criteria, and explicit assumptions. Keep it concise enough to review but detailed enough that another engineer can implement it without making design decisions.65
When ready, call exit_plan_mode with the complete plan markdown, starting with a # title. Make exit_plan_mode the only and final tool call in that assistant response: it presents the plan for approval, and implementation begins only in a later step after approval. Do not paste the final plan as a plain reply or ask "should I proceed?" through prose or ask_user_question. If review rejects it, incorporate the feedback and present again. If the review channel is unavailable or aborted, stay in plan mode and ask the user to switch modes manually; do not proceed with implementation.66
- id: compaction67
name: cordis:group68
group: true69
isolate:70
compaction: true71
toolResultPruner: true72
config:73
- id: compaction-basic74
name: '@deepseek-ai/dsh-compaction-basic'75
- id: command-compact76
name: '@deepseek-ai/dsh-command-compact'77
- id: tool-result-pruner78
name: '@deepseek-ai/dsh-compaction-tool-result-pruner'79
config:80
thresholdChars: 819281
headChars: 409682
tailChars: 102483
- id: delegation84
name: cordis:group85
group: true86
isolate:87
workflowEngine: true88
config:89
- id: tool-subagent-control90
name: '@deepseek-ai/dsh-tool-subagent-control'91
- id: tool-subagent-list-agents92
name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'93
- id: tool-subagent94
name: '@deepseek-ai/dsh-tool-subagent'95
config:96
provider: spawn97
toolName: subagent98
modelSelectionSettings: true99
backgroundMode: continuable100
toolFilter:101
deny:102
- schedule_create103
- schedule_delete104
- schedule_list105
- schedule_update106
- id: tool-subagent-fork107
name: '@deepseek-ai/dsh-tool-subagent'108
config:109
provider: fork110
toolName: subagent_fork111
backgroundMode: continuable112
toolFilter:113
deny:114
- schedule_create115
- schedule_delete116
- schedule_list117
- schedule_update118
- id: tool-subagent-codex119
name: '@deepseek-ai/dsh-tool-subagent'120
disabled: true121
config:122
provider: codex123
toolName: subagent_codex124
backgroundMode: one-shot125
maxDepth: provider-managed126
- id: tool-subagent-claude-code127
name: '@deepseek-ai/dsh-tool-subagent'128
disabled: true129
config:130
provider: claude-code131
toolName: subagent_claude_code132
backgroundMode: one-shot133
maxDepth: provider-managed134
- id: workflow-ptc135
name: '@deepseek-ai/dsh-workflow-ptc'136
config:137
provider: spawn138
- id: tool-workflow139
name: '@deepseek-ai/dsh-tool-workflow'140
- id: tool-ralph141
name: '@deepseek-ai/dsh-tool-ralph'142
disabled: true143
config:144
subagentProvider: spawn145
maxRounds: 64146
- id: tool-ask-user147
name: '@deepseek-ai/dsh-tool-ask-user'148
- id: tool-todo149
name: '@deepseek-ai/dsh-tool-todo'150
config:151
allowParallelInProgress: true152
- id: tool-web153
name: '@deepseek-ai/dsh-tool-web'154
config:155
fetch: true156
searchTimeoutMs: 60000157
- id: tool-cordis158
name: '@deepseek-ai/dsh-tool-cordis'159
- id: skill-filesystem160
name: '@deepseek-ai/dsh-skill-filesystem'161
config:162
customSkillDirs:163
- !!js process.getBuiltinModule('node:path').join(process.getBuiltinModule('node:path').dirname(process.getBuiltinModule('node:module').createRequire(baseUrl).resolve('@deepseek-ai/dsh-agent-preset/package.json')), 'skills')164
- id: tool-skill165
name: '@deepseek-ai/dsh-tool-skill'166
- id: present167
name: '@deepseek-ai/dsh-tool-present'168
- id: tool-plugin-manager169
name: '@deepseek-ai/dsh-plugin-manager/tools'170
disabled: !!js "!ctx.get('profileContext')"