← 返回列表

toolshrink

DeepSeek HarnessClaude Code 工具与能力 低风险

按内容语义压缩工具结果:13 个 reducer 在 tools/post-execute 阶段按含义裁剪超长输出(保留失败的测试、丢弃 diff 上下文、对 JSON 与 CSV 抽样、lint 问题按规则归类、依赖库的调用栈帧折叠、文件过多的目录只给计数),完整原文落盘保存并留一个定位符可取回。

Content-aware tool-result reducer: 13 reducers cut oversized output by meaning at tools/post-execute (failing tests kept, diff context dropped, JSON and CSV sampled, lint problems grouped by rule, dependency stack frames collapsed, crowded directories counted), with full originals spilled to disk behind a locator.

怎么安装

DeepSeek Harness dsh plugin add github:unclecode/toolshrink
Claude Code git clone https://github.com/unclecode/toolshrink ~/.claude/skills/toolshrink

简介

toolshrink **Cut large agent tool output by what it means, not by where it was cut.** I use Claude Code every day, and I always wanted to intervene in how it manages context. In the early days you could edit the session JSONL directly. Then that door closed. When DeepSeek open-sourced Harness, where everything is a plugin, I looked inside. Tool output there is cut by size: keep the head, keep the tail, drop the middle. I read Codex and pi, and they do the same. None of them look at what the text contains. That fails in a predictable way. Your test suite prints 5,000 passing lines and 3 failure…

推荐参考

52 工具本身 · 参考星标、下载量、最近更新、安全检查和文档情况
用户关注 · 参考最近的查看、安装命令复制和外链访问
52 推荐程度
0访问
0独立访客
0复制安装命令
0下载点击
0外链跳转

信息

协议
MIT
语言
TypeScript
GitHub 星标
10
月下载
最近更新
2026-08-19
创建于
2026-08-17

链接

GitHub ↗ 报告问题 ↗

基础安全检查

检查结果
curated 收录但无 npm 包/安装命令
收录来源
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
主题标签
ai-agents, claude-code, context-engineering, deepseek-harness, developer-tools, dsh-plugin, llm

同类推荐

MCP 服务器 新上架
推荐100

openclaw

openclaw/openclaw

你的个人AI助手。任意操作系统。任意平台。龙虾之道。🦞

☆ 386.9K ↓ 11.3M 工具与能力
MCP 服务器 新上架
推荐93

fastmcp

punkpeye/fastmcp

用于构建MCP服务器的TypeScript框架。

☆ 3.3K ↓ 2.3M 工具与能力
MCP 服务器 新上架
推荐92

Figma-Context-MCP

GLips/Figma-Context-MCP

MCP服务器,向Cursor等AI编码代理提供Figma布局信息。

☆ 15.7K ↓ 351.8K 工具与能力
MCP 服务器 新上架
推荐90

mobile-mcp

mobile-next/mobile-mcp

用于移动自动化与抓取的模型上下文协议服务器(iOS、Android、模拟器、仿真器和真实设备)

☆ 6.0K ↓ 99.3K 工具与能力