Introduction¶
DeepSeek Harness (DSH) implements feature extension through a plugin system. When building agent applications, configuring expert roles for different domains typically requires maintaining separate skill configurations or writing extensive model invocation logic. The upstream agency-agents-zh project provides 268 expert roles optimized for Chinese scenarios, covering 20 departments, but these resources have not yet been directly integrated into DSH’s skill registry. This plugin aims to solve this integration issue by packaging the upstream resources as a DSH bundle plugin, enabling these expert roles to be invoked as native dsh skills.
Plugin Overview¶
This plugin packages agency-agents-zh (268 Chinese AI expert roles, covering 20 departments) as a bundle plugin for DeepSeek Harness (dsh).
- Maintainer: RHY006
- License: MIT
- Core capabilities:
- Packages the upstream role library as a DSH bundle plugin.
- Registers 268 experts as native dsh skills.
- Supports automatic matching and manual triggering in model conversations.
- Supports whitelist/blacklist filtering by department.
- Supports limiting the maximum number of registered skills.
Installation and Activation¶
Before installation, ensure that git is installed (when installing dependencies via github:, pnpm invokes git to pull the repository).
Install the plugin using the official command:
dsh plugin --profile web add "github:RHY006/agency-agents-zh-dsh-plugin"
After installation, dsh must be restarted for the plugin to take effect. After restarting, you can query the available skills to confirm that the expert roles have been registered.
Usage¶
After the plugin is installed, expert roles are present in the registry as native skills. Skill names follow the kebab-case naming convention, with the name derived from the file stem.
Manual Triggering¶
In a conversation, you can trigger a specific expert by directly entering a slash command:
/engineering-frontend-developer: frontend developer/marketing-xiaohongshu-operator: Xiaohongshu operations expert/engineering-security-engineer: security engineer
Automatic Matching¶
In a conversation, describe your needs, and the model will automatically match and load the corresponding expert role based on the expert’s description.
Configuration Filtering¶
By default, the plugin registers all 268 experts. If you want to reduce the number of registrations, you can add config filtering parameters to this loader entry in the profile’s cordis.patch.yml:
- id: agency-agents-zh
config:
categories: [engineering, marketing, design] # 部门白名单:只注册这些
excludeCategories: [specialized] # 部门黑名单:剔除这些(优先于白名单)
maxSkills: 60 # 总量上限:超出按列表顺序截断并告警
- Whitelist and blacklist: all three are optional and can be combined. If nothing is configured, all are registered (backward compatible).
- Type error handling: incorrect types in
cordis.patch.ymlcause dsh to report an error at startup. - Department mapping: the plugin includes a built-in mapping between department directory names and departments, enabling filtering.
Notes¶
- Git dependency:
gitmust be installed to install the plugin using thegithub:method. - Restart required: after installation, the dsh process must be restarted to load the newly registered skills.
- Copyright: the role content is owned by the upstream
agency-agentsandagency-agents-zh; this plugin only packages and distributes it. - Error reporting: type spelling errors in the configuration file or nonexistent department names are rejected and a warning is issued.
Conclusion¶
This plugin provides DSH users with the ability to quickly integrate a large number of Chinese domain expert roles. With the configuration filtering mechanism, users can control the scale of skills based on their actual needs. For more details, refer to the plugin catalog page or the GitHub repository.