Preface¶
In DSH, a common practice for novel creation is to have the models in a conversation take turns playing the roles of planner, setting designer, writer, and editor. While role-switching is fast, context can easily get muddled: the power ceiling established for the world might be forgotten in the next chapter’s text, and characters’ speaking styles can drift, with foreshadowing laid out but never followed up on.
Below, we introduce the novel-writer plugin maintained by sailoumili. It registers the “multi-core collaborative writing mode” as a DSH preset: one lead coordinator plus five specialized sub-agents, each handling a specific part. Through file-based archives and chapter versions, it guides long-form works from conception to final draft.
What Is This¶
novel-writer is a DSH preset plugin. Once installed, it provides a “multi-core collaborative writing mode” option when creating new conversations. It’s not a single model taking turns playing six roles, but six distinct positions each operating independently—the writer doesn’t do editing, and the world-builder only produces settings. The division of responsibilities is hardcoded in the preset prompts.
Maintainer: sailoumili
Category: Workflow
License: MIT
GitHub Stars: 9 (as of the time of data collection)
How the Six Roles Divide Responsibilities¶
| Role | Responsibilities |
|---|---|
| Lead Coordinator | Assigns tasks, controls pace, resolves disputes, and approves final drafts; convenes all agents to revise the “Narrative Constitution” if a chapter is rejected three times consecutively. |
| World Sub-Agent | Produces the “World Rules White Paper” and “Glossary Appendix”; specifies settings with “what + why + impact on the story,” and marks the percentage difference between the protagonist’s power and the power ceiling. |
| Plot Sub-Agent | Uses the node method to outline main plot points, turning points, and a foreshadowing ledger; each node includes a clear cause-and-effect chain. |
| Character Sub-Agent | Creates “Soul Four-Dimensional” JSON and “Linguistic Gene Cards”; manages character growth arcs and speaking styles. |
| Writing Sub-Agent | Sole writer; follows other agents’ settings by default, and must apply for “exception approval” to deviate; each chapter is approximately 2000–4000 words. |
| Review Sub-Agent | Only spots errors without rewriting; performs a three-color traffic light check against settings (red for critical rejection, yellow for warnings with post-approval, green for pass), and provides pacing suggestions and chapter-end hooks. |
Installation and Activation¶
This is a DSH preset plugin. After installation, the preset is automatically registered, and you can select it directly when creating new conversations.
Installation is recommended via the plugin command (works on Windows / macOS / Linux):
dsh plugin --profile web add github:sailoumili/novel-writer
After installation, restart or refresh DSH web, then select “multi-core collaborative writing mode” when creating a new conversation.
Alternative methods: Use the one-click script provided in the repository, or manually download the ZIP, unzip it, rename it to novel-writer, and place it in ~/.dsh/.agent-presets/ (on Windows, it’s C:\Users\YourUsername\.dsh\.agent-presets\), then refresh the page.
Uninstall command:
dsh plugin --profile web remove novel-writer
Uninstallation does not delete the preset files already on disk; to completely remove them, manually delete the ~/.dsh/.agent-presets/novel-writer/ directory.
Typical Usage¶
- Create a new conversation and select “multi-core collaborative writing mode.”
- Provide a one-sentence summary of the genre and core premise, for example:
Genre: Eastern Fantasy + Cthulhu fusion. Core premise: A hunter who can see others’ “death countdowns” must save a village on the verge of being devoured by an Old One without being corrupted.
- The coordinator advances in three steps, pausing for your confirmation at each stage:
- Sends the world and plot agents to draft the “Narrative Constitution” and “World White Paper” outline → waits for your approval;
- After approval, directs the character agent to generate main character profiles → saved to local files;
- Finally requests permission to write the first chapter → only proceeds with your approval.
File Management and Version Control¶
The preset requests file read/write permissions to preserve archives across conversations. When starting a new novel, it creates a project folder in the workspace:
outputs/date-projectname/
├─ Narrative Constitution.md
├─ World Rules White Paper.md
├─ Character Profiles.json
├─ Foreshadowing Ledger.md
├─ Chapter Directory.md
├─ Chapter1-v1.md
└─ Chapter1-v2.md
Chapter texts are saved in separate files, named in the format ChapterN-vX.md. Revisions do not overwrite older versions; when continuing writing, only the latest version (by version number) of each chapter is read. File operations are subject to DSH sandbox policies, and the preset itself does not bypass the sandbox.
To modify the behavior logic, you can edit the agent.cordis.yml (full prompt) in the repository; changes take effect the next time you start a new conversation.
Suitable Scenarios and Considerations¶
This is ideal for authors or developers who need long-form coherence and are willing to confirm creative direction step-by-step. The six roles have clear divisions, with settings, foreshadowing, and character profiles documented in files, reducing context drift compared to a single-conversation role-switching approach.
Before installation, it’s recommended to review the source code and MIT license. The plugin runs with the current DSH process permissions and reads/writes workspace files; use it in a trusted environment and ensure the sandbox policies meet your security requirements.
The DSH ecosystem advocates “everything is a plugin”; the community directory SkillHub is an independent site with no official affiliation with DeepSeek or High-Flyer.
Links¶
- Directory Page: https://www.skillhub.cn/plugins/sailoumili/novel-writer
- GitHub: https://github.com/sailoumili/novel-writer