DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-agent-attribution

r

dsh-agent-attribution

Manifest valid

A dsh plugin that tells agents how to attribute the git commits and pull requests they create, with the model name filled in automatically

hasBundlePatch

dsh-agent-attribution

A DeepSeek Harness plugin that tells agents how to attribute the git commits and pull requests they create. It is modelled on Claude Code's attribution setting, with the model name filled in automatically.

With the defaults, agents are instructed to:

  • end commit messages with a blank line and then Co-Authored-By: <model> <noreply@deepseek.com>
  • end pull request descriptions with Generated with DeepSeek Harness (<model>)

The instruction is added as an Attribution section of the system prompt. It says that the user's own instructions about these lines (AGENTS.md, CLAUDE.md, memory rules) take precedence, and that agents must not add attribution lines the section does not list. It is sent whether or not the working directory is a git repository, as in Claude Code.

Installation

Link the package into your profile with plugin_manager (install_bundle, target = the absolute path of this directory), or from the command line, then restart or reload the profile. To turn the instruction off, disable the plugin.

Configuration

The plugin row is agent-attribution in cordis.patch.yml. Override its config in your profile patch:

- id: agent-attribution
  config:
    pr: ''
    commit: 'Co-Authored-By: {model} <{email}>'
KeyDefaultMeaning
commitCo-Authored-By: {model} <{email}>Commit attribution. Omit for the default, '' to drop the line, or any text (multi-line is kept verbatim).
prGenerated with DeepSeek Harness ({model})Pull request attribution. Same rules as commit.
emailnoreply@deepseek.comValue of the {email} placeholder.
modelNames{}Display-name overrides keyed by model id (exact match, then longest prefix).

Placeholders in commit and pr: {model} (display name), {modelId} and {email}.

If both commit and pr are '', the section is omitted entirely, which is what Claude Code does too. Claude Code's sessionUrl is not implemented.

How the model name is chosen

  1. The model the agent is actually running, which is the live model selection. This can differ from the model the agent was created with. The plugin reads the final provider and model prompt variables for this reason.
  2. A modelNames entry from this plugin's config.
  3. The name the provider's model catalog gives that model (for example Claude Sonnet 5.5 from your profile's llm-pi-ai config).
  4. The model id made readable: deepseek/deepseek-v4.1-flash-1017[1m] becomes DeepSeek V4.1 Flash 1017, and claude-opus-5-5 becomes Claude Opus 5.5.
  5. DeepSeek Harness when no model is known.

Subagents get their own model name. Changing the model mid-session changes the trailer, and the system-prompt prefix with it, so expect a prompt-cache miss at that point.

Files

  • index.js: the Host plugin (Config, section registration, assembly listener).
  • attribution.js: pure text and model-name helpers, free of Host imports.
  • cordis.patch.yml, package.json, locale/, icon.svg: bundle manifest and display metadata.

Related

dsh-skill-badge is a separate, optional dsh plugin that adds a "powered by dsh" badge to pull requests. If you enable it, you may want pr: '' here so the two do not overlap.

Comments

Loading…

Similar plugins

dsh-git-commit-agent

by havoc-rao

DSH plugin: a dedicated agent that plans exact Git commits from real repo state, binds approval to an immutable plan revision, and commits via a restricted, verified git executor.

Manifest valid

★ 0

TypeScript

Oct 14, 2026

dsh plugin --profile web add dsh-git-commit-agent

by shenzhantu

通过模型插件用来修改subagent所使用的模型和Agent预设/Use model plugins to modify the model used by the subagent and the agent presets.

Manifest valid

★ 0

MIT

JavaScript

Aug 20, 2026

dsh plugin --profile web add dsh-subagent-model

DSH plugin: matches a model you declared on a custom gateway to the capability metadata it should have — context window, output cap, reasoning levels and image support — by looking the bare model name

Models & ProvidersManifest valid

★ 0

dsh plugin --profile web add dsh-model-metadata

by liufangrui1105

Agent-facing GitHub repository tools: binds an account through a first-run prompt, then clones into the workspace and reads, exact-replaces, commits and pushes files, with writes off by default.

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Oct 15, 2026

dsh plugin --profile web add dsh-plugin-github

by IHS470

DSH plugin: one user-owned rule list, injected into every request system prompt, so the agent has to walk the rules before answering.

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Oct 3, 2026

dsh plugin --profile web add dsh-global-rules

by Yangi-252410

该仓库暂未提供项目说明。

Development & InfrastructureManifest valid

★ 0

JavaScript

Oct 5, 2026

dsh plugin --profile web add dsh-git-tools