chimneyQ/dsh-context-toolkit

dsh-context-toolkit is a DSH bundle whose single job is keeping bulk output out of the conversation: it runs commands in child processes, analyses files in a sandbox, files long material into a local FTS5 knowledge base on node:sqlite, and returns only conclusions, excerpts and counts - with a routing gate that refuses calls (like raw curl) that would flood the transcript.

dsh-context-toolkit is a DeepSeek Harness bundle whose single job is keeping bulk output out of the conversation, separating raw bytes from conclusions. It exposes model-facing tools: ctk_execute runs code in a sandboxed child process (javascript / esm / typescript / shell) and returns only the answer; ctk_execute_file runs code over a file for statistics or extraction while the file text stays in the sandbox; ctk_batch_execute answers several commands in one call with per-command status; ctk_index files text or a file into a local FTS5 knowledge base and ctk_search pulls match-centred excerpts on demand; ctk_fetch_and_index fetches pages, strips markup and files them; ctk_purge deletes filed material (requiring confirm: true); ctk_stats reports a savings ledger of refusals, sandbox bytes, filed bytes and call counts; and ctk_context_report reports this conversation's context occupancy.

Agent Capabilities ★ 1
View on GitHub ↗

Install

dsh plugin --profile desktop add dsh-context-toolkit

Copied verbatim from the README's Install block (the npm form). The README also documents dsh plugin --profile desktop add github:chimneyQ/dsh-context-toolkit and a local-checkout form. npm package dsh-context-toolkit at 0.2.1 (registry check 2026-10-16; the registry repository field resolves back to this repo).

Compatibility

The bundle's whole point is keeping bulk output out of the conversation: raw bytes stay in a child process or a sandbox while the conversation receives only conclusions, excerpts and counts. Its routing gate refuses, before execution, the calls (such as curl / wget pasting whole responses) that would inevitably flood the transcript, and names the alternative; a ctk_doctor self-check verifies interpreters really start, the scratch dir is writable and the knowledge round-trip works, and ctk_context_report reports the conversation's own occupancy and composition.

Details

Alternatives

030611/dsh-telemetry-redactor · 173787247/dsh-wsl-env · acnlabs/dsh-plugin-acn

More plugins in Agent Capabilities

Browse more in Agent Capabilities

Guides for Agent Capabilities plugins