← 返回 Skills 市场
dinghaibin

Git Tool

作者 BIN · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
44
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install git-tool
功能描述
Useful Git commands for repository management. Use when user needs to manage git repositories, create branches, view history, stash changes, or automate git...
使用说明 (SKILL.md)

Git Tool

Useful Git commands for repository management.

Quick Start

# Initialize repo
python scripts/git.py init

# View status
python scripts/git.py status

Usage

python scripts/git.py COMMAND [OPTIONS]

Commands:
  init          Initialize repository
  status        Show working tree status
  branch        List branches
  commit        Create commit
  log           View commit history
  stash         Stash changes
  diff          Show changes

Examples

# Initialize
python scripts/git.py init

# Status
python scripts/git.py status

# View log
python scripts/git.py log --oneline

# Create branch
python scripts/git.py branch new-feature

# Stash changes
python scripts/git.py stash save "work in progress"

# Commit
python scripts/git.py commit -m "Update files"

Features

  • Repository initialization
  • Branch management
  • Commit creation
  • History viewing
  • Stash operations
  • Diff viewing
安全使用建议
This skill is a harmless wrapper around the local git program. Before installing or running it: 1) ensure you have git installed on the host (the skill metadata omitted that requirement); 2) be aware that commands like push/pull will contact remote repositories and use whatever SSH keys or stored credentials your git is configured to use (the script itself does not collect or send credentials); 3) review and test the script in a safe repository if you are concerned about unintended commits or pushes. If you want the registry metadata to be accurate, ask the publisher to declare the git binary as a required dependency.
功能分析
Type: OpenClaw Skill Name: git-tool Version: 1.0.0 The git-tool skill bundle is a standard wrapper for common Git operations (init, status, commit, etc.). The implementation in scripts/git.py uses the subprocess module securely by passing arguments as lists, avoiding shell injection risks, and does not exhibit any signs of data exfiltration, persistence, or malicious intent.
能力评估
Purpose & Capability
The name, description, SKILL.md, and the included script all describe and implement a git wrapper (init, status, branch, commit, stash, diff, push, pull). This capability legitimately requires the local git binary, but the registry metadata lists no required binaries — that's an omission but not malicious.
Instruction Scope
SKILL.md only instructs running the bundled scripts/git.py with git-like commands. The script only invokes the system 'git' command via subprocess and prints results. It does not read arbitrary files, external endpoints, or environment variables beyond what git itself may use.
Install Mechanism
There is no install spec (instruction-only with one bundled script). Nothing is downloaded or written to disk by an installer as part of the skill — the only code is the included scripts/git.py.
Credentials
The skill declares no required environment variables and the script does not access extra env vars. However, normal git operations (push/pull) can use credential helpers, SSH keys, or stored credentials from the user's environment/config — the skill itself doesn't request or exfiltrate them, but running it will cause git to use whatever credentials are configured on the host.
Persistence & Privilege
always is false and the skill does not modify other skills or system-wide agent settings. It does not request persistent presence or elevated privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install git-tool
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /git-tool 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug git-tool
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Git Tool 是什么?

Useful Git commands for repository management. Use when user needs to manage git repositories, create branches, view history, stash changes, or automate git... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 44 次。

如何安装 Git Tool?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install git-tool」即可一键安装,无需额外配置。

Git Tool 是免费的吗?

是的,Git Tool 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Git Tool 支持哪些平台?

Git Tool 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Git Tool?

由 BIN(@dinghaibin)开发并维护,当前版本 v1.0.0。

💬 留言讨论