dsh-automode
Run the following command in DeepSeek Harness:
dsh plugin install log-li/dsh-automode
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install log-li/dsh-automode in the DeepSeek Harness terminal to install the plugin; the source code is available at https://github.com/log-li/dsh-automode .
About this plugin
The fastest way to lose trust in an autonomous agent is one careless command executed at the wrong moment. dsh-automode plugs into DeepSeek Harness as a pre-execution gate that intercepts every tool call before it runs, combining deterministic guardrails with a cost-aware LLM reviewer so dangerous actions never reach the shell. A regex deny layer hard-blocks exfiltration, secret access, and system-path writes with zero LLM cost; a prefix-glob allow layer approves routine commands instantly; and a full-trust allowPaths whitelist lets curated directories skip the classifier entirely, auto-granting sandbox escalations through an approval bridge. Only the remaining borderline actions reach a two-stage classifier—a one-token pre-screen followed by a structured review for flagged calls, with a five-minute verdict cache—keeping most tool calls to roughly one extra token of overhead. A circuit breaker pauses auto mode after three consecutive or twenty total denials and routes the decision to a human, who resumes it with a single confirmation. Every allow, deny, and bridge verdict is appended to a local JSONL audit trail. It is not an OS sandbox and does not change your user-account permissions; it is a safety layer specifically for the grey zone of autonomous agentic execution, built for developers who want to hand long-running tasks to their agent without hovering over every approval prompt.
Screenshots
Use Cases
- Prevent accidental file deletion, secret exfiltration, or system-path tampering during long autonomous coding runs
- Whitelist trusted directories so routine file ops and git commands skip confirmation entirely while dangerous calls are still caught
- Audit every agent decision post-hoc via the local JSONL trail to trace exactly what was allowed, denied, or escalated
Best For
- Developers running long autonomous tasks with DeepSeek Harness agents
- Operators who want fewer per-call confirmations but still need a hard safety net
- Team leads who require auditable, traceable agent behavior for compliance or review
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.