dsh-tool-git
Run the following command in DeepSeek Harness:
dsh plugin install lxj808624/dsh-tool-git
Paste the following prompt into your AI chat to install this plugin:
In DeepSeek Harness, you can install this plugin by running the command `dsh plugin install https://github.com/lxj808624/dsh-tool-git`.
About this plugin
During AI-assisted coding workflows, agents constantly interact with Git, but the stock runtime often exposes only raw shell access, creating significant risks: destructive commands (like force push or hard reset) can be executed accidentally, while direct command string interpolation leaves systems vulnerable to injection. dsh-tool-git is built to solve these core problems. It delivers a structured set of eight common Git tools (for status, diff, log, commit, staging, and more) designed specifically for the DeepSeek Harness platform. Each tool runs through a secure, shell-free subprocess, eliminating injection risks and parsing outputs into clean, model-friendly JSON. Crucially, it features a proactive "safety gate" that monitors both its own tool calls and Git commands issued via other shell tools. This gate intercepts and blocks destructive operations like branch deletion or force pushes before they happen, providing a robust security layer for automated workflows. This plugin is ideal for teams and individual developers using DeepSeek Harness for intelligent development who prioritize codebase safety and operational audibility.
Use Cases
- Preventing agents from accidentally executing `git push --force` or `git reset --hard` in automated pipelines.
- Using in CI/CD pipelines or code review workflows that require structured Git output for model parsing.
- Adding a security checkpoint layer to scenarios where Git commands are executed via shell tools.
Best For
- Developers using DeepSeek Harness for intelligent agent development.
- Technical teams that prioritize the safety of repository operations.
- Automation engineers needing AI models to perform Git tasks safely and reliably.
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.