dsh-ponytail: Automatically Injecting Ponytail as a DSH Plugin

Preface

The DSH plugin ecosystem emphasizes “everything is a plugin.” For developers already using DSH, some capabilities are expected to take effect automatically after installation while being exposed as Skills, rather than adding empty tools. wenaixi/dsh-ponytail is an example of such a plugin: it ported the upstream DietrichGebert/ponytail into a DSH plugin, providing 6 Chinese Skills and injecting its behavior via systemPrompt.

What This Is

wenaixi/dsh-ponytail is a complete port of dietrichgebert/ponytail for DSH, positioned as “lazy senior mode, 6 Chinese Skills, no empty tools.”

The repository is maintained by Wenaixi, with the upstream being DietrichGebert/ponytail, licensed under MIT; the package.json author is marked as Dietrich Gebert, and the copyright notice reads © DietrichGebert / Wenaixi.

Core Features

Core capabilities include:

  • 7-level ladder: YAGNI, Reuse, Standard Library, Platform Native, Existing Dependencies, One-liner, Minimal Implementation; silent when off.
  • 6 Chinese Skills with rank: 550: ponytail, ponytail-review, ponytail-audit, ponytail-debt, ponytail-gain, ponytail-help.
  • Three intensity levels: lite, full (default), ultra.
  • No empty tools: all capabilities are exposed via ctx.skills.
  • The 4 lifecycle Hooks from the upstream hooks/ have been merged into a single DSH plugin, requiring no host configuration.
  • Injection method is systemPrompt:section { name: ponytail, order: 50 }.
  • /ponytail default <mode> writes to config.json.
  • Sub-agents are matched via the PONYTAIL_SUBAGENT_MATCHER regex, with a warn fallback on invalid input, sharing the same section.
  • HMR fully goes through ctx, with hot reload cleaning up in reverse order automatically.

Installation and Enablement

The example below uses the web profile and installs the plugin from npm.

dsh plugin --profile web add @wenaixi/dsh-ponytail

After installation, verify the plugin appears using a configuration dump.

dsh --profile web --dump-config | grep -A2 ponytail

If you see WARN missing peer @deepseek-ai/..., this is normal—peers are provided by the DSH runtime; seeing Packages: +2 Done means success.

Typical Usage

After installation, capabilities take effect automatically without manual triggering. Common commands are as follows:

/ponytail [lite|full|ultra|off]
/ponytail default <mode>
/ponytail-review
/ponytail-audit
/ponytail-debt
/ponytail-gain
/ponytail-help

To exit the current state, you can use the full phrases stop ponytail, normal mode, or use /ponytail off.

To uninstall:

dsh plugin --profile web remove @wenaixi/dsh-ponytail

Configuration

The default intensity priority is as follows:

PONYTAIL_DEFAULT_MODE env > cordis.defaultMode > ~/.config/ponytail/config.json > full

/ponytail default <mode> writes the default mode to config.json. An example configuration:

providerName: ponytail
defaultMode: full  # off|lite|full|ultra

Note: review cannot be set as the default.

Applicable Scenarios and Notes

It is suitable for scenarios where you need to enable ponytail behavior in DSH, switch intensity using the /ponytail command family, and prefer capabilities exposed via Skills rather than empty tools.

Please check the source code and license before installation. This plugin is licensed under MIT, and the upstream DietrichGebert/ponytail is also MIT. The plugin runs with the permissions of the current dsh process, so you should confirm the runtime environment, profile, and configuration source.

peerDependencies include:

@deepseek-ai/cordis
@deepseek-ai/dsh-skill
@deepseek-ai/schemastery

Conclusion

wenaixi/dsh-ponytail provides automatic injection and Skill exposure at the DSH plugin layer: a set of directly usable behaviors composed of a 7-level ladder, three intensity levels, and 6 Chinese Skills. The DSH community directory is an independent site with no official affiliation to DeepSeek / 幻方; specific entries should be referenced against the actual directory. GitHub repository: https://github.com/Wenaixi/dsh-ponytail.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye