DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Tool Governor — DSH Plugin for DeepSeek Harness
← Plugins
T

dsh-tool-governor

Tool Governor

A DeepSeek Harness plugin that intercepts repeated tool calls, caps per-turn budgets, and breaks failure loops to reduce token waste.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:George-Java/dsh-tool-governor#03a274f710b4b65f9019c53a4d3dc4bca25bdcfc
READMECompatibilityVersions

Compatibility and provenance

Tool Governor is published as dsh-tool-governor and currently resolves to version 1.0.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
10/17/2026

Versions

1.0.1stable
10/17/2026

Related plugins

Loading related plugins…

Latest
1.0.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/17/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in models-usage.

Usage@linxin666/dsh-usageUsage statistics plugin for the dsh web GUI: per-provider balance and coding-plan quota detection plus a live token usage ledger, with a compact price glance card above the sidebar's Settings rowClient Ui Model Capabilities@linxin666/dsh-client-ui-model-capabilitiesPer-model capability declarations (image input and reasoning efforts) for custom pi-ai providers, edited in place on the Models settings cards; writes the official llm-pi-ai settings namespace, no DSH source changes.Connect Workbuddydsh-connect-workbuddyConnect locally logged-in WorkBuddy models (domestic and international versions) to DeepSeek Harness. On each refresh, automatically read each model’s credit multiplier from the upstream catalog, support per-model image input toggles, multi-account switching, automatic account rotation from an accouPlugin@opencode2dsh/dsh-pluginFree OpenCode Zen models for DeepSeek Harness (DSH): native dsh-llm adapter plugin, no API key.

README

dsh-tool-governor

A DeepSeek Harness plugin that stops runaway tool calls before they burn through your token budget.

What it does

  • Repeat-call breaker — denies the same tool + argument combination after N repeats
  • Per-turn budget fuse — hard-caps tool calls and model steps per turn
  • Failure-loop cutoff — pauses a tool after consecutive failures
  • Monotonic guard — denies are final; downstream layers cannot re-allow a blocked call

Install

dsh plugin --profile web add dsh-tool-governor

Restart DSH after installing. Verify the bundle is registered:

dsh --profile web --dump-config | findstr dsh-tool-governor

Pin a version, or install directly from source:

dsh plugin --profile web add dsh-tool-governor@1.0.1
dsh plugin --profile web add github:George-Java/dsh-tool-governor

Compatibility

ItemValue
DSH0.2.x (tested on 0.2.1-rc.2)
PlatformWindows / macOS / Linux
Node.js^22.19.0 || >=24.0.0

The plugin hooks tools/pre-execute, tools/post-execute, ctx.tools.guard, and agent/pre-step at the profile root, so it needs only the global tools service. It reads the acting agent from exec.agent / event.agent, and takes the current turn from the agent/pre-step payload (event.turn), falling back to agent.currentTurn on 0.1.x. A new turn starts a fresh budget.

Configuration

All fields are optional — defaults are applied when omitted.

FieldDefaultDescription
maxToolCallsPerTurn24Max tool calls allowed in one turn
maxStepsPerTurn16Max model steps allowed in one turn
repeatThreshold2Deny after the same call repeats this many times
consecutiveFailureThreshold2Pause a tool after N consecutive failures
denyTools[]Glob patterns of tools to always deny (e.g. ["browser_*"])
denyMessagebuilt-inMessage injected when a call is denied

Override through the profile cordis.patch.yml:

- id: dsh-tool-governor
  name: dsh-tool-governor
  config:
    maxToolCallsPerTurn: 12
    repeatThreshold: 1

Uninstall

dsh plugin --profile web remove dsh-tool-governor

How it works

  1. tools/pre-execute — denies blacklisted tools, exhausted per-turn budgets, repeated signatures, and failure loops.
  2. tools/post-execute — counts completed calls and tracks consecutive failures.
  3. ctx.tools.guard — a monotonic, synchronous guard that makes earlier denials final.
  4. agent/pre-step — records the current turn for every agent and rejects the turn once its model-step budget is spent.

Per-agent, per-turn ledgers are keyed by agent id and turn number.

License

MIT