AI Agent Hub
Back to plugins
🖥️

dsh-git-tools

Client Updated 2026.08.26

Run the following command in DeepSeek Harness:

dsh plugin install Shyboy0499/dsh-git-tools

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

Run dsh plugin install Shyboy0499/dsh-git-tools in the DeepSeek Harness terminal to install this plugin; the source is available at https://github.com/Shyboy0499/dsh-git-tools .

About this plugin

When pairing with a coding agent inside DeepSeek Harness, a recurring gap is that the agent needs to see what changed in the working tree, review the diff, glance at recent commits, and land a commit — yet without a dedicated git plugin it either cannot do these at all or has to fall back to fragile shell commands.

dsh-git-tools is a zero-dependency dsh plugin that exposes four local git tools through the official tool API. git_status reports the current branch, ahead/behind counts, and staged, unstaged, and untracked files. git_diff returns either a stat summary or the full patch, with an optional path filter. git_log lists recent commits (10 by default, up to 100, also path-filterable). git_commit stages specific paths or everything via all, and commits with a required non-empty message. Every tool accepts an optional cwd that defaults to the session workspace.

Safety is baked into the design. All git invocations go through execFile with arguments passed as arrays, eliminating shell interpolation and the injection risk it carries. git_commit demands an explicit, non-empty message and never stages files on its own. The plugin intentionally omits destructive operations such as --amend, --force, rebase, and reset.

It is well suited to developers who work with the dsh coding agent day to day and want the agent to handle the inspect-review-commit git workflow autonomously, while keeping every action explicit, scoped, and side-effect-free.

Use Cases

  • Agent inspects branch state and uncommitted changes within the session
  • Review diffs then let the agent create a commit with a well-formed message
  • Glance at recent commits to gain context before making changes

Best For

  • Developers who use the dsh coding agent on a daily basis
  • Teams that want the agent to handle git inspect-and-commit autonomously
  • Users who prioritize safety and side-effect-free operations