dsh-agent-gate
Run the following command in DeepSeek Harness:
dsh plugin install xingyingyuzhui/dsh-agent-gate
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install xingyingyuzhui/dsh-agent-gate in the DeepSeek Harness terminal to install this plugin; the full source is available at https://github.com/xingyingyuzhui/dsh-agent-gate
About this plugin
When you run multiple Claw Agent sessions in parallel, an unauthorized MCP call or an over-privileged skill command can slip through the tool layer silently - by the time you notice in the logs, the damage is done. dsh-agent-gate inserts a layered permission gate at both the pre-execute and tools.guard stages, ensuring every invocation is checked against the actual policy.
Its capabilities go well beyond a simple yes-or-no block. It computes the intersection of official, Agent-level, and session-level permissions and applies them per call. Skills on the denylist are removed from the session skill catalog and command menu, not merely blocked at the skill tool level. Unauthorized MCP services are rejected and stripped from the model visible tool list at session start. When human review is required, the gate routes the request through the official one-time approval flow, and every event is recorded in audit.jsonl with a filterable dashboard that lets you slice by time, result, tool type, and Claw Agent, then export the current view. The official file sandbox for Claw sessions is pinned to read-only or workspace-write by the companion dsh-session-permissions plugin, and the gate can be uninstalled independently without loosening that baseline.
Ideal for teams operating multiple agents with explicit security requirements on tool invocations. If you already rely on dsh-session-permissions for permission boundaries, dsh-agent-gate is the missing runtime interception layer that closes the loop.
Use Cases
- Intercept unlicensed tool calls and MCP services per invocation across parallel multi-agent sessions
- Remove denylisted skills from the command menu and skill catalog rather than merely blocking the skill tool
- Route sensitive calls through official one-time approval and filter or export audit entries by time, result, and tool type
Best For
- Platform admins operating multiple Claw Agent sessions with explicit security requirements on tool invocations
- dsh users already managing permission boundaries with dsh-session-permissions who need a runtime interception layer
- Ops or security engineers who need an auditable denylist for agent skills and MCP services
Related Plugins
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.
Dockyard DSH is a native DeepSeek Harness plugin that unifies official OAuth/client sessions for Codex, Antigravity, Grok, Claude, and Cursor, providing account pool, model catalog, and quota status.