DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Global Rules — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-global-rules

Global Rules

Edit ~/.dsh/AGENTS.md (global rules) from the web settings panel.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-global-rules@0.1.1
READMECompatibilityVersions

Compatibility and provenance

Global Rules is published as dsh-global-rules and currently resolves to version 0.1.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
9/20/2026

Versions

0.1.1stable
9/8/2026
0.1.0stable
8/15/2026

Related plugins

Loading related plugins…

Latest
0.1.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
11.8 kB
Files
6
Surface
web
License
MIT
Source
npm
GitHub
★ 12
Weekly downloads
152
Security scan
✓ v0.1.1 scan passed
Last push
9/8/2026
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in agents-orchestration.

Headless@deepseek-ai/dsh-headlessThe dsh one-shot bundle: a direct core Agent/Session runner over dsh-base with no Host, HTTP, or browser layerExperimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsSubagent Codex@deepseek-ai/dsh-subagent-codexOne-shot Codex subagent provider over the official app-server protocolSubagent Claude Code@deepseek-ai/dsh-subagent-claude-codeOne-shot Claude Code subagent provider over the official Agent SDK

README

dsh-global-rules

在 DeepSeek Harness Web 的设置面板中编辑 ~/.dsh/AGENTS.md(全局规则)的插件。

Edit your ~/.dsh/AGENTS.md (global rules) from the DeepSeek Harness web settings panel.

全局规则设置页

功能 / Features

  • 设置页新增「全局规则」标签:打开即加载 ~/.dsh/AGENTS.md 当前内容
  • 编辑保存,实时生效:新会话立即生效;当前会话在下次文件操作后感知新规则(由 DSH 内置的 dsh-agent-instructions 动态检测机制完成)
  • 文件不存在时保存会自动创建
  • 零构建:Client 端为手写 __ModuleLoader__ bundle,Host 端为纯 Node ESM

安装 / Install

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

从 GitHub 源安装(备选):

dsh plugin --profile web add github:badai147/dsh-global-rules

重启 dsh web,然后打开 设置 → 全局规则。

使用 / Usage

  1. 打开设置 → 全局规则
  2. 编辑规则内容(Markdown 格式,与 AGENTS.md 语法一致)
  3. 点击「保存」

保存后:

  • 新会话:首次步骤直接读取新内容,立即生效
  • 当前会话:下一次文件系统工具调用后,DSH 会检测到文件变化并注入 "Updated instructions from: ~/.dsh/AGENTS.md",模型按新规则执行

工作原理 / How it works

  • Host(lib/index.js):注册 GET /global-rules(读文件)与 POST /global-rules(写文件,同源校验 + 256 KiB 上限)两个 HTTP 路由
  • Client(lib/client.js):手写 window.__ModuleLoader__.load bundle,注册 settings.section 的「全局规则」页面
  • 生效机制:DSH 内置 dsh-agent-instructions 插件覆盖 user-global scope 的动态检测——无需插件做任何热重载

目录结构 / Structure

dsh-global-rules/
├── cordis.patch.yml   # bundle patch:插入 global-rules 层
├── lib/
│   ├── index.js       # Host:HTTP 路由(Node ESM)
│   └── client.js      # Client:设置页 UI(__ModuleLoader__ bundle)
└── package.json

License

MIT