Files
deepseek-harness/packages/preset
Turtle 7520fe94e1 refactor(preset): 精简创造模式的 system prompt (#4745)
* refactor(preset): trim the creation-mode system prompt

The `cordis` preset persona repeated what the plugin_manager and
cordis_inspect_* tool descriptions and the two shipped skills already
carry. Keep only identity, the shipped-preset constraint, the visual
request routing rule, and which skill to load for what.

Drop the tool-cordis prompt section, which restated its own tool
descriptions, and the cordis_inspect_query navigation hints that the
provider manifests returned by cordis_inspect_list already state.
Shorten both skill descriptions so the first-turn catalog stays small.

First-turn request for the cordis preset, measured through the DeepSeek
API with deepseek-v4-flash: 9572 -> 8975 prompt tokens.

* docs: regenerate config catalog after section order removal

* docs: regenerate module graph after tool-cordis dependency removal

* refactor(preset): give the cordis preset the standard persona

Creation mode's system prompt now equals standard mode's; the skill
catalog and the shipped skills carry every routing and off-limits rule.
The plugin skill description states the visual-request destination.

First-turn request for the cordis preset: 9572 -> 8815 prompt tokens.

* fix(review): document current tool-cordis state and pin the shared persona

The tool-cordis README pair now states that only the two tool schemas
enter requests, that disposal removes tools and providers, and that
the first-turn skill catalog carries the routing. The Web skill row
test resolves the owner's selected fixture generation instead of a
fixed v3 path. The preset e2e asserts the cordis persona sections
equal standard's.
2026-09-21 04:43:38 +00:00
..
2026-09-17 21:11:19 +08:00

description, kind
description kind
The preset group map: per-session agent composition from preset files, for users and maintainers navigating the group. package-group

packages/preset

English | 中文

Summary

The preset group provides per-session agent composition: an agent preset is a directory holding one agent.cordis.yml, and a session composed from a preset runs that preset's tools, prompt sections, and skills while every other session keeps its own. agent-presets owns the roster — discovery over configured roots plus the harness home, the guarded per-agent mount, and copy-only authoring — and persona supplies the composable row that lets a preset change an agent's identity and not only its tools. Together they let one process run several differently composed agents at once.

Table of Contents


Packages

Package Role ctx key
agent-presets Preset roster, discovery over trusted and user roots, per-agent composition, copy-only authoring ctx.agentPresets
persona The composable persona row a preset mounts to shadow or replace the deployment persona —

The presets the deployment ships live in agent-presets/presets/ — one directory per preset, and that directory listing is the roster; naming them here too would be a second list to keep in step.


Dev Note

Working context for maintainers — click to expand

None.