← 返回 Skills 市场
commit
作者
BrennerSpear
· GitHub ↗
· v1.0.0
463
总下载
0
收藏
7
当前安装
1
版本数
在 OpenClaw 中安装
/install commit
功能描述
Create a git commit with a contextual message based on current changes, then push the branch.
使用说明 (SKILL.md)
Context
- Current git status: !
git status - Current git diff (staged and unstaged changes): !
git diff HEAD - Current branch: !
git branch --show-current - Recent commits: !
git log --oneline -10
Your task
Based on the above changes, stage everything, create one commit with a contextual message, and push the current branch.
Required sequence:
- Stage changes.
- Create a single commit.
- Push the current branch to origin (use
--set-upstream origin \x3Cbranch>if needed).
Do not use interactive commands and do not output extra commentary.
安全使用建议
This skill will stage all changes and push the current branch to origin using whatever git credentials are configured in the environment — it can therefore publish accidental or sensitive changes. Only allow it to run in repositories you trust, and consider reviewing git status/diff output yourself before invoking. Ensure your environment has the correct remote and credentials, and that you are comfortable with an automated single-commit workflow (no interactive confirmation). If you want more conservative behavior, modify the workflow to prompt before staging/pushing or to exclude certain paths (e.g., secrets).
功能分析
Type: OpenClaw Skill
Name: commit
Version: 1.0.0
The skill bundle is benign. It defines a 'commit' skill that uses standard git commands (`git status`, `git diff`, `git branch`, `git log`) to gather context for an AI agent. The agent is then instructed to stage changes, create a commit, and push to the current branch using Bash. There is no evidence of malicious intent, data exfiltration, persistence mechanisms, or prompt injection designed to harm the system or user. The use of Bash and git commands is directly aligned with the skill's stated purpose.
能力评估
Purpose & Capability
Name and description (create a commit and push) align with the instructions: the SKILL.md explicitly reads git status/diff/log, stages changes, commits once, and pushes to origin. No unrelated binaries, env vars, or installs are requested.
Instruction Scope
Instructions stay within git-related operations (status, diff, branch, log, add, commit, push). However, the required sequence stages all changes and pushes to origin, which will modify the remote repository and could publish sensitive changes if present — this is expected for a commit/push skill but is a notable operational risk to be aware of.
Install Mechanism
Instruction-only skill with no install spec and no code files, so nothing is written to disk or downloaded during install.
Credentials
No environment variables or credentials are requested by the skill. It will rely on whatever git credentials/configuration already exist in the agent's environment (SSH keys, credential helpers), which is appropriate for a git commit/push operation.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request persistent / elevated platform privileges beyond normal agent execution and running Bash commands.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install commit - 安装完成后,直接呼叫该 Skill 的名称或使用
/commit触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial publish
元数据
常见问题
commit 是什么?
Create a git commit with a contextual message based on current changes, then push the branch. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 463 次。
如何安装 commit?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install commit」即可一键安装,无需额外配置。
commit 是免费的吗?
是的,commit 完全免费(开源免费),可自由下载、安装和使用。
commit 支持哪些平台?
commit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 commit?
由 BrennerSpear(@brennerspear)开发并维护,当前版本 v1.0.0。
推荐 Skills