dsh-tool-budget
Run the following command in DeepSeek Harness:
dsh plugin install 173787247/dsh-tool-budget
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install 173787247/dsh-tool-budget in DeepSeek Harness to install; the source code is available at https://github.com/173787247/dsh-tool-budget .
About this plugin
In long sessions, an agent rarely repeats the same tool call; it simply rotates through different tools and still burns through your API quota. dsh-repeat-stop blocks identical repeated calls; this plugin caps the total number of tracked tool calls per session. Together they form a complete usage safety net.
The mechanism is straightforward: a configurable maxCalls limit (default 80) governs how many tracked calls are allowed per session, and the 81st is denied outright. Job-status tools (job_*) are excluded by default so long-running shell jobs remain observable. You can fine-tune which tools count via include and exclude, raise maxCalls, or disable the plugin entirely. It is a safety rail, not a licensing constraint.
Ideal for anyone running extended WSL tasks who wants a hard stop before an agent consumes unbounded API quota. No new tools are added; blocked calls appear as dsh-tool-budget: blocked in Trajectory for easy post-hoc review.
Use Cases
- Prevent tool-call quota burn in long WSL sessions
- Hard-stop protection when API budget is limited
- Pair with repeat-stop for a complete usage guard
Best For
- Users running long WSL sessions
- Cost-conscious API administrators
- Ops teams needing usage audit trails
Related Plugins
A security red-team prompt plugin for DeepSeek-V4 that uses code-formal mapping and zero-trigger system prompts to enable unconditional output, intended for authorized testing and research only.
Adds an Auto approval mode on the official workspace-write sandbox, classifying semantic risks, asking when ambiguous, and denying destructive operations.
Undo/rollback system for DSH: config & plugin snapshots, one-click undo/redo/restore, message-level revert, secret masking, safe mode, and offline WebUI/GUI/CLI rescue tools for when DSH won't start.
Packages all 87 SKILL.md files from upstream reverse-skill as a DeepSeek Harness plugin that auto-registers them for authorized reverse engineering, penetration testing, and security research.