Apache-2.0 の DeepSeek Harness ネイティブプラグイン。`dsh plugin add` で導入し、dsh web UI に Context ダッシュボードタブと `/context` コマンドを追加。ウィンドウ構成・履歴・圧縮イベント・トークンコストを可視化します。
DSH 統合
ネイティブ実行
作者による申告
安全性監査
未監査
最終検証日
2026-08-21
ライセンス
Apache-2.0
01どんなタスクに使えるのか?
See exactly what fills the agent's context window right now
A six-color stacked composition bar scaled against the model's full context window (system prompt, tool schemas, user messages, injected context, assistant replies, tool results), remaining headroom, and the top-5 most expensive tool schemas
Developers running DeepSeek Harness (dsh) who need to find out which part of the conversation is eating the context budget
Track how the context window grows and shrinks across a session
One stacked bar per model request with Turn/Step granularity, hover tooltips, pinnable full breakdowns (estimated vs. provider-reported tokens), and ✂ markers where compaction or pruning reclaimed tokens
Engineers debugging long DeepSeek Harness sessions who want to watch compaction and prune events instead of guessing
Inspect what any single request was actually assembled from
Context browser (also via the `/context` command): six collapsible category sections expanding into every element with its token price and actual content — system prompt, tool schemas, message text, reasoning, tool-call arguments and outputs
Plugin and skill authors who want to verify what context their injections add to each DeepSeek Harness request
02DeepSeek Harness への導入方法
前提条件
- A DeepSeek Harness (dsh) installation — the plugin is added from any existing dsh installation
インストール手順
- 01
Install from any DeepSeek Harness installation: `dsh plugin --profile web add dsh-context`
$ dsh plugin --profile web add dsh-context
- 02
Update later with: `dsh plugin --profile web update dsh-context@latest`
$ dsh plugin --profile web update dsh-context@latest
- 03
Start the web UI with `dsh web` — no build step, no restart
$ dsh web
導入成功の確認
作者は未記載
03DSH 統合と能力の範囲
Native DeepSeek Harness plugin installed via `dsh plugin add`, adding a Context dashboard tab to the dsh web UI plus a `/context` slash command
Context tab dashboard
any open DeepSeek Harness session in the dsh web UI→context stats (turns, steps, injections, compactions, prunes), current composition, per-request history, context events, and the model-visible message list
`/context` slash command
`/context` typed in a dsh chat (or picked from the `/` menu)→a centered dialog with the Current Composition card and the Context browser — same composition bar, legend, and per-step browsing as the tab, without leaving the chat
Context events log
the session's compaction, prune, injection and model-switch events→every event with its token delta, turn/step attribution and timestamp, filterable by category (Inject / Compact / Prune / Switch)
Context browser
Live (next request) or any retained step from the picker→per-element breakdown of what the request was assembled from, down to actual content (system prompt text, tool JSON schemas, message text, reasoning, tool-call arguments and outputs)
elements older than the loaded chat window page older history in automatically when expanded
04誰に向いているのか?使うべきでない場面は?
向いている用途
- Developers running DeepSeek Harness (dsh) who need to find out which part of the conversation is eating the context budget
- Engineers debugging long DeepSeek Harness sessions who want to watch compaction and prune events instead of guessing
- Plugin and skill authors who want to verify what context their injections add to each DeepSeek Harness request
不向きな用途
- The dashboard is delivered as a tab in the dsh web UI and must be installed with the `web` profile (`dsh plugin --profile web add`); usage is tied to running `dsh web`.
- The repository was created on 2026-08-14 and is at v0.19.2, so the plugin is very young and its interfaces may still change.
05互換性・メンテナンス・セキュリティ上の注意
- Steps before a compaction are reconstructed from the removed-message archive, so their makeup can be only approximate; the card says so when that happens.
- The dashboard is delivered as a tab in the dsh web UI and must be installed with the `web` profile (`dsh plugin --profile web add`); usage is tied to running `dsh web`.
- The repository was created on 2026-08-14 and is at v0.19.2, so the plugin is very young and its interfaces may still change.
Apache-2.0 · actively maintained (latest release v0.19.2, 2026-08-20)
06よくある質問
DeepSeek Harness に dsh-context をインストールするには?
任意の dsh インストール環境で `dsh plugin --profile web add dsh-context` を実行し、`dsh web` で web UI を起動するだけです。ビルド手順も再起動も不要です。更新は `dsh plugin --profile web update dsh-context@latest` で行えます。
ネイティブプラグインですか、それとも MCP ですか?
DeepSeek Harness のネイティブプラグインです。インストールすると dsh web UI に Context / 上下文 タブが追加され、チャットセッション内で `/context` スラッシュコマンドが使えるようになります。MCP の設定は不要です。
コンテキストウィンドウの何が確認できますか?
モデルの完全なコンテキストウィンドウに対する 6 色構成の現在の内訳、残りの余裕、トークン消費の大きい上位 5 つのツールスキーマ、モデルリクエストごとの積み上げバー履歴、圧縮・刈り込み・注入・モデル切替イベントごとのトークン増減、そしてモデルが現在見ているメッセージ一覧とメッセージ単位のトークンコストです。
トークン数は正確ですか?
推定値と、プロバイダーが報告した実際の prompt/output トークン数(利用可能な場合)を併記します。compaction 以前のステップは削除済みメッセージのアーカイブから再構成されるため、構成が概算となる場合はカードにその旨が表示されます。
プラグインはデータを外部へ送信しますか?
README で説明されているのは dsh web UI 内でのコンテキストデータの純粋な可視化です。履歴の閲覧や要素の展開時に古いチャット履歴が自動的にページング読み込みされますが、外部サービスへの送信についての記載はありません。
07関連する DSH ワークフロー
api-relay-audit
by toby-bridges
AI API リレー・LLM プロキシのローカルセキュリティ監査。プロンプトインジェクション、モデル置換、ツール改ざん、SSE 異常、エラー漏洩、Web3 ウォレットリスクを検出
awesome-deepseek-harness-plugins
by zhiyuan-fan
DeepSeek Harness(DSH)向け厳選プラグイン・拡張・ツール・スキル・クライアント・統合のリスト(英中)
awesome-ai-pedia
by awesome-ai-pedia
AI スキル・MCP・Agent 全次元リソース百科。大規模モデル、RAG、マルチモーダル、MLOps、Vibe coding 等を収録
awesome-deepseek-harness
by libukai
DeepSeek Harness 究極ガイド:クイックスタート、リソース、厳選プラグインとツールキット
08データと出典
The best [DeepSeek Harness plugin](https://www.deepseek.com/harness/) for Agent's context insights and management.
dsh plugin --profile web add dsh-context
このページは、プロジェクトの公開ドキュメント、リポジトリのメタデータ、および DSH Plugins の構造化解析に基づいて生成されています。最終検証日:2026-08-21。誤りを見つけた場合は、修正を送信してください。
dsh プラグイン おすすめ
最初に入れたい 12 のプラグイン。全カタログ・全カテゴリから厳選しました。
