fe: Skill for Codex

.codex/skills/cmt/SKILL.md

cmt is a skill for Codex from n9e/fe. It costs 57 tokens per session (1,506 once invoked), scanned A, original, Apache-2.0.

A slash-command workflow for preparing Git commits in fast or strict mode. Git is the version-control system used to track code changes.

In plain words
What is it for?
Use /cmt to inspect changes, prepare a conventional commit, review it, and optionally run stricter simplification and verification.
Why use it?
It checks the branch and working tree before committing, catches formatting problems, and requires approval before the commit is made.

Skill for Codex

Written for Codex: installed under .codex/. Also seen: mentions AGENTS.md.

This is n9e/fe's own configuration. It tells Codex how to work on fe 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 fe configures →

View source ↗ n9e/fe
Reuse

Borrowing it

Nothing to install: this file belongs to n9e/fe. 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/n9e/fe/main/.codex/skills/cmt/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/n9e/fe

Made for: 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 cmt

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/n9e/fe/cmt"><img src="https://agentmods.dev/badge/skills/n9e/fe/cmt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,506 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.00057 $0.01506
Opus 5.5 $0.00023 $0.00602
Sonnet 5.5 $0.00011 $0.00301
Haiku 4.5 $0.00006 $0.00151

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

Security

Grade A, and why

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

.codex/skills/cmt/SKILL.md · 229 lines

How it starts

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

/cmt — Git Review & Commit

Override: This skill replaces the default system commit workflow when /cmt is invoked. Follow this skill exactly.

When the user invokes /cmt [mode], prepare a conventional commit for current git changes.

Command Mode Behavior
/cmt fast Default. Inspect changes, run git diff --check, show summary, wait for approval.
/cmt fast fast Same as default.
/cmt strict strict Simplify safely, run full review, verify, wait for approval.

Unknown modes: stop and list fast and strict.

Workflow

1. Parse Mode And Check Status

Default to fast when no mode is provided.

git branch --show-current
git status --short --branch

Identify:

  • current branch
  • staged files
  • unstaged changes
  • untracked files
  • merge conflicts

Stop if:

  • working tree is clean → report "Nothing to commit"
  • merge conflicts are present → report conflicts
  • only untracked files with unclear purpose → ask before staging

Branch policy:

  • main or master: always require extra-clear confirmation before commit.
  • Feature branches (feat*): proceed through the selected mode, but still require explicit user approval.
  • Other branches: use judgment; ask briefly if unclear.

If unrelated changes are mixed together, ask what to include before proceeding.

2. Inspect Current Changes

For staged changes:

git diff --staged

For unstaged changes:

git diff

Focus on:

  • correctness and regressions
  • accidental debug code, secrets, generated noise, or unrelated churn
  • whether the change should be split into separate commits

If there are unstaged changes that belong to the same task, include them. If unrelated, ask before staging.

Read the full file on GitHub · 229 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. 1mo ago First seen · 229 lines · 57 tokens per session scan A 1e19d16b5b97

Subscribe to this mod's changes

cmt is a skill published in the GitHub repository n9e/fe (308 stars, last pushed today), licensed Apache-2.0. It adds 57 tokens to every session and 1,506 once invoked, about $0.0002 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-09.