Preface¶
When conducting Agent conversations in DeepSeek Harness (DSH), if you want the model to speak according to a fixed persona in specific scenarios rather than sticking to the same system prompt throughout the entire session, you usually have to maintain the character state yourself within the prompt or workflow. dsh-maid (category: Fun/Cosplay), maintained by yuanstarstar, turns “maid character cards” into a plugin: daily conversations remain in normal mode, the persona is only injected when importing, generating, or switching characters, and data is persisted to local storage.
What is this¶
dsh-maid is a Bundle plugin for DSH that allows the Agent to play a maid with a character setting after activation, making the conversation closer to the character’s tone and background. It is maintained by yuanstarstar. Source code and instructions can be found on GitHub, and the community directory page is the SkillHub Plugin Page. The version in package.json is 1.0.0, and the license is MIT.
Core Design (from the README): Daily conversations remain in normal mode; “Maid Mode” is entered only when “Importing Maid Settings” or “Generating Maid Settings”.
Core Features¶
The following introduces the capabilities explicitly listed in the plugin’s documentation.
Roleplay and Default Off¶
- Injects the maid character card (persona) into the system prompt, and the Agent responds according to the character’s tone, personality, and background.
- Does not enter Maid Mode unless import or generation is triggered; can return to standard conversation via “Exit Maid Mode” or the mode selector.
Switching, Persistence, and Built-in Characters¶
- Characters can be switched at any time; saying “Exit Maid Mode” restores normal conversation.
- The character library is saved in the DSH storage
~/.dsh/storages/maid.jsonand is not lost upon restart. - Two built-in characters: Sake Fox (Fox-eared wine maid, a fan creation of Sake Fox from the Path of the Maid mod), Big Fat Fish (Blue whale girl maid, a fan creation of the DeepSeek mascot).
Agent Tools¶
The correspondence between conversation intent and Host-side tools is as follows (from the README table):
| Intent | Example Phrase | Tool |
|---|---|---|
| View characters / Current status | “List maid characters” | maid_list |
| Import and enter Maid Mode | “Import this maid character: {JSON}” | maid_import |
| Generate and enter Maid Mode | “Generate a tsundere cat-eared maid” | maid_generate |
| Switch character | “Switch to Big Fat Fish” | maid_switch |
| Exit Maid Mode | “Exit maid mode / Close maid mode” | maid_switch (README FAQ mentions maid_switch "") |
| Export character card | “Export Sake Fox’s character card” | maid_export |
| Delete character | “Delete Big Fat Fish” | maid_delete |
Settings Page and Mode Selector¶
- When starting a new conversation, the “Mode” selector in the top left allows choosing “Maid · Sake Fox / Big Fat Fish” or “Standard”.
- The DSH “Settings → Maid Mode” page provides brief usage instructions (Settings UI injected by
client.js).
Installation and Activation¶
First, prepare the environment: DSH is installed and running on the local machine (Web profile is used for Method 1).
Method 1: One-click command line installation (Recommended by README, requires plugin to be published to npm)
dsh plugin --profile web add dsh-maid
Method 2: Local directory installation (For development or when not published to npm)
Place the dsh-maid directory in a fixed path, then instruct the Agent in DSH to execute:
plugin_manager install_bundle <absolute path to dsh-maid directory>
After installation, if index.js (Host) is modified, DSH needs to be restarted; if client.js (Settings page) is modified, simply refresh the page.
Typical Usage¶
Driven by Natural Language¶
Just follow the conversation table in the README. For example:
- Enter Maid Mode: Select “Maid · Sake Fox” in the mode selector, or say “Generate a tsundere cat-eared maid”.
- Switch: “Switch to Big Fat Fish”.
- Exit: “Exit Maid Mode” or select “Standard” in the mode selector.
Import Custom Character Card¶
Character card JSON format (only name is required, others are optional and will be filled with default values upon import):
{
"name": "Character Name",
"avatar": "🦊",
"title": "Identity Title, e.g., 'Fox-eared Maid'",
"personality": "Personality",
"speech": "Speech Style and Quirks",
"background": "Background Story",
"greeting": "Opening Line",
"rules": "Service Guidelines",
"extra": "Supplementary Settings (Appearance, Abilities, etc.)"
}
Import example phrase: “Import this maid character: {JSON}”.
FAQ (README)¶
- Daily conversation is still in maid tone: After restarting DSH, confirm if you have “Exited Maid Mode”.
- Character generation failed: You need to configure a default model in DSH first.
Scenarios and Notes¶
Who it is for: Developers or players who want to do lightweight roleplay in DSH without keeping the maid persona globally persistent; when a character library that supports JSON import, prompt generation, switching, and export is needed, this plugin offers a clear path.
Permissions and Security: The plugin runs with the current DSH process permissions, reads and writes ~/.dsh/storages/maid.json, and injects system prompts to the Agent. Before installation, it is recommended to read the Repository Source Code (index.js handles Host and tool registration) and confirm if the MIT license meets your compliance requirements. SkillHub etc. are community directories, not officially affiliated with DeepSeek / Hithink Royal-Swim, and should not be treated as official app stores.
Ecosystem Background: DSH advocates “Everything is a plugin”; dsh-maid mounts the Bundle via cordis.patch.yml, and the Web side injects the @deepseek-ai/dsh-client-ui-settings-general settings entry.
Conclusion¶
dsh-maid turns Maid Mode into “On-demand activation + Local persistence + Tool-based operation”, separating daily conversation from roleplay. For further details, please refer to the README:
- Directory Page: https://www.skillhub.cn/plugins/yuanstarstar/dsh-maid
- GitHub: https://github.com/yuanstarstar/dsh-maid