跳到主要内容
Plugin

dsh-command-context

Lovenndme/dsh-command-context

给 DeepSeek Harness 加一个 /context 命令:显示当前会话上下文窗口的占用、剩余空间,以及提示词各部分的占比(系统提示 / 记忆文件 / 技能 / 消息 / 工具结果)。只读、纯本地、不触发模型调用。

形态
Plugin 插件
安装
npm 包安装
需要密钥
否
近月下载
1,120
最近推送
3 天前更新

项目说明

From README

dsh-command-context English 中文 A /context slash command for DeepSeek Harness : type it in a session to see how much of the context window is used, how much is free, and which part of the prompt takes the most room.

Inspired by Claude Code's /context , but every number comes from the harness's own measurement instead of a parallel accounting of its own.

/context top [N] appends the largest surface nodes — the answer to "what is actually eating my context" ( /context 3 is accepted as a shorthand for top 3 ): Tool results are named by the tool that produced them (resolved from tool/call ), so a single oversized output is visible at a glance.

N defaults to 5 and is capped at 20.Illustrative numbers.measured means the headline figure came from reusable provider usage; estimated means it fell back to the character heuristic.Languages The report is bilingual and Chinese is the default ; /con

Original description

A /context slash command for DeepSeek Harness: context window usage, free space, and a per-category breakdown of what fills the prompt.

安装方式

npm 包安装 · 安装无需配置

README 解析
shell
dsh plugin --profile <profile> add dsh-command-context

安全能力

静态扫描源码得到的权限画像 —— 回答的是「它要动什么」,而不是「它好不好」

  • 写入文件
  • 读取文件
  • 读取环境变量

未发现已知红线(明文传输、安装期执行代码、凭据外传等)。

能力与红线来自 awesome-dsh-plugin 的静态扫描结果(CC0 公有领域),本站未逐行复核源码; 它只覆盖能被静态识别的模式,不等于安全审计结论。

为什么是这个分数

近 4 天仍在推送;README 给出了可直接复制的安装命令;装完即可用,无需额外配置;近月 npm 下载 1120 次,star 不多但真在被使用。

维护活跃
96
实用度
66
生态热度
61
上手便捷
100
信号质量
100
数据置信度
100%
评分怎么算