Introduction¶
DSH plugins can extend agent capabilities, but as the skill library grows, injecting each skill’s name and description into the context at startup increases costs with the number of skills. dsh-skill-search provides an alternative approach: do not preload skill metadata at startup; instead, use keyword search on the disk’s SKILL.md files when the model needs them, and only read the full text of the matching file to execute.
What is it¶
dsh-skill-search is a DeepSeek Harness (DSH) plugin designed to enable a “zero preloading, on-demand search” approach for skill libraries.
The repository address provided in the documentation is:
https://github.com/Equinox7379/dsh-skill-search
The license is MIT.
Core Features¶
Zero Preloading¶
When the plugin starts, it does not inject a skill’s name and description. Subsequent context costs depend mainly on the content of the hit SKILL.md, rather than the number of skills in the library.
Keyword Search¶
The plugin provides a skill_search tool to search for SKILL.md in the disk-based skill library.
Parameters are as follows:
query: Required, search keyword.limit: Defaults to10.
Matching scope includes:
- Directory name
namein frontmatterdescriptionin frontmatter- Beginning of the body
Upon a match, the AI only reads the full text of the corresponding SKILL.md and executes it.
Runtime Boundaries¶
The boundaries provided in the documentation are:
- Pure read-only
- Zero runtime dependencies
- No custom session events
- No HTTP routes
When rg is unavailable, it automatically falls back to pure Node traversal.
Configuring Skill Library Directory¶
You can add config.dirs to the dsh-skill-search plugin line in the profile’s cordis.patch.yml to point to multiple skill library directories.
The example provided in the documentation is:
- insert:
- id: dsh-skill-search
name: dsh-skill-search
config:
dirs:
- C:\Users\Equinox\.codex\skills
Since it shares the same skill files, after the skill library is updated externally, this plugin can see the new content without the need for copying or syncing.
Typical Usage¶
The user says:
搜技能:去AI味
The plugin will invoke skill_search with the search keyword “去AI味”.
The example hit result provided in the documentation includes:
name:humanizerdescription: “Remove AI flavor…”path: Points to去AI味/SKILL.md
Subsequently, the AI reads the full text of the SKILL.md pointed to by path and executes its contents.
Installation and Enabling¶
Currently, the official installation command has not been verified in the provided documentation, so this article does not provide an installation command. Before enabling, you can verify the repository, license, and configuration method. The repository address is:
https://github.com/Equinox7379/dsh-skill-search
Suitable Scenarios and Notes¶
Suitable for scenarios where the skill library is large but you do not want to load all skill metadata at startup.
Since this plugin reads SKILL.md in the skill library directory and runs with the permissions of the current DSH process, it is recommended to check the following before enabling:
- Check skill library directory permissions
- Confirm the reliability of source files
- Review the repository source code and the
MITlicense
Links¶
- GitHub Repository:
https://github.com/Equinox7379/dsh-skill-search - Directory page listed in the documentation:
https://www.skillhub.cn/plugins/Equinox7379/dsh-skill-search