← Back to list

dsh-plugin-save-token

DeepSeek Harness Memory Low risk

Reversible context slimming for DeepSeek Harness: TOON-style lossless tabular re-encoding of uniform JSON arrays, stride-sampled table windows with line numbers, and cross-turn dedup for repeated tool output; every replacement passes a byte-plus-token gate (≤72% bytes, strictly fewer estimated tokens) and the original is spilled to disk behind a `[save-token #id]` notice retrievable in one call via the `save_token_expand` tool, with billed and avoided token metering on a settings dashboard.

可逆的上下文瘦身插件:均匀 JSON 数组走 TOON 式无损表格化重编码,管道表按行号抽样保留窗口,90 秒内字节级相同的工具输出跨轮去重;每次替换都要通过双重门(压缩后 ≤72% 字节且估算 token 严格下降),原文落盘并以 `[save-token #id]` 标记,可用 `save_token_expand` 工具一步取回;设置页仪表盘分别统计实际计费与节省的 token。

How to install

DeepSeek Harness dsh plugin add dsh-plugin-save-token

About

dsh-plugin-save-token English | 简体中文 **In one sentence: a DeepSeek Harness (dsh) dynamic plugin that cuts token cost without cutting model intelligence.** It slims down oversized tool outputs at the entrance of every model request — **reversibly and structure-aware**. The full original text is always saved to disk; what the model sees is always a condensed version carrying a retrieval path. Every optimization obeys one red line: **any replacement must be restorable in one step**, and the estimated token count after compression must be strictly smaller than the original. --- Why you need it The…

Recommendation signals

54 Tool quality · Based on stars, downloads, maintenance, security and docs
User interest · Adjusted by in-site views, install copies and download clicks
54 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
JavaScript
GitHub stars
4
mo. downloads
Last push
2026-08-29
Created
2026-08-27

Links

Basic safety check

Findings
None
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
agent, dsh-plugin, token-optimization

Related plugins

Claude Code
Score82

get-shit-done

gsd-build/get-shit-done

A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.

☆ 64.6K ↓ 47.9K Memory
DeepSeek Harness
Score79

dsh-mnemon

dsh-external/dsh-mnemon

Composable three-tier memory control plane for DeepSeek Harness: persistent runtime context, searchable project documents, pluggable long-term memory, guarded strategies, WebUI, and headless tools.

☆ 303 ↓ 22.6K Memory
DeepSeek Harness
Score79

hindsight

vectorize-io/hindsight/tree/main/hindsight-integrations/coding-agents

Hindsight, agent memory that learns: long-term project memory with auto recall and retain, knowledge pages, deep reflection, and per-repo memory banks.

☆ 22.0K ↓ 119.1K Memory
MCP ServerClaude CodeCodex
Score78

mcp-ssh-manager

bvisible/mcp-ssh-manager

MCP SSH Server: 37 tools for remote SSH management | Claude Code & OpenAI Codex | DevOps automation, backups, database operations, health monitoring

☆ 463 ↓ 4.4K Memory