Foreword¶
When building conversational agents in DeepSeek Harness (DSH), we often need casual gameplay that allows for “repeatable openings,” “deposited questions,” and “multiplayer submissions,” rather than writing stories from scratch every time. “Turtle Soup” (lateral thinking puzzle) fits perfectly: the host only provides the soup surface (the puzzle), players ask Yes/No questions, and finally the soup bottom (the solution) is revealed. Existing approaches are mostly pure chat improvisation, making it hard to categorize, score, and synchronize the question bank, and inconvenient for auditing friend submissions.
Below, we introduce the community plugin dsh-turtle-soup (maintainer skhdjsh), which registers a set of tools in DSH to complete the process of drawing questions, in-game control, question bank CRUD, submission code auditing, and optional online backend with GitHub/Gitee Issue submission boxes. Data is stored locally in ~/.dsh/turtle-soup/. The plugin does not import internal DSH packages; it is a zero-dependency implementation.
The plugin is categorized as “Memory” in the SkillHub directory; the current Star count in the repository is 0 (as of the directory page). package.json indicates version 1.12.0, license MIT, and requires DSH >=0.2.2-rc.3.
What is it¶
dsh-turtle-soup is a Turtle Soup plugin for DSH: local question bank, drawing questions by type/difficulty, in-game hints and question counts, scoring and records for correct guesses, question rating and downgrading, as well as submission export, pending review queue, and full library synchronization. Optionally connect to the server/ Cloudflare Workers backend for online submissions; or do not deploy a server and use GitHub/Gitee Issues as a submission box.
Core Features¶
Capabilities are divided into tools as listed in the README; agents complete the process by calling these tools.
Drawing and Starting a Game¶
| Tool | Function |
|---|---|
turtle_draw |
Filter questions by type/difficulty; optional unlimitedQuestions (unlimited question attempts) and unlimitedHints (unlimited hint attempts) before starting; returns soup surface, soup bottom, hints, max question attempts, and hint counts |
turtle_bank / turtle_list / turtle_get |
Question bank overview, paginated list, single question details (does not return soup bottom) |
When the “unlimited” mode is not enabled, hint counts depend on difficulty: ★☆☆☆☆ is 1 time, ★★☆☆☆ / ★★★☆☆ is 2 times, ★★★★★ / ★★★★☆ is 3 times. Max question attempts default to base 10 + 6 per star (configurable via baseQuestions / perStarQuestions).
Question Bank Maintenance and Synchronization¶
| Tool | Function |
|---|---|
turtle_add / turtle_edit / turtle_delete |
Add/Edit/Delete questions (deletion is marked with a “tombstone” which propagates during sync) |
turtle_export / turtle_submit / turtle_review |
Export submission codes, collect pending submissions, list/view to see queue and answers, approve or reject |
turtle_snapshot / turtle_sync |
Export full library JSON; pull by URL or local file and merge by “title + updated” |
In-Game, Scoring, and Rating¶
| Tool | Function |
|---|---|
turtle_game |
status progress, hint to request a hint, asked to record questions, pause/resume, end to finish (reveal=true to reveal soup bottom, completeness can be used to calculate score) |
turtle_score |
Calculate total score and rank after guessing, based on difficulty, reasoning completeness, remaining questions/hints, and time taken (rules are not public) |
turtle_stats |
Battle records |
turtle_rate |
Rate soup surface 1–10 (default 5) and like/dislike; average is calculated only when 4 people have rated; low scores lead to downgrading, and scores below 2 lead to hint removal |
Issue Submission Box and Online Backend¶
| Tool | Function |
|---|---|
turtle_issues |
Use GitHub/Gitee Issues as a submission box: pull to fetch, approve to accept and try to close the issue, reject to reject |
turtle_online |
Connect to self-hosted backend in server/: submit questions, view pending, review, and pull |
Reading issues on Gitee works normally, but closing issues may fail for personal tokens (recorded as 404 in the README); the issue must be closed manually after approval or rejection. GitHub can use a fine-grained token, authorizing only the Issues read/write of the target repository.
The first run will expand built-in seed questions in ~/.dsh/turtle-soup/ (bank-seed.json is released with the package, totaling about 100 questions). Deleting the entire data directory will re-seed.
Installation and Enablement¶
The documentation provides two methods; there is no CLI command like dsh plugin add github:….
Plugin Market: In DSH’s Plugins → Discover, add the index address provided by the market/ directory, then install from the market.
Local Directory: Plugins → Add plugin, select the plugin root directory after cloning or downloading (containing index.js and cordis.patch.yml).
After installing or changing configuration, restart DSH for changes to take effect. The plugin reads/writes ~/.dsh/turtle-soup/ with the current DSH process permissions; it is recommended to read the repository source code before installing and confirm the MIT license and whether your environment accepts local files and optional external connections (sync URL, Issue API, self-hosted serverUrl).
Configuration¶
Example config in cordis.patch.yml:
serverUrl: '' # Self-hosted backend address (not sensitive, safe to put here)
submitToken: '' # Submission token (given to friends) — suggest leaving empty, see below
adminToken: '' # Admin token (for yourself) — suggest leaving empty, see below
submitToken and adminToken are not recommended to be written in the configuration file that goes with the repository. The plugin prioritizes reading local private files:
{ "adminToken": "...", "submitToken": "..." }
The path is ~/.dsh/turtle-soup/tokens.json (not in the repository). Passing token when calling tools can also temporarily override this. The Issue process additionally requires:
{ "githubToken": "...", "giteeToken": "..." }
Typical Usage¶
1. Start a Game¶
First, let the agent call turtle_draw, passing type, difficulty, and whether unlimitedQuestions / unlimitedHints as needed. During the game, use turtle_game: hint consumes hint counts, asked records the number of question sentences; when ending, use end with reveal=true to reveal the soup bottom; if with completeness, it can be passed to turtle_score for scoring.
2. Maintain Question Bank and Backup¶
Use turtle_add / turtle_edit for question changes; to distribute to other machines, use turtle_snapshot to export JSON, and the other party uses turtle_sync to merge. Local backup can be done by directly copying:
~/.dsh/turtle-soup/
├── bank.json Question bank (including tombstones)
├── pending.json Pending submissions
└── stats.json Battle records
3. Use GitHub Issue to Collect Submissions (No Server)¶
- Friend opens an issue in your repository, pastes the
TS1.…submission code exported byturtle_exportin the body, and adds the tagturtle-submission. - Call
turtle_issueswithaction=pullandprovider=github, which parses and adds to pending review. - Use
turtle_review action=viewto see the soup bottom; useturtle_issues action=approveto add to the database and try to close the issue, oraction=rejectto reject.
When reviewing, turtle_review’s list only shows the soup surface; to see the answer, you must use view.
4. Sync Conflicts¶
turtle_sync merges by title and updated; if the local updated is later, it keeps the local version and lists conflicting titles in the result, avoiding silent overwriting. After someone else changes a question, apply turtle_edit to refresh updated, then ask them to sync.
See docs/DETAIL.md in the repository for more detailed troubleshooting.
Suitable Scenarios and Notes¶
Suitable for: Teams or individuals who want to play Turtle Soup fixedly in DSH conversations and need a local question bank with difficulty/type filtering; scenarios where you are willing to use Issues or lightweight Workers backends to receive submissions but do not want questions scattered in chat logs.
Notes:
- The plugin runs inside the DSH process and can read/write the question bank and token files in the user’s home directory; tokens should not be committed to public repositories.
- External synchronization, pulling raw JSON, calling GitHub/Gitee APIs, or
serverUrlwill generate network access; you need to evaluate compliance and key management yourself. - When Gitee issue automation is unreliable, you should inform the submitter that “manual post-closing is required after acceptance”.
- The Star count of 0 on the directory page only reflects current attention and does not indicate missing functionality; check compatibility based on README and
package.json’sengines.dsh.
Ending¶
dsh-turtle-soup gathers Turtle Soup from spontaneous chat into a toolchain that allows drawing questions, reviewing submissions, synchronizing, and scoring, while retaining the “zero-server” Issue submission path. If you are already using DSH for memory or entertainment-oriented agents, check the card description on the directory page, and view the full README and market/, server/ directories on GitHub.
- Directory page: https://www.skillhub.cn/plugins/skhdjsh/dsh-turtle-soup
- GitHub: https://github.com/skhdjsh/dsh-turtle-soup