yuzh1090/dsh-voice-prompt-compressor ↗★ 0
dsh-voice-prompt-compressor
DSH plugin: compress verbose voice-dictation text into token-efficient prompts, fully local.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yuzh1090/dsh-voice-prompt-compressor说明文档
阅读完整 README ↗Usage
Skill (recommended): paste rambling voice dictation into the chat. The agent loads the
voice-prompt-compressor skill, calls compress_voice_text, and presents a compressed
four-section prompt (Context / Goal / Constraints / Deliverables).
Tool: the agent can call compress_voice_text directly with these parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
text | string (required) | — | The dictation / transcript text to compress |
language | auto | zh | en | auto | Wordlist language; auto detects by CJK ratio |
mode | light | balanced | aggressive | config | Compression strength |
keepPoliteness | boolean | config | Keep politeness phrases when true |
The tool returns:
{
"compressed": "…",
"originalLength": 512,
"compressedLength": 210,
"estimatedTokensSaved": 76,
"ratio": 0.59,
"removedCategories": { "fillers": 18, "repeats": 3, "politeness": 2 }
}