← 返回 Skills 市场
Commit Markdown changes (default:
Braingit
作者
gleb-urvanov
· GitHub ↗
· v0.1.2
335
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install braingit
功能描述
Automate committing Markdown-only changes in a git repo with safe staging, ideal for note snapshots without affecting code or binaries.
使用说明 (SKILL.md)
Braingit
Commit Markdown-only deltas in a git repository (typically a notes/workspace repo) using a deterministic script.
Article: https://github.com/gleb-urvanov/braingit/blob/master/braingit-article.md
Quick start
Commit Markdown changes (default: *.md)
From inside the target git repo:
./scripts/commit_md_changes.sh "md: snapshot"
Or specify a repo path:
BRAINGIT_REPO=/path/to/repo ./scripts/commit_md_changes.sh "md: snapshot"
Change what files are included
BRAINGIT_PATTERN='*.md' ./scripts/commit_md_changes.sh
Behavior
- Reads
git status --porcelain -z - Stages only matching files (default
*.md) - Commits only if something is staged
- Exits
0when there is nothing to do
Scripts
scripts/commit_md_changes.sh- Env:
BRAINGIT_REPO(default: cwd)BRAINGIT_PATTERN(default:*.md)BRAINGIT_DRY_RUN=1
- Env:
References
references/protocol.md— conventions + an OpenClaw cron example
安全使用建议
This skill appears to do what it says: locally stage and commit files matching a glob (default *.md). Before using it: (1) run with BRAINGIT_DRY_RUN=1 to verify which files would be staged; (2) double-check BRAINGIT_PATTERN and BRAINGIT_REPO so you don't accidentally stage more than intended (a broad pattern like '*' would stage everything); (3) avoid storing secrets in Markdown or explicitly exclude sensitive paths in .gitignore; (4) note the script commits locally only—it does not push to remotes or send data over the network. If you plan to run it automatically (cron/OpenClaw), test manual runs first and keep .gitignore tight.
功能分析
Type: OpenClaw Skill
Name: braingit
Version: 0.1.2
The 'braingit' skill is a utility designed to automate git commits for Markdown files. The core logic in `scripts/commit_md_changes.sh` safely handles file paths using null-terminated strings and restricts its operations to a user-defined pattern (defaulting to *.md). No evidence of data exfiltration, unauthorized execution, or malicious prompt injection was found.
能力评估
Purpose & Capability
Name/description match the included script and documentation. The only code file implements staging and committing files matching a user-configurable glob (default *.md), which is exactly what the skill advertises.
Instruction Scope
SKILL.md and scripts operate only on a local git repository: they run git status, git add, and git commit. There are no network calls, external endpoints, or instructions to read unrelated system files. The pattern and repo path are configurable via documented env vars.
Install Mechanism
No install spec; this is an instruction-only skill with a small script included. Nothing is downloaded or written to disk by an installer.
Credentials
No credentials or special environment variables are required. The script accepts optional env vars (BRAINGIT_REPO, BRAINGIT_PATTERN, BRAINGIT_DRY_RUN) that are documented and directly related to its function.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or global agent settings, and only makes local git commits (it does not push or store tokens). Autonomous invocation is enabled by default but is not combined with other risky behaviors.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install braingit - 安装完成后,直接呼叫该 Skill 的名称或使用
/braingit触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.2
Expose braingit article link more prominently.
v0.1.1
Add link to braingit article.
v0.1.0
Initial release: commit Markdown-only changes in a git repo (braingit protocol).
元数据
常见问题
Braingit 是什么?
Automate committing Markdown-only changes in a git repo with safe staging, ideal for note snapshots without affecting code or binaries. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 335 次。
如何安装 Braingit?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install braingit」即可一键安装,无需额外配置。
Braingit 是免费的吗?
是的,Braingit 完全免费(开源免费),可自由下载、安装和使用。
Braingit 支持哪些平台?
Braingit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Braingit?
由 gleb-urvanov(@gleb-urvanov)开发并维护,当前版本 v0.1.2。
推荐 Skills