← 返回 Skills 市场
40
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install skill-git-scm
功能描述
Clone or update a git repository to a local path
使用说明 (SKILL.md)
git: interface 1 - clone or update
res=$(bash scripts/git_clone_or_update.sh \x3CGIT_REMOTE_URL> \x3CGIT_LOCAL_PATH> [GIT_BRANCH])
Input value
GIT_REMOTE_URL: Required, remote git repository addressGIT_LOCAL_PATH: Required, local storage directoryGIT_BRANCH: Optional, target branch, default main
Return value (res=stdout)
Success:
SUCCESS: Git cloneSUCCESS: Git update
Error:
ERROR: GIT_REMOTE_URL is required...ERROR: GIT_LOCAL_PATH is required...ERROR: Failed to enter directory...
More skills: https://github.com/lentiancn/skills
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install skill-git-scm - 安装完成后,直接呼叫该 Skill 的名称或使用
/skill-git-scm触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Minor documentation update: clarified input parameter formatting in SKILL.md.
- Emphasized the default branch (main) for the optional GIT_BRANCH parameter.
v1.0.0
Initial release of skill-git-scm.
- Enables cloning or updating a git repository to a specified local path.
- Supports optional branch specification (defaults to "main").
- Returns clear success or error messages for integration or debugging.
元数据
常见问题
Git 是什么?
Clone or update a git repository to a local path. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 40 次。
如何安装 Git?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install skill-git-scm」即可一键安装,无需额外配置。
Git 是免费的吗?
是的,Git 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Git 支持哪些平台?
Git 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Git?
由 Len(@lentiancn)开发并维护,当前版本 v1.0.1。
推荐 Skills