Borrowing it
Nothing to install: this file belongs to funiq-lab/your-mind. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/funiq-lab/your-mind/main/.claude/commands/commit.mdgit clone --depth 1 https://github.com/funiq-lab/your-mindWrote 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/commands/funiq-lab/your-mind/commit)<a href="https://agentmods.dev/commands/funiq-lab/your-mind/commit"><img src="https://agentmods.dev/badge/commands/funiq-lab/your-mind/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/commands/funiq-lab/your-mind/commit"><img src="https://agentmods.dev/badge/commands/funiq-lab/your-mind/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.00013 | $0.00837 |
| Opus 5.5 | $0.00005 | $0.00335 |
| Sonnet 5.5 | $0.00003 | $0.00167 |
| Haiku 4.5 | $0.00001 | $0.00084 |
Grade A, and why
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 2mo 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 仓库中,并确认分支与工作区状态:
- 运行
git rev-parse --is-inside-work-tree - 运行
git status -sb
- 运行
-
如果工作区没有任何变更(clean):
- 告知用户"没有需要提交的变更",并询问下一步要做什么。
-
生成变更摘要(用于提交信息与确认范围):
- 运行
git diff --name-status - 如需要更细节,再运行
git diff
- 运行
-
确定当前分支:
- 运行
git rev-parse --abbrev-ref HEAD
- 运行
-
生成提交信息:
- 提交信息必须符合 Conventional Commits 规范:
- 基本格式:
<type>(<scope>): <subject> scope可选;subject用现在时/祈使语气、简洁明确,避免句号结尾。
- 基本格式:
- 常用
type(本仓库以文档/笔记为主,通常用docs/chore):docs: 文档/笔记/规范更新chore: 工具/配置/脚本/工作流调整refactor: 结构调整但不改变外部行为(例如整理目录结构但不改语义)fix: 修正错误内容/链接/拼写feat: 新增可用能力(例如新增一条可执行 command / 新模板)
scope建议用改动所在的主目录/主题(择一即可):life-os、docs、claude、output、news、tech、inspiration。- 若用户在执行
/push时提供了自定义 message:- 先检查是否匹配
^(feat|fix|docs|refactor|style|test|chore)(\([^)]+\))?(!)?: .+ - 若不匹配:停止并要求用户确认是否改为符合规范的提交信息。
- 先检查是否匹配
- 若用户未提供 message:
- 基于第 3 步的变更摘要,自动生成一条单行 Conventional Commit(仅 subject)
- 示例:
docs(life-os): 翻译 CLAUDE.local 模板为中文chore(claude): 更新 push 命令为仅提交模式fix(docs): 修复 life-os 参考文档中的失效链接
- 提交信息必须准确反映改动意图,避免空泛词(如
WIP/update/changes)。
- 提交信息必须符合 Conventional Commits 规范:
-
暂存所有变更:
- 运行
git add -A - 再次运行
git status -sb确认暂存结果。
- 运行
-
创建提交:
- 运行
git commit -m "{message}" - 如果提示"nothing to commit",说明没有可提交内容:停止并告知用户。
- 运行
-
最后输出一段简短总结:
- 本次提交信息
- 涉及的主要文件/目录
- 提示用户可手动运行
git push推送到远程 - 询问用户接下来要处理什么
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.
- 2mo ago First seen · 65 lines · 13 tokens per session scan A a74e2f09826e
commit is a command published in the GitHub repository funiq-lab/your-mind (11 stars, last pushed 10mo ago), licensed MIT. It adds 13 tokens to every session and 837 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-30.
commit compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| commitfuniq-lab/your-mind | Command | 11 | 10mo ago | MIT | A | 13 | Claude Code |
| standupvvedantb/eva | Command | 101 | yesterday | MIT | A | 0 | Claude Code |
| gitazrtydxb/procoder | Command | 211 | 11d ago | Apache-2.0 | A | 20 | Claude Code |
| session-reportdamusix/atomic-claude | Command | 115 | 5d ago | MIT | A | 31 | Claude Code |
| commitechoVic/blade-code | Command | 181 | 24d ago | MIT | A | 8 | Claude Code |
| git-workflowHermeticOrmus/LibreUIUX-Claude-Code | Command | 115 | 1mo ago | MIT | A | 14 | Claude Code |
| commitjoaquimscosta/arkhe-claude-plugins | Command | 22 | 22d ago | MIT | A | 11 | Claude Code |