dsh plugins中文
← Back to popular plugin directory

DSH plugin for proxy-driven span compression

MimicHunterZ/dsh-agent-compact · skills

DSH plugin for agent-driven span compaction: compress chosen conversation spans into self-written checkpoints instead of the official head-anchored full-context sweep.

★ 2GitHub stars
1Forks
2026-08-16Last updated
TypeScriptLanguage
NOASSERTIONLicense

Project overview

Context compression for DeepSeek Harness: lets the agent autonomously call contextcompact to compress a span of the conversation it chooses — the finished, no-longer-needed middle — and replace it with a checkpoint the agent writes itself. Why

The tool call itself happens inside the agent's normal turn and is billed like any other turn; what is avoided is only the extra summarizer request the official engine would make for the same span. Install

dsh plugin forwards to pnpm in the profile directory and appends the bundle to dsh.profile.bundles (see the official publish guide). Restart the profile — every session then sees the contextcompact tool.

Install command

dsh plugin --profile web add github:MimicHunterZ/dsh-agent-compact
View GitHub repository ↗Back to popular plugin directory