dsh-token-skills
Manifest validCut token cost in 4 layers without cutting model intelligence: handoff, rtk, headroom, caveman token-saving skills — each also available as a standalone installable plugin.
dsh-token-skills
Cut token cost in 4 layers — without cutting model intelligence.
A DeepSeek Harness preset of four complementary token-saving skills. Each one attacks a different stage of the token pipeline, so they stack:
handoff the context → prune the input → compact the context → terse the output
Stop paying twice for tokens you already have.
flowchart LR
A[Tokenizer] --> B[① Handoff<br>session]
B --> C[② RTK<br>input]
C --> D[③ Headroom<br>context]
D --> E[④ Caveman<br>output]
E --> F[<b>fewer tokens</b>]
Why: every token is money. A long agent session re-sends context it already paid for — past transcripts, padded logs, verbose replies. These four skills stop that leak at each stage.
The four layers
| # | Skill | Layer | What it saves | Backs off to |
|---|-------|-------|---------------|--------------|
| ① | handoff | Session | stop re-reading/rebuilding context between sessions | context-auto-handoff |
| ② | rtk | Input | drop redundant/repeated tokens before they enter the model | RTK (Rust Token Killer) |
| ③ | headroom | Context | compress the live context so the prompt stays small | WanYanTianDe/dsh-headroom |
| ④ | caveman | Output | terse prose — fewer tokens on the way out | skill-caveman |
Each layer is a thin dsh skill (skills/<layer>/SKILL.md). Where a real engine already exists, the skill wires to it instead of re-implementing compression — you get the strategy and the engine, for free.
Standalone repos
Each layer is also its own installable plugin, so you can add just the one you want:
| Skill | Repo | |-------|------| | handoff | WODE25500/dsh-token-handoff | | rtk | WODE25500/dsh-token-rtk | | headroom | WODE25500/dsh-token-headroom | | caveman | WODE25500/dsh-token-caveman |
# install just one
dsh plugin --profile web add dsh-token-handoff
When to use which
- Handoff — the highest-leverage, cheapest habit: write a
HANDOFF.mdnote at session end so the next one starts warm. Use it on every multi-session project. - RTK — per request, before you paste a big file/log/repo listing that's mostly noise.
- Headroom — continuous, for long-lived agents: compact before the window fills, not at the cliff edge.
- Caveman — every reply: it costs nothing and compounds. It changes style, never substance.
They stack to a single habit, not a heavy setup:
before: [past session verbatim] + [entire repo dump] + [fat context] + [verbose response]
after: HANDOFF note → pruned diff → compacted headroom → terse reply
Install
dsh plugin --profile web add dsh-token-skills
Or clone it and drop the skills into ~/.dsh/skills/:
git clone https://github.com/WODE25500/dsh-token-skills
Each skill is also invocable directly — handoff, rtk, headroom, caveman.
Validation
npm test # runs scripts/check-skills.mjs — asserts every bundled skill's frontmatter
License
MIT
Similar plugins
by vibe-any
A DeepSeek Harness (dsh) dynamic plugin that cuts token cost without cutting model intelligence
★ 5
↓ 210/wk
MIT
JavaScript
Sep 6, 2026
dsh plugin --profile web add dsh-plugin-save-tokenTerse prose for DeepSeek Harness — compress the agent's own output so every reply costs fewer tokens (layer 4). Style, never substance.
★ 0
dsh plugin --profile web add dsh-token-cavemanby xingtu1996
DeepSeek Harness (DSH) plugin: 26 production AI-agent skills (Caveman token compression, Ponytail minimalism, engineering practice) as a standard dsh-plugin bundle. 行途技能 DSH 插件包
★ 0
MIT
Python
Sep 12, 2026
dsh plugin --profile web add dsh-xingtu-skillsAuto-injects user-chosen skills into every DSH session, per prompt or once at session start, with a settings page, a composer indicator, and log-deduplicated session-start stamps; verified against DSH
★ 0
dsh plugin --profile web add dsh-spiderby JohnXu22786
Document workshop skill pack: four pure-prompt Agent Skills that turn a codebase into READMEs, PR descriptions, changelogs and code reviews, installed into dsh via a dsh.bundle plugin row.
★ 0
MIT
Python
Aug 16, 2026
dsh plugin --profile web add dsh-docgenby jeremy9682
11 shareable workflow skills for DeepSeek Harness: handoffs, triage, specs, tickets, wayfinding, teaching, mode routing, overnight runs
★ 4
↓ 74/wk
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add @jeremy9682/dsh-skill-pack