Agent skill

Commit

by spytensor in spytensor/openmozi

Smart commit: bump version, find related issues, commit with Co-authored-by, push.

MITAuto-check passedDevelopment

Install Commit

skills CLI
$ npx skills add spytensor/openmozi --skill commit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install spytensor/openmozi commit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/spytensor/openmozi.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/commit .claude/skills/commit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
commit
GitHub stars
439
Token cost
~480 tokens
SKILL.md length
195 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

Smart commit: bump version, find related issues, commit with Co-authored-by, push.

  • Works in 8 steps: Analyze Changes → Determine Version Bump → Find Related Issues → …
  • The user says commit
  • SKILL.md covers Step 1: Analyze Changes, Step 2: Determine Version Bump, Step 3: Find Related Issues and Step 4: Build & Test, plus 4 more sections
  • Calls git, gh and pnpm

What it does

Commit is an agent skill from spytensor/openmozi. Smart commit: bump version, find related issues, commit with Co-authored-by, push. Use when the user says 'commit' or wants to finalize changes.

Its SKILL.md is about 480 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The repository describes itself as: A custom Agent OS built to be hackable, heavily inspired by OpenClaw. The licence is MIT.

When your agent uses it

  • The user says commit
  • Wants to finalize changes

Example prompts

  • “commit”
  • “/commit”

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Analyze Changes
  2. Determine Version Bump
  3. Find Related Issues
  4. Build & Test
  5. Commit
  6. Push
  7. Close Related Issues
  8. Report

What it can do on your machine

Read from SKILL.md and the folder at commit ac46df0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • gh
    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, gh and pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Commit loads about 480 tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 195 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~480

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from spytensor/openmozi at commit ac46df0, republished under its MIT licence (© spytensor). 195 words, ~480 tokens.

Download SKILL.mdSave it as .claude/skills/commit/SKILL.md (or your agent's skills folder).
name
commit
description
Smart commit: bump version, find related issues, commit with Co-authored-by, push. Use when the user says 'commit' or wants to finalize changes.
disable-model-invocation
true

Smart Commit

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

Step 1: Analyze Changes

bash
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:

bash
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

bash
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):

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

Co-authored-by: Mozi <MoziAI-co@users.noreply.github.com>"

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

Step 6: Push

bash
git push origin main

If a related issue was found:

bash
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)

© spytensor, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/commit of spytensor/openmozi.

Open the folder on GitHubat commit ac46df0

Compare with similar skills

Commit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Commit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Commit this skillspytensor/openmozi439—~480Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k24 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Greplooponyx-dot-app/onyx32k4 repos~3.3kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 24 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed
  • Guidelines

    akash-network/node

    Behavioral guidelines to reduce common LLM coding mistakes. An agent skill from akash-network/node.

    1.1k GitHub starsUsed in 22 repos~577 tokens
    DevelopmentAuto-check passed

More from spytensor/openmozi

All 13 skills in this repo
  • Pipeline

    spytensor/openmozi

    Full development pipeline: create GitHub issue, plan, implement with agent team, verify (build+test), commit, push, close issue.

    439 GitHub stars~549 tokensUpdated 2 mo ago
    Auto-check passed
  • Skill Authoring

    spytensor/openmozi

    How to install a skill package a user hands over (.skill/.zip/.tar.gz), and how to write a new skill into this runtime so it is listed, enabled and usable.

    439 GitHub stars~1.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Coding Agent

    spytensor/openmozi

    Structured coding workflow: read, plan, implement, test, verify

    439 GitHub stars~723 tokensUpdated 2 mo ago
    Auto-check passed
  • Research Workflow

    spytensor/openmozi

    Structured research workflow: decompose the question, search in parallel, cross-verify sources, synthesize with citations.

    439 GitHub stars~594 tokensUpdated 2 mo ago
    Auto-check passed
  • Self Ops

    spytensor/openmozi

    Runtime self-diagnosis knowledge: database layout, observability APIs, timeout hierarchy, restart procedure, failure replay.

    439 GitHub stars~767 tokensUpdated 2 mo ago
    Auto-check passed
  • Creative Writing

    spytensor/openmozi

    Creative content workflow: brief, research, outline, draft, refine.

    439 GitHub stars~373 tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Commit

What does Commit do?

Smart commit: bump version, find related issues, commit with Co-authored-by, push. Commit is an agent skill from spytensor/openmozi. Smart commit: bump version, find related issues, commit with Co-authored-by, push.

When should I use Commit?

Commit fits situations like: the user says commit; wants to finalize changes.

How do I install Commit in Claude Code?

Run `npx skills add spytensor/openmozi --skill commit -a claude-code`. Or copy the skill folder (.claude/skills/commit in spytensor/openmozi) into .claude/skills/commit in your project. Claude Code loads it when a task matches its description.

How do I install Commit in Codex?

Run `npx skills add spytensor/openmozi --skill commit -a codex`. Or copy the skill folder (.claude/skills/commit in spytensor/openmozi) into .agents/skills/commit in your project. Codex loads it when a task matches its description.

Can I use Commit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add spytensor/openmozi --skill commit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/commit, .gemini/skills/commit, .github/skills/commit and .opencode/skills/commit in your project.

What does Commit need to run?

Going by SKILL.md and its folder, Commit needs the command-line tools its instructions call (git, gh and pnpm).

Does Commit access the network?

SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Commit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Commit use?

Commit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Commit use?

About 480 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Commit?

Skills that share tags, products or a category with Commit: Finishing a Development Branch (obra/superpowers, 296k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars) and Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Commit?

spytensor (a GitHub user) maintains it in spytensor/openmozi, which has 439 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on August 7, 2026.

Source: spytensor/openmozi on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.