Preface¶
When using DeepSeek Harness (DSH) for daily development, the model tends to expand simple requirements into large-scale refactoring, or provide verbose replies with scattered key points. You can manually write “make minimal changes only” in the system prompt, but you have to remember to include it in every session, and sub-agents may not necessarily inherit the same constraints.
The upstream Ponytail project refers to this habit as “lazy senior dev mode”: advance tasks with the minimal change that fully solves the problem, and make replies easy to read in one go. Maintainer Vincent-chk implemented this as the DSH plugin @dsh-ext/dsh-ponytail (GitHub: Vincent-chk/dsh-ponytail), accessible via a single bundle: once enabled in Plugins, it applies to every session in the current profile without needing to memorize slash commands. Community directory page: https://www.skillhub.cn/plugins/Vincent-chk/dsh-ponytail.
What is this¶
dsh-ponytail packages the rules and skills of the upstream Ponytail into a Cordis patch. When the bundle is enabled, it injects a ponytail:rules segment (order 9500) during prompt assembly at every step, and registers six Ponytail-related skills; disabling the bundle removes the rules and all skills. The intensity is determined by the config option defaultMode, not toggled via runtime commands.
The package name is @dsh-ext/dsh-ponytail (current version 0.1.1, MIT). It requires DSH version >=0.2.1-rc.2 <0.3.0. Please do not confuse it with the unrelated old package dsh-ponytail@0.2.0 on npm—installing the wrong one will report incompatibility with the current DSH.
Core Features¶
Always-on rules¶
The prompt segment includes PONYTAIL MODE ACTIVE — level: <level> along with standardized Ponytail rules; these are re-read in every session, at every assembly step, and including sub-agents within this profile. Sending an entire message with content exactly stop ponytail or normal mode will terminate the rules for the current process (consistent with upstream behavior); reopening the bundle or restarting restores the configured level.
Six Skills¶
The session directory allows the model to load the corresponding skill when a request matches; for example, review-related requests can fall into ponytail-review without additional gestures. The five task skills can also be triggered manually by entering /ponytail-review, /ponytail-audit, /ponytail-debt, /ponytail-gain, /ponytail-help; the core ponytail skill is only loaded by the model when needed.
Four-level defaultMode¶
Set defaultMode in the bundle line configuration; there are no commands or state files:
defaultMode |
Behavior |
|---|---|
off |
Do not inject rules; the six skills can still be loaded on demand. |
lite |
Implement as requested; point out a smaller alternative in one line. |
full |
Full Ponytail rules (default). |
ultra |
Challenge whether the request is reasonable before starting implementation. |
Resolution order: the environment variable PONYTAIL_DEFAULT_MODE takes precedence over the inline defaultMode, otherwise it defaults to full.
Intentionally not ported capabilities¶
The README states: Claude Code status bar/local HTML dashboards, upstream /ponytail level commands and state files, and per-project leveling are not ported; the DSH side already has token/cache displays, while switches and levels are handled by the bundle and deployment configuration.
Installation and Activation¶
Choose either method; the installation is the same bundle (including dsh.bundle.patch).
Plugins → Add plugin or CLI dsh plugin add can use:
| Channel | Spec |
|---|---|
| GitHub | github:Vincent-chk/dsh-ponytail |
| Git URL | https://github.com/Vincent-chk/dsh-ponytail |
| Tarball | After running npm pack in the checked-out directory, fill in the absolute path of the .tgz |
| Local Directory | The absolute path of this repository directory |
Plugin Market Index: Add the following in Plugins → Discover → Add index source:
https://vincent-chk.github.io/dsh-ponytail/market/index.json
Then install from the card. Officially, the package has not been published to npm yet (see PUBLISHING.md in the repository for npm publish).
Disabling the bundle on the Plugins page removes the rules and the six skills; enabling it again restores them.
Adjusting Intensity (defaultMode)¶
Add an override line in the profile’s cordis.patch.yml. The loader replaces the complete config for that line, so you need to specify the desired level:
- id: ponytail
name: '@dsh-ext/dsh-ponytail'
config:
defaultMode: lite # off | lite | full | ultra
After modification, HMR will reassemble; if it doesn’t take effect, you can toggle the bundle off and on again on the Plugins page.
Typical Usage¶
- Install and enable the bundle, keep the default
full, and daily coding sessions will automatically carry the minimal complete change constraint. - When code review is needed, directly describe requests like “review this change”, or input
/ponytail-review. - If you only want light constraints temporarily, set
defaultModetolite; useultraif you want the model to challenge requirements before writing code. - To exit the rules within a single conversation: send a standalone message
stop ponytailornormal mode.
Running npm test in the repository runs self-checks and bundle injection tests, used to verify level syntax, disable phrases, the integrity of the six resources, and the non-registration of extra commands, etc.; developers can run this locally after checking out, but installation users generally do not need to execute it.
Scenarios and Notes¶
It is suitable for developers who want DSH to maintain a “senior-style small-step delivery” long-term without having to write system prompts manually every time; it is classified as a workflow plugin.
The plugin runs with the permissions of the current DSH process. Before installation, please read the repository source code and the MIT license, and confirm the source is Vincent-chk/dsh-ponytail rather than the old npm package dsh-ponytail. If compatibility errors related to dsh-ponytail@0.2.0 or DSH 0.1.0-rc.6 appear, follow the README Troubleshooting to uninstall the wrong package and install via github:Vincent-chk/dsh-ponytail or the market index instead.
Conclusion¶
dsh-ponytail consolidates Ponytail’s always-on rules and six skills into a one-click bundle, using defaultMode to control intensity, making it suitable for fixing the “minimal complete change” habit within DSH. Directory: https://www.skillhub.cn/plugins/Vincent-chk/dsh-ponytail; Source and documentation: https://github.com/Vincent-chk/dsh-ponytail.