commit

commit is a skill for Claude Code, Codex from OriginProtocol/origin-dollar. It costs 62 tokens per session (1,481 once invoked), scanned A, original, MIT.

Handles git commits with auto-staging, pre-commit formatting, and Conventional Commit messages. Use this skill whenever the user says commit it, commit this, commit changes, commit, or any phrase requesting a git commit. Also trigger when the user asks to save my changes or push this in a git context.

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/originprotocol/origin-dollar/commit
Any agent
npx skills add OriginProtocol/origin-dollar --skill commit
Clone the repo
git clone --depth 1 https://github.com/OriginProtocol/origin-dollar

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/originprotocol/origin-dollar/commit.svg)](https://agentmods.dev/skills/originprotocol/origin-dollar/commit)
Your own site
<a href="https://agentmods.dev/skills/originprotocol/origin-dollar/commit"><img src="https://agentmods.dev/badge/skills/originprotocol/origin-dollar/commit.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,481 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.00062 $0.01481
Opus 5 $0.00031 $0.00740
Sonnet 5 $0.00012 $0.00296
Haiku 4.5 $0.00006 $0.00148

Measured today against content hash 084baa5bbf25, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 today.

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.

.claude/skills/commit/SKILL.md · 175 lines

How it starts

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

Commit It

Automates the full commit workflow: inspect changes, format code, stage files, generate a Conventional Commit message, and commit. Designed to be fast — the user said "commit it" because they want it done, not to answer a bunch of questions.

Instructions

1. Check Git State

First, make sure the repo is in a clean state for committing:

git status

If the repo is in the middle of a merge, rebase, or cherry-pick, inform the user and stop. These need to be resolved manually.

If there are no changes (nothing modified, nothing untracked), tell the user "Nothing to commit" and stop.

2. Inspect Changes

Run in parallel to understand what changed:

  • git diff (unstaged changes to tracked files)
  • git diff --cached (already staged changes)
  • git status --porcelain (all changes including untracked files — look for ?? lines)
  • git log --oneline -5 (recent commits for style reference)

Important: Untracked files (?? in git status) are often newly created files from the current session. They MUST be included in the commit alongside modified files.

3. Pre-Commit Formatting

Only run formatters relevant to the files that actually changed. Collect the full list of files to commit:

# Modified tracked files (staged + unstaged)
git diff --name-only
git diff --name-only --cached
# Untracked files (newly created)
git ls-files --others --exclude-standard

If any .sol files under contracts/tests/ changed:

forge fmt <those-files>

If any .sol files NOT under contracts/tests/ changed:

npx prettier --write --plugin=prettier-plugin-solidity <those-files>

If any files under src/js/ or JS config files changed:

yarn lint --fix
yarn prettier --write <changed-js-files>

Do NOT run formatters on the entire project — only pass the specific changed files.

If formatting fails and can't auto-fix, tell the user what's wrong and ask whether to proceed anyway.

4. Stage Files

Read the full file on GitHub · 175 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. today First seen · 175 lines · 62 tokens per session scan A 084baa5bbf25

Subscribe to this mod's changes

commit is a skill published in the GitHub repository OriginProtocol/origin-dollar (151 stars, last pushed yesterday), licensed MIT. It adds 62 tokens to every session and 1,481 once invoked, about $0.0003 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-09-04.

Related

Other skills, from other repositories

analyzing-ethereum-smart-contract-vulnerabilities

Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to detect reentrancy, integer overflow, access control, and other vulnerability classes before deployment to Ethereum mainnet.

mukul975/Anthropic-Cybersecurity-Skills · 49 tokens

analyzing-ethereum-smart-contract-vulnerabilities

Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to detect reentrancy, integer overflow, access control, and other vulnerability classes before deployment to Ethereum mainnet.

xalgorix/xalgorix · 49 tokens

web3-bug-classes

Complete reference for all 10 DeFi smart contract bug classes. Use this when hunting for specific vulnerability types, need attack patterns for accounting desync, access control, incomplete path, off-by-one, oracle manipulation, ERC4626 vaults, reentrancy, flash loans, signature replay, or proxy/upgrade bugs.

Awarexone/web3-bug-bounty-hunting-ai-skills · 72 tokens

web3-methodology-research

External research synthesis from Trail of Bits, SlowMist, ConsenSys, Immunefi, and Cyfrin. Use this for advanced audit methodology, Echidna/Medusa fuzzing setup, Slither custom detector writing, attack pattern deep dives, or the 4-phase learning roadmap.

Awarexone/web3-bug-bounty-hunting-ai-skills · 66 tokens

web3-poc-foundry

Complete Foundry PoC writing guide + all cheatcodes + DeFiHackLabs reproduction patterns. Use this when building a proof of concept exploit, setting up a fork test, using Foundry cheatcodes, or reproducing a known DeFi hack for learning.

Awarexone/web3-bug-bounty-hunting-ai-skills · 59 tokens

web3-triage-report

Bug triage validation system, Immunefi report format, and 20 real paid bounty examples dissected. Use this when validating a finding before submitting, writing an Immunefi report, checking if a bug is actually valid, or studying real examples of paid vulnerabilities.

Awarexone/web3-bug-bounty-hunting-ai-skills · 59 tokens