Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add adongwanai/learn-workbuddy --skill git-commitgit clone --depth 1 https://github.com/adongwanai/learn-workbuddyWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/adongwanai/learn-workbuddy/git-commit)<a href="https://agentmods.dev/skills/adongwanai/learn-workbuddy/git-commit"><img src="https://agentmods.dev/badge/skills/adongwanai/learn-workbuddy/git-commit/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/adongwanai/learn-workbuddy/git-commit"><img src="https://agentmods.dev/badge/skills/adongwanai/learn-workbuddy/git-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00450 |
| Opus 5.5 | $0.00000 | $0.00180 |
| Sonnet 5.5 | $0.00000 | $0.00090 |
| Haiku 4.5 | $0.00000 | $0.00045 |
Grade A, and why
git-commit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Git Commit 技能
触发条件
当用户说以下内容时激活:
- "帮我提交代码"
- "commit 一下"
- "保存进度"
- "check in"
工作流程
1. 检查变更
git status
git diff --staged
git diff
2. 分析变更类型
根据变更内容判断类型:
| 类型 | 说明 | 示例 |
|---|---|---|
feat |
新功能 | 新增 API 端点 |
fix |
Bug 修复 | 修复空指针异常 |
docs |
文档变更 | 更新 README |
style |
代码格式 | 格式化、去尾部空格 |
refactor |
重构 | 提取公共函数 |
test |
测试 | 新增单元测试 |
chore |
构建/工具 | 更新依赖版本 |
3. 生成提交信息
格式:<type>(<scope>): <subject>
feat(auth): 添加 OAuth2 登录支持
- 集成 Google 和 GitHub OAuth2 provider
- 添加 token 刷新机制
- 登录成功后重定向到 dashboard
4. 执行提交
git add <相关文件>
git commit -m "<提交信息>"
注意事项
- 提交信息用中文描述(除非用户指定英文)
- 一次提交只做一件事,不要混合多个不相关变更
- 不要提交
.env、密钥等敏感文件 - 如果 pre-commit hook 失败,先修复问题再提交
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 69 lines · 0 tokens per session scan A a4efc01d7e56
git-commit is a skill published in the GitHub repository adongwanai/learn-workbuddy (437 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 450 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
git-expert
Expert-level Git version control with advanced workflows, branching strategies, and best practices for team collaboration. Use when the user mentions version control, collaboration, or workflow, or when the task involves Essential Git Commands, Advanced Git Techniques, Branching Strategies, or Conflict Resolution.
codex-adapter
Route ONE bounded, mechanical task to the Codex CLI as a non-Claude executor, under the same review-before-merge gate as any other agent-produced diff. Use when the user explicitly asks to hand a task to Codex, or names OpenAI Codex / a non-Claude executor for a mechanical change (rename a symbol across files, add a…
clean
Pre-commit anti-slop audit — checks staged/dirty files for code slop (debug artifacts, single-use helpers, dead imports) AND documentation slop (stale claims, broken internal links, new .md files, redundant sections). Writes a sentinel so the pre-commit-gate hook lets the commit through. MUST be invoked before git…
commit-helper
Conventional commit helper — analyze changes, detect secrets, create well-formatted commit.
caveman-commit
Write a Conventional Commits message compressed to intent only. Use for "write a commit", "commit message", /commit or /caveman-commit.
git
Source-control safety for Git. Two rules apply whether or not you read the body. First, never commit, amend, push, tag, rebase, cherry-pick, revert, or reset --hard unless the user asked for that exact write in this session. An explicit request to create a new commit counts anywhere in the user's own task text, but it…