commit skill
Commit all changes on the current branch, main included.
- GitHub stars
- 29
- Files
- 2
- Last commit
- Nov 11, 2026
- License
- MIT
- Allowed tools
- —
What does the commit skill do?
commit is an agent skill. Commit all changes on the current branch, main included.
How to install the commit skill
Each command copies the skill folder into the client's skills directory. Restart the client or start a new session to load it.Install the commit skill in Plugin
/plugin marketplace add svyatov/supermatt /plugin install supermatt@supermatt
Install the commit skill in Claude Code
~/.claude/skills/commit/SKILL.md
$ npx degit svyatov/supermatt/skills/commit ~/.claude/skills/commitInstall the commit skill in Claude Code (project)
.claude/skills/commit/SKILL.md
$ npx degit svyatov/supermatt/skills/commit .claude/skills/commitInstall the commit skill in Codex
~/.agents/skills/commit/SKILL.md
$ npx degit svyatov/supermatt/skills/commit ~/.agents/skills/commitInstall the commit skill in Gemini CLI
~/.gemini/skills/commit/SKILL.md
$ npx degit svyatov/supermatt/skills/commit ~/.gemini/skills/commitInstall the commit skill in Claude.ai
npx degit svyatov/supermatt/skills/commit commit && zip -r commit.zip commit # claude.ai → Customize → Skills → + → Create skill → Upload a skill → commit.zip
SKILL.md
View on GitHubCommit every change in the working tree on the current branch. Do not switch or create a branch, even on main. The arguments, if any, are a hint at what the change is about, not the message itself.
- Run
git status --short --branch --untracked-files=all. WhenHEADexists, rungit diff HEAD --statandgit log --oneline -10, then read the full diff (git diff HEAD). For an initial commit with noHEAD, readgit diff --cachedfor staged additions andgit difffor their unstaged changes; there is no history to inspect. In either case, read every untracked file, including files inside new directories, before writing anything. - Scan it for credentials, tokens, private keys, and any value that does not belong in this repository. If you find one, stop, commit nothing, and report what you found.
- An untracked directory that holds a local tool's state (an index, cache, or database, such as
.codegraph/) belongs in the root.gitignore, even when it ships its own.gitignore: add its path there, commit that line with the rest, and say so in the report. - Stage the changes. Prefer explicit paths over
git add -A. - Write a Conventional Commit
type(scope): description, matching the subject style ingit logwhen history exists. When theoss-writingskill is installed, load and follow it through the host's skill mechanism for the wording. - Commit. Report the subject and the short hash, plus the
.gitignoreline from step 3 if you added one, nothing else.
Split into several commits when the diff covers unrelated changes.
Files in this skill
2commit skill questions
How do I install the commit skill in Claude Code?
Run npx degit svyatov/supermatt/skills/commit ~/.claude/skills/commit. Claude Code loads skills from ~/.claude/skills (all projects) or .claude/skills (one project) and uses a skill when its description matches the task.
Which clients can use the commit skill?
Any client that reads the Agent Skills format: Claude Code, Codex, Gemini CLI and claude.ai (upload as a ZIP). Scripts in the skill run only where the client allows code execution.