cordis-composition-reference 精选
Use when writing or reading a Cordis bundle patch or agent preset for this harness and you need the Loader YAML dialect (insert, override by id, group, disabled, isolate, !!js) or the list of installable Harness plugin packages and what each provides.
安装方式
cp -r packages/preset/agent-preset/skills/cordis-composition-reference ~/.claude/skills/cordis-composition-reference把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/
https://raw.githubusercontent.com/deepseek-ai/deepseek-harness/d743267388641bc76f17c45ce8b4c231aed1d32c/packages/preset/agent-preset/skills/cordis-composition-reference/SKILL.md下载后另存为 ~/.claude/skills/cordis-composition-reference/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/deepseek-ai/deepseek-harness.git
依赖与权限
- 无需 API Key
- 无需联网
- 无外部命令依赖
- 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.md 正文
Cordis composition reference
Reference material for bundle patches and preset plugin lists. Procedures live in cordis-plugin-development and editing-cordis-compositions.
Loader patch dialect
A profile composes an ordered list of patch layers over the bundle entry lists. Each patch is a mapping:
insert: [rows]appends rows; with anidnaming an existinggroup: truerow, the rows are appended inside that group'sconfiglist.- A patch with an
idand noinserttargets the existing row with that id. Supplied fields replace the row's fields;configis replaced wholesale, never deep-merged, so restate every field the row needs. A truthynameasserts the existing plugin name rather than renaming it. - Non-insert patches without a nonempty
id, and targets that match no row, are warned about and skipped.
A row has id, name (the plugin package specifier; inserted relative paths are anchored beside their patch file), optional config, and optional disabled, inject, intercept, and isolate.
group: truewithname: cordis:groupmakesconfiga nested entry list and allows patches to insert into it by id.cordis:includeloads a literal YAML or JSON entry list fromconfig.path.disabledaccepts a boolean, null, or a!!jsexpression evaluated against the Loader context at every mount decision. A disabled row omits requiredconfigunlessgroup: trueforces activation.!!jsscalars are Loader expressions, never!js. Insideconfigthey are evaluated after the row's declared injections activate, against that plugin's context (ctx.<service>), so!!js dshHomePath('sessions')and!!js "!ctx.get('profileContext')"are valid. Other row metadata stays literal.isolatemaps service names totrueor a realm label; a preset plugin that provides a service isolates the provider and all consumers together. Scope controls contributions and event visibility;isolatecontrols service instances.
plugin_manager list_plugins reports each row's enabled flag and fiberPhase; set_plugin and set_bundle answer overridden when a higher-priority layer wins.
Installable plugin packages
references/packages.md lists every workspace package that exports a Cordis plugin, grouped by package group, with whether its row takes config. Search it with grep -n <keyword> rather than reading it whole. Plugins outside this list come from installed bundles; plugin_manager list_bundles names them.
质量与来源
- 所属仓库
- deepseek-ai/deepseek-harness
- 仓库星标
- 25 万
- 最近更新
- 3 天前
- 采集时间
- 今天
- commit
- d74326738864
- 内容指纹
- sha256:6583a81d9f4de07
- 文件路径
- packages/preset/agent-preset/skills/cordis-composition-reference/SKILL.md