AI Agent Hub
Back to plugins
⚙️

dsh-tool-git

Workflow Updated 2026.08.15

Run the following command in DeepSeek Harness:

dsh plugin install Huasfan/dsh-tool-git

Paste the following prompt into your AI chat to install this plugin:

To install the dsh-tool-git plugin in DeepSeek Harness, please use the command dsh plugin install Huasfan/dsh-tool-git。. Source: https://github.com/Huasfan/dsh-tool-git

About this plugin

When agents need to interact with Git repositories, traditional shell commands often result in unparseable text outputs that confuse large language models. dsh-tool-git is designed to solve this by providing a suite of structured, model-facing tools for DeepSeek Harness agents. Instead of forcing the model to parse raw text, these tools return structured JSON data directly, ensuring precise command execution.

This plugin offers nine core tools covering critical Git workflow operations, including status checks, diff viewing, committing, branching, and merging. By leveraging the --porcelain=v2 protocol and intelligent parsing, it accurately handles file renames and complex paths, while also supporting the generation of visual diff and read cards to enhance the interaction experience.

With a strong emphasis on security and reliability, the design strictly avoids shell injection risks and supports task cancellation and timeout handling. It is tailored for developers building intelligent workflows using DeepSeek Harness, enabling agents to perform safe and efficient Git automation tasks.

Use Cases

  • Check the current status of a code repository.
  • View and apply code change diffs.
  • Manage code branches and version history.

Best For

  • Developers building AI workflows.
  • Agents requiring automated Git operations.
  • Teams focused on secure code integration.