fit-framework: Skill for Claude Code

.agents/skills/commit/SKILL.md

commit is a skill for Claude Code, Codex from ModelEngine-Group/fit-framework. It costs 34 tokens per session (448 once invoked), scanned A, original, MIT.

A Git commit workflow, where a commit is a saved checkpoint of code changes. It also checks copyright years and updates the related task status.

In plain words
What is it for?
Use it when saving code changes with Git, checking changed files, writing a Conventional Commit message, and marking the related task as complete or needing more work.
Why use it?
It provides a consistent way to review and record changes before finishing or handing off work. It also helps keep required project records up to date.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

This is ModelEngine-Group/fit-framework's own configuration. It tells Claude Code and Codex how to work on fit-framework 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 fit-framework configures →

About the project

FIT is an enterprise AI development framework with a multilingual function engine, a flow orchestration engine, and Java tools for connecting language models, knowledge bases, and external tools. It is for Java-oriented teams building AI applications that can run locally or in distributed deployments with plugins. The catalogue add-ons provide commands, skills, instructions, and settings for working with FIT.

ModelEngine-Group/fit-framework · 2,117 stars · on GitHub · modelengine-ai.net

Reuse

Borrowing it

Nothing to install: this file belongs to ModelEngine-Group/fit-framework. 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/ModelEngine-Group/fit-framework/main/.agents/skills/commit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ModelEngine-Group/fit-framework

Made for: Claude Code, Codex.

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

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

agentmods 80×15 button for commit

Your own site · 80×15
<a href="https://agentmods.dev/skills/modelengine-group/fit-framework/commit"><img src="https://agentmods.dev/badge/skills/modelengine-group/fit-framework/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 448 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00034 $0.00448
Opus 5.5 $0.00014 $0.00179
Sonnet 5.5 $0.00007 $0.00090
Haiku 4.5 $0.00003 $0.00045

Measured 2mo ago against content hash bc4b00b082a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.agents/skills/commit/SKILL.md · 62 lines

What it actually says

提交代码

步骤 0:检查用户本地修改(CRITICAL)

git status --short
git diff

仔细阅读 git diff 输出,在用户修改的基础上进行增量编辑,不要覆盖用户的实现。

步骤 1:版权头年份检查(CRITICAL)

current_year=$(date +%Y)
echo "当前年份: $current_year"

对每个修改的文件检查版权头:

  • Copyright (C) 2024-2025 -> Copyright (C) 2024-<current_year>
  • Copyright (C) 2024 -> Copyright (C) 2024-<current_year>

步骤 2:分析变更并生成提交信息

提交消息格式(Conventional Commits):

  • <type>(<scope>): <subject>,subject 使用中文且约 20 字以内
  • scope 参考:.codex/ -> codex,framework/fit/java -> fit,framework/waterflow -> waterflow,framework/fel -> fel

Codex 署名:

🤖 Generated with Codex

Co-Authored-By: Codex <[email protected]>

步骤 3:创建提交

git commit -m "$(cat <<'EOF'
<type>(<scope>): <subject>

<body>

🤖 Generated with Codex

Co-Authored-By: Codex <[email protected]>
EOF
)"

提交后:任务状态更新

根据情况更新任务状态:

  • 最终提交 -> 执行 complete-task 归档任务
  • 需要继续 -> 更新 task.md 中的 updated_at
  • 需要审查 -> 更新 current_step 为 code-review
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. 2mo ago First seen · 62 lines · 34 tokens per session scan A bc4b00b082a1

Subscribe to this mod's changes

commit is a skill published in the GitHub repository ModelEngine-Group/fit-framework (2,117 stars, last pushed 7mo ago), licensed MIT. It adds 34 tokens to every session and 448 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.