dsh-agents-md-only: Restrict DSH to reading only AGENTS.md workspace instructions

Introduction

In DSH, Markdown files in the workspace root directory are often used to write long-term instructions for agents. By default, DSH loads four types of files simultaneously: AGENTS.md, AGENTS.local.md, CLAUDE.md, and CLAUDE.local.md. If you are already using the AGENTS.md system or want to completely separate from the CLAUDE.md naming convention used by Claude Code, the extra CLAUDE.md files will still be read, potentially causing duplication, conflicts, or maintenance overhead.

Both the Web and Desktop versions have their own built-in presets and instruction loading logic, and relying solely on profile configuration often cannot change “which filenames to read.” Below we introduce the community plugin dsh-agents-md-only (maintainer: RicardoYan, category: Client), which narrows down DSH’s workspace instruction sources via a plugin approach.

What Is This

dsh-agents-md-only is a client plugin for DeepSeek Harness (DSH): after installation, DSH treats only AGENTS.md and AGENTS.local.md as workspace instruction files, and no longer reads CLAUDE.md and CLAUDE.local.md.

The current plugin version is 0.1.2, licensed under MIT. Source code and documentation are available on GitHub, and you can also view the entry in the SkillHub Plugin Directory (a community directory site, with no official affiliation to DeepSeek / High-Flyer).

Core Features

According to the README, the plugin’s capabilities can be summarized as follows:

  1. Narrowed instruction file set: Compared to DSH’s default behavior of “reading all four files,” only AGENTS.md / AGENTS.local.md are retained.
  2. Global effect: Applies to all presets and sessions, including sub-agents; no additional configuration required.
  3. Filename and global paths: Filename matching within the workspace is case-insensitive; ~/.dsh/AGENTS.md in the user directory will still be read as usual.
  4. Instruction refresh during sessions: After installing or uninstalling the plugin, if you continue an existing session, you will receive the updated complete instructions once.
  5. Implementation approach: Relies on DSH internal interfaces (configuration fields of dsh-agent-instructions), applicable to DSH versions @deepseek-ai/dsh >=0.2.1-rc.1 and <0.3.0-0.

Installation and Activation

Before installation, please confirm that your local DSH version falls within the range mentioned above. The plugin runs with the current DSH process permissions; it is recommended to review the repository source code and LICENSE before installation.

Desktop profile (the README example uses desktop):

dsh plugin --profile desktop add github:RicardoYan/dsh-agents-md-only#v0.1.2

Web version: Replace desktop in the command with the profile name you are actually using (usually web).

After installation, restart DSH for the plugin to take full effect.

Uninstall example:

dsh plugin --profile desktop remove dsh-agents-md-only

Typical Usage

This plugin has no independent configuration file or CLI subcommand. The typical usage is simply “install → restart → maintain Markdown according to AGENTS conventions.”

  1. Maintain AGENTS.md in the project root directory (use AGENTS.local.md for local, non-committed content when necessary).
  2. No longer rely on or deliberately avoid placing CLAUDE.md / CLAUDE.local.md as DSH workspace instructions (DSH will not read them after the plugin is installed).
  3. If your team uses multiple tools, letting DSH only consume AGENTS naming can reduce cross-impact with Claude Code’s default filenames.

Use Cases and Notes

Who is it for

  • Those who have unified on AGENTS.md to describe repository rules and do not want DSH to additionally merge CLAUDE.md content.
  • Those who need to adjust instruction loading behavior using DSH’s “everything is a plugin” approach without modifying built-in presets.

Notes

  • Tight version binding: only applicable to >=0.2.1-rc.1 <0.3.0-0; please verify plugin compatibility before upgrading DSH major versions.
  • Relies on internal interfaces; changes to DSH or dsh-agent-instructions may require plugin updates.
  • The plugin does not quality-check your instruction content; incorrect or conflicting files still need to be organized in your Markdown.

Conclusion

dsh-agents-md-only fixes DSH workspace instructions to the AGENTS naming convention with very low installation cost, making it suitable for developers who have already chosen the AGENTS workflow but are affected by the default four-file loading behavior.

  • Directory page: https://www.skillhub.cn/plugins/RicardoYan/dsh-agents-md-only
  • GitHub: https://github.com/RicardoYan/dsh-agents-md-only
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye