commit-conventions

A set of rules for writing Git commit messages in the AReaL repository. It uses a standard format and derives the change scope from the files you edited.

In plain words
What is it for?
Use it whenever a Git commit is made, including commits created during pull-request workflows or by other agents.
Why use it?
It removes guesswork when naming commits and keeps the project history consistent and easier to search.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/areal-project/areal/commit-conventions
Any agent
npx skills add areal-project/AReaL --skill commit-conventions
Clone the repo
git clone --depth 1 https://github.com/areal-project/AReaL

Made for: Claude Code, Codex.

Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,256 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00031 $0.01256
Opus 5 $0.00015 $0.00628
Sonnet 5 $0.00006 $0.00251
Haiku 4.5 $0.00003 $0.00126

Measured 2d ago against content hash d5d764038726, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

commit-conventions 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 2d 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-conventions/SKILL.md · 181 lines

How it starts

The opening of the file, as written. The whole thing — 181 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Commit Conventions

Commit message conventions and scope inference rules for the AReaL repository.

When to Use

ALWAYS load this skill when making any git commit in AReaL. This includes:

  • Direct commits (git commit)
  • Commits during PR creation ($create-pr / /create-pr)
  • Commits delegated to sub-agents with this skill loaded
  • Any agent workflow that produces a commit

Commit Message Format

<type>(<scope>): <subject>

<body>

[Optional sections:]
Key changes:
- change 1
- change 2

Refs: #123, #456

Type Selection

Type When to Use
feat New feature or capability
fix Bug fix
docs Documentation only
gov Governance or maintainer changes
style Formatting/style-only changes
refactor Code change without feature/fix
perf Performance improvement
test Adding or fixing tests
build Build system or dependencies
ci CI pipeline or workflow changes
chore Build, deps, config changes
revert Revert a previous commit

Scope Inference

Infer scope from the primary changed file paths:

File Path Pattern Scope
areal/workflow/ workflow
areal/engine/ engine
areal/reward/ reward
areal/dataset/ dataset
areal/api/ api
areal/utils/ utils
areal/infra/ infra
areal/trainer/ trainer
areal/models/ models
areal/experimental/ experimental
docs/ docs
examples/ examples
AGENTS.md, .agents/, .claude/, .codex/, .opencode/ agents
Multiple areas Omit scope or use broader term

Read the full file on GitHub · 181 lines

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. 2d ago First seen · 181 lines · 31 tokens per session scan A d5d764038726

Subscribe to this mod's changes

commit-conventions is a skill published in the GitHub repository areal-project/AReaL (5,708 stars, last pushed today), licensed Apache-2.0. It adds 31 tokens to every session and 1,256 once invoked, about $0.0002 per session on Opus 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.