返回目录
Agent 与会话 插件

dsh-project-agent-instructions

ShihaoShenCreator/dsh-project-agent-instructions

Project-level AGENTS.md loader for DeepSeek Harness: injects .dsh/AGENTS.md (and custom paths) into the agent system prompt, with a settings page.

Stars
0
Forks
0
Issues
1
更新
1 个月前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:ShihaoShenCreator/dsh-project-agent-instructions

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

@shihaoshen/dsh-project-agent-instructions

A DeepSeek Harness (DSH) Cordis plugin that loads project-level agent instruction files and injects them into every agent's system prompt.

By default it reads .dsh/AGENTS.md from the session working directory, walking up through ancestor directories until a match is found. Additional relative paths can be configured on the plugin's settings page.

Features

  • Injects the nearest .dsh/AGENTS.md (project root and ancestors supported) into the system prompt as a dedicated section.
  • Custom additional read paths, relative to the project root.
  • .dsh/AGENTS.md is always included and cannot be removed from the read list.
  • Configurable size limit with UTF-8-safe truncation (default 32768 bytes).
  • File watching: edits to the instruction file are picked up automatically without restarting.
  • Settings page in the DSH Web UI (Plugins → this plugin), changes apply live.

Install

In the DSH Web UI, open Plugins → Add plugin and install:

@shihaoshen/dsh-project-agent-instructions

Or with the CLI plugin manager against your profile.

Restart DSH after installation so the client module loads.

Usage

Create .dsh/AGENTS.md in your project root:

my-project/
└── .dsh/
    └── AGENTS.md

Its content is automatically added to the system prompt of every agent started with that project as its working directory (or any subdirectory).

Settings

Field Description Default
Additional read paths Comma-separated paths relative to the project root; checked after .dsh/AGENTS.md —
Maximum bytes Files longer than this are truncated when injected 32768

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类Agent 与会话
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: system-prompt。