KLineChartQuant: Skill for OpenCode

.opencode/skills/commit-message-generator/SKILL.md

commit-message-generator is a skill for OpenCode from 363045841/KLineChartQuant. It costs 15 tokens per session (256 once invoked), scanned A, original, Apache-2.0.

A guide for writing Git commit messages in the Conventional Commits format, a shared style such as `feat` for a feature or `fix` for a correction. It uses the current diff and status to describe the change and its reason.

In plain words
What is it for?
Use it to inspect pending Git changes and produce a correctly structured commit title, body, and any needed breaking-change or issue note.
Why use it?
It avoids vague or inconsistent commit messages and helps each commit clearly communicate its purpose.

Skill for OpenCode

Written for OpenCode: installed under .opencode/.

This is 363045841/KLineChartQuant's own configuration. It tells OpenCode how to work on KLineChartQuant itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything KLineChartQuant configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 363045841/KLineChartQuant. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/363045841/KLineChartQuant/main/.opencode/skills/commit-message-generator/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/363045841/KLineChartQuant

Made for: OpenCode.

Wrote 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.

agentmods badge for commit-message-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/363045841/klinechartquant/commit-message-generator/github.svg)](https://agentmods.dev/skills/363045841/klinechartquant/commit-message-generator)
Your own site
<a href="https://agentmods.dev/skills/363045841/klinechartquant/commit-message-generator"><img src="https://agentmods.dev/badge/skills/363045841/klinechartquant/commit-message-generator/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.

agentmods 80×15 button for commit-message-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/363045841/klinechartquant/commit-message-generator"><img src="https://agentmods.dev/badge/skills/363045841/klinechartquant/commit-message-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 256 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.00256
Opus 5.5 $0.00006 $0.00102
Sonnet 5.5 $0.00003 $0.00051
Haiku 4.5 $0.00002 $0.00026

Measured 27d ago against content hash 1f99650e78d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

commit-message-generator 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 27d 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.

.opencode/skills/commit-message-generator/SKILL.md · 38 lines

What it actually says

提交信息生成

流程

  1. 查看 git diff 与 git status,弄清改动范围、类型与原因
  2. 标题格式:type(scope): 描述
  3. 只写单行标题,不补正文,除非用户明确要求
  4. 关联 issue 补脚注

scope类型:feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert

格式

<type>(<scope>)!: <描述>
<脚注:Closes #123>

要点

  • 标题用祈使语气("add" 而非 "added"),≤72 字符,结尾无句号
  • 只写单行标题,不补正文
  • 破坏性改动加 !:feat(api)!:
  • 一次提交只做一件事
  • 提交前确认测试通过

示例

feat(auth): add password reset
feat(api)!: switch to JWT authentication
Changes

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.

  1. 27d ago Changed · -1 lines 1f99650e78d1
  2. 1mo ago First seen · 39 lines · 15 tokens per session scan A 61d73a50d639

Subscribe to this mod's changes

commit-message-generator is a skill published in the GitHub repository 363045841/KLineChartQuant (37 stars, last pushed today), licensed Apache-2.0. It adds 15 tokens to every session and 256 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-09-19.