r/DeepSeek • • 20h ago

Discussion Exploring DSH

Hi guys, do u have tips on using dsh, since Im new to it / exploring. Like what are the ways to optimize the token usage? Do u install ponytail/rtk/caveman?

Also there is no ask mode? Like what if I will just to ask only. I know there is a presets ( standard, ptc, minimal). Those presets are equal to ask/plan mode?

Thanks.

5 Upvotes

16 comments sorted by

3

u/hahahoha 19h ago edited 18h ago

found this on bilibili, a toolkit plugin for DSH that reduces token usage by 50%

op said the next update will reduce token usage by roughly 97% (latest comment in the video)

https://github.com/T-Auto/dsh-ops

一键节省大肥鱼 40% token 花费的dsh插件!_哔哩哔哩_bilibili

1

u/Final_Bodybuilder490 17h ago

Thank you, I'll look into it.

1

u/itisnotreal1 17h ago

Does optimization reduce output quality?

1

u/hahahoha 17h ago

when replying to others who had the same question, op said no, if anything, it increases the intelligence. (my guess is becos useless tokens are greatly reduced so context window information density is higher)

0

u/l0rd_raiden 10h ago

Is there something like this for Linux?

3

u/itisnotreal1 17h ago

Actually in default it’s really token efficient

1

u/Final_Bodybuilder490 17h ago

so no need to add ponytail/rtk/caveman(are they plugin/library/package?)

2

u/itisnotreal1 15h ago

I developed an inventory control bot that includes a web crawler and Telegram integration; the total cost was less than $0.40 in off peak.

1

u/DesperateProcess136 19h ago

for new models i just stick with minimal preset and short prompts to cut tokens quick. ask only works fine that way without extra installs.

1

u/Final_Bodybuilder490 19h ago

-but the minimal is also agent , right ? like can edit in my codebase depending on my prompt?
-I mean for the ask, like in the plan mode we will invoke "/plan", so for the ask, if I type "/ask" no one will show. Regardless if what preset Im using.

1

u/Optimal_Bowl3349 18h ago

standard preset gives better flow for companion style chats without needing ask mode or any addons.

1

u/Final_Bodybuilder490 17h ago

so basically like this
-standard mode-> I will prompt-> the agent will perform or edit my codebase.

But IS IT possible also like
-standard mode->. I will prompt, add guardrails like "[Insert my prompt/task]. PS:Im just asking, dont touch any codebase.

1

u/Senior_Western_7388 17h ago

i tried ptc preset for straight roleplay asks on a new model and it kept responses tight without any addons or mode switches. saved me a ton of tokens once i stopped overexplaining my prompts.

1

u/Frail_Waif 15h ago

Run it in a container, because there's no read sandbox. I haven't found a huge need for a plan mode. DeepSeek is remarkably good at respecting prompts to plan first, and other models often get stuck because of DeepSeek harness's requirement to read before editing, which serves as a sort of tricky plan mode guard. 

1

u/ImportantSpread7499 4h ago

Have a good auto compactor and ponytail + headroom is what work for me