openmozi: Skill for Claude Code

.claude/skills/commit/SKILL.md

commit is a skill for Claude Code from spytensor/openmozi. It costs 35 tokens per session (521 once invoked), scanned A, original, MIT.

A guided way to finalize code changes in a Git repository. It checks the changes, updates the project version, runs the build and tests, and prepares a commit and push.

In plain words
What is it for?
Use it when you want to commit changes: inspect the diff, choose a version increase, find or use a related GitHub issue, run the checks, commit with attribution, push, and close the issue when appropriate.
Why use it?
It reduces the chance of committing untested code or forgetting related issue references, version updates, or the final push.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

This is spytensor/openmozi's own configuration. It tells Claude Code how to work on openmozi 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 openmozi configures →

Reuse

Borrowing it

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

Made for: Claude Code.

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/spytensor/openmozi/commit/github.svg)](https://agentmods.dev/skills/spytensor/openmozi/commit)
Your own site
<a href="https://agentmods.dev/skills/spytensor/openmozi/commit"><img src="https://agentmods.dev/badge/skills/spytensor/openmozi/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/spytensor/openmozi/commit"><img src="https://agentmods.dev/badge/skills/spytensor/openmozi/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 521 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.00035 $0.00521
Opus 5.5 $0.00014 $0.00208
Sonnet 5.5 $0.00007 $0.00104
Haiku 4.5 $0.00003 $0.00052

Measured 2mo ago against content hash 3f590ee1b970, 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.

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

What it actually says

Smart Commit

When the user asks to commit, execute ALL of these steps:

Step 1: Analyze Changes

git status
git diff --stat
git diff
git log --oneline -5

Understand what was changed and why.

Step 2: Determine Version Bump

Read package.json to get the current version. Determine the bump type based on changes:

  • patch (x.y.Z): bug fixes, minor tweaks
  • minor (x.Y.0): new features, new commands, new modules
  • major (X.0.0): breaking changes

Update the "version" field in package.json.

Check if there are open GitHub issues related to the changes:

gh issue list --state open --limit 20

Match the changes against issue titles/descriptions. If a related issue is found, reference it in the commit message as (#N) and close it after pushing.

If $ARGUMENTS contains an issue number, use that directly.

Step 4: Build & Test

pnpm build
pnpm test

If either fails, fix the issues before committing. Do NOT commit broken code.

Step 5: Commit

Stage the changed files (be specific, avoid git add -A for safety):

git add <specific files>
git commit -m "<type>: <description> (#<issue>)

Co-authored-by: Mozi <[email protected]>"

Commit type: feat: for features, fix: for bugs, refactor: for refactors, chore: for config/deps.

Step 6: Push

git push origin main

If a related issue was found:

gh issue close <N> --comment "Implemented in <commit-hash> (v<new-version>)."

Step 8: Report

Print a summary:

  • Version: old -> new
  • Commit: hash
  • Files changed: count
  • Issue closed: #N (if any)
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 · 87 lines · 35 tokens per session scan A 3f590ee1b970

Subscribe to this mod's changes

commit is a skill published in the GitHub repository spytensor/openmozi (441 stars, last pushed 3mo ago), licensed MIT. It adds 35 tokens to every session and 521 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.

Related

commit compared with skills from other repositories

commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
commitspytensor/openmoziSkill4413mo agoMITA35Claude Code
github-pr-workflowStarryCod/cogitumSkill125mo agoMITD20Claude Code, Codex
caveman-commitJuliusBrussee/cavemanSkill118kyesterdayApache-2.0A38Claude Code
baby-sitlangchain-ai/open-sweSkill11kyesterdayMITA30Claude Code, Codex
meta-pre-commit-quality-gateopensquilla/opensquillaSkill7.1k6d agoApache-2.0A68Claude Code, Codex
commitopenonion/connectonionSkill1.5kyesterdayApache-2.0A26Claude Code, Codex
app_tagline_backfillrome-os/romeSkill889yesterdayMITA0Claude Code, Codex