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 hackerFish/awesome-dsh-skills --skill dsh-git-commitgit clone --depth 1 https://github.com/hackerFish/awesome-dsh-skillsWrote 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/hackerfish/awesome-dsh-skills/dsh-git-commit)<a href="https://agentmods.dev/skills/hackerfish/awesome-dsh-skills/dsh-git-commit"><img src="https://agentmods.dev/badge/skills/hackerfish/awesome-dsh-skills/dsh-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/hackerfish/awesome-dsh-skills/dsh-git-commit"><img src="https://agentmods.dev/badge/skills/hackerfish/awesome-dsh-skills/dsh-git-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00030 | $0.00395 |
| Opus 5.5 | $0.00012 | $0.00158 |
| Sonnet 5.5 | $0.00006 | $0.00079 |
| Haiku 4.5 | $0.00003 | $0.00040 |
Grade A, and why
dsh-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 提交
提交格式(约定式提交)
<type>(<scope>): <subject>
- type:feat(新功能)、fix(修复)、docs(文档)、chore(杂务)、refactor(重构)、test(测试)、perf(性能)
- subject:祈使句,≤ 50 字符,写"动机/效果"而不是"做了什么动作"
- 需要更多上下文时,空一行后写 body:为什么改、影响范围、验证方式
提交前最小自检(逐条确认)
git diff --cached通读一遍,确认没有混入无关改动- 无密钥/令牌/密码:
git diff --cached | grep -iE "token|secret|password|api[_-]?key"无意外命中 - 无大文件、临时文件、构建产物:
.log、node_modules、dist、.DS_Store不进库 - 每个提交只做一件事:功能与格式化分两次提交
- 测试通过后才提交;被测试覆盖的修复在 subject 里写清复现路径
小步提交
- 一次提交对应一个可回滚的逻辑单元
- 先提交能让项目处于"可用状态"的最小改动,再叠加
- 与 issue 关联:
fix: ... (#42)
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 · 32 lines · 30 tokens per session scan A 66721c162f02
dsh-git-commit is a skill published in the GitHub repository hackerFish/awesome-dsh-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 30 tokens to every session and 395 once invoked, about $0.0001 per session on Opus 5.5. 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-31.
Other skills, from other repositories
commit-message
Guidance for writing Git commit messages using Conventional Commits, a common format such as fix, feat, or docs followed by a short description. It focuses on explaining why a change was made.
code-review-zh
A Git-based code review workflow that compares changes from a chosen commit, branch, tag, or merge point. It checks both whether the code follows the repository's written standards and whether it implements the requested specification.
commit
Use when starting implementation work on a task, or when the user asks you to commit changes to the repository.
chinese-commit-conventions
A Chinese-language guide to Conventional Commits, a format for writing consistent Git commit messages, plus related changelog, commit-checking, and commit-helper configuration.
setup-pre-commit
A setup for Husky pre-commit checks in a JavaScript or TypeScript repository. A pre-commit hook runs automatically before a Git commit and can format staged files, check types, and run tests.
setup-pre-commit
A setup guide for Git pre-commit checks, which run automatically before a commit is created. It configures Husky, lint-staged, Prettier, type checking, and tests in a repository.