DSH AGENTS.md Manager: Centralized Management of AI Agent Instruction Files

Introduction

When managing multiple workspace AGENTS.md instruction files in DeepSeek Harness Desktop, switching between different directories and searching for or editing files can be cumbersome. The plugin is provided as a source bundle and requires no build step or npm install. Use the desktop profile.

Plugin Overview

DSH AGENTS.md Manager is a DeepSeek Harness Desktop plugin focused on AGENTS.md management, maintained by normalform3. It presents the instruction files from registered workspaces in a centralized view for easy searching and editing. Files always remain in their original locations.

Core Features

The plugin provides the following core capabilities:

  • File Listing: Lists AGENTS.md files from the root and subdirectories of registered workspaces, as well as the two global instruction files in DSH.
  • Search: Search by workspace name, file path, and file content.
  • Batch Preview: Preview the content of up to 100 files from a single workspace or the global area at once.
  • Edit & Compare: Edit and preview Markdown, with a side-by-side comparison between the original on-disk content and the current draft before saving. Only one file is saved at a time; file version is checked upon save, and atomic replacement is used.
  • Template Management: Create and edit local templates in the “Templates” section of the sidebar. Click + to create a new template; click a template name to open the editor. Applying a template only modifies the draft in the file editor.
  • AI Suggested Edits: Request a single round of edit suggestions using the model configured in DSH. Suggestions must be manually applied to the draft before manual saving.
  • UI & Navigation: Bilingual (Chinese/English) interface and narrow-screen navigation. The file editor supports a back action; leaving a file or template with unsaved changes will prompt for confirmation.

Installation & Activation

Open the plugin management page in DeepSeek Harness Desktop, select “Install from local directory,” and specify the root directory of this repository. The plugin is provided as a source bundle and requires no build step or npm install. If prompted on the plugin management page, restart or reload Desktop. Use the desktop profile.

Typical Usage

After installation, the plugin adds an AGENTS.md Manager entry to the sidebar. Click to enter and you will see all AGENTS.md files across registered workspaces. Use the search box to quickly locate specific files or content.

Click a file to enter the editor, which supports Markdown preview. Before saving, a side-by-side comparison between the original on-disk content and the current draft is automatically displayed to ensure editing accuracy.

In the “Templates” section of the sidebar, you can create and edit local templates. Click + to create a new template, then click the template name to open the editor. Applying a template only modifies the draft in the editor and does not directly overwrite the file.

When using the AI suggested edits feature, the plugin sends the current draft, the user’s request, and available project root README and supported project manifest files (up to 16,384 characters each) to the model. Model output is provided as suggestions only and is never written to files automatically. Before each independent model call is dispatched, the full prompt and context are logged to DSH_HOME/agentsmd-manager/requests/. This file is readable only by the local user and is updated with the result after the call completes or fails.

Use Cases & Notes

This plugin is suited for developers who need to maintain AGENTS.md files across multiple workspaces simultaneously, especially in scenarios requiring unified management and editing of instruction files.

The current version does not support batch writing to multiple files, does not move instruction files, and does not alter DSH’s original instruction loading mechanism. The plugin only scans registered workspaces, skips common dependency and build directories, and limits traversal to a maximum of 20 levels and 20,000 directories per workspace. If scanning fails for a particular workspace, that workspace will display an error while other workspaces remain usable.

The plugin runs with the permissions of the current dsh process. Review the source code and license before installation. This plugin is licensed under the MIT License; see the LICENSE file for details.

Summary

DSH AGENTS.md Manager provides agent developers with a unified entry point for managing instruction files through centralized listing, search, preview, editing, and template features. Files always remain in their original locations, side-by-side comparison is supported before editing, and AI suggestions require manual application before saving—maintaining transparency and controllability of operations.

For more details, visit the plugin directory page or check the GitHub repository.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye