commit-optimization

commit-optimization is a skill for Claude Code from fusengine/agents. It costs 20 tokens per session (226 once invoked), scanned B, original, MIT.

A configuration guide for reducing the amount of built-in Git guidance loaded by Claude Code when another commit workflow already provides it. Context tokens are the text budget an AI agent can consider during a task.

In plain words
What is it for?
Use it when configuring settings.json for fuse-commit-pro, or when setting the environment variable that disables Claude Code’s built-in Git instructions.
Why use it?
It avoids loading overlapping instructions, leaving more context available for the actual coding work.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the fuse-commit-pro plugin — 4 skills, 10 commands, 1 agent shipped together

Good fit Use it when configuring settings.json for fuse-commit-pro, or when setting the environment variable that disables Claude Code’s built-in Git instructions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fusengine/agents/commit-optimization
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.

Any agent
npx skills add fusengine/agents --skill commit-optimization
Clone the repo
git clone --depth 1 https://github.com/fusengine/agents

Made for: Claude Code.

Or install fuse-commit-pro, the plugin that ships this one along with the rest of its 4 skills, 10 commands, 1 agent.

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-optimization

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fusengine/agents/commit-optimization"><img src="https://agentmods.dev/badge/skills/fusengine/agents/commit-optimization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 226 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00020 $0.00226
Opus 5.5 $0.00008 $0.00090
Sonnet 5.5 $0.00004 $0.00045
Haiku 4.5 $0.00002 $0.00023

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

Security

Grade B, and why

commit-optimization scanned grade B with 1 finding 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

For best results with fuse-commit-pro, add this to your `~/.claude/settings.json`:
plugins/commit-pro/skills/commit-optimization/SKILL.md · 25 lines

What it actually says

Commit Optimization

Optimization: Disable Built-in Git Instructions

For best results with fuse-commit-pro, add this to your ~/.claude/settings.json:

{
  "includeGitInstructions": false
}

This removes Claude Code's built-in commit/PR workflow instructions from the system prompt, saving 2-5% context tokens. fuse-commit-pro provides its own comprehensive git workflow that supersedes the defaults.

Note: CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS=1 env var takes precedence over this setting.

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 · 25 lines · 20 tokens per session scan B 4c46cfab43dc

Subscribe to this mod's changes

commit-optimization is a skill published in the GitHub repository fusengine/agents (33 stars, last pushed 7d ago), licensed MIT. It adds 20 tokens to every session and 226 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.