branch-and-commit

branch-and-commit is a skill for Claude Code from quatico-solutions/agent-skills. It costs 118 tokens per session (7,054 once invoked), scanned A, original, MIT.

A workflow for turning uncommitted Git changes into separate, logically grouped commits and optionally placing them on a feature branch, a separate line of development.

In plain words
What is it for?
Use it before a pull request to inspect pending changes, group related files, order commits by dependency and risk, and apply the project's commit format.
Why use it?
It helps untangle mixed changes so each commit is easier to review, understand, or undo.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

Part of the quatico-skills plugin — 18 skills shipped together

Good fit Use it before a pull request to inspect pending changes, group related files, order commits by dependency and risk, and apply the project's commit format.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/quatico-solutions/agent-skills/branch-and-commit
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 quatico-solutions/agent-skills --skill branch-and-commit
Clone the repo
git clone --depth 1 https://github.com/quatico-solutions/agent-skills

Made for: Claude Code.

Or install quatico-skills, the plugin that ships this one along with the rest of its 18 skills.

Its marketplace also offers this one on its own, as the plugin branch-and-commit/plugin install branch-and-commit after adding the marketplace above.

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 branch-and-commit

README.md
[![agentmods](https://agentmods.dev/badge/skills/quatico-solutions/agent-skills/branch-and-commit.svg)](https://agentmods.dev/skills/quatico-solutions/agent-skills/branch-and-commit)
Your own site
<a href="https://agentmods.dev/skills/quatico-solutions/agent-skills/branch-and-commit"><img src="https://agentmods.dev/badge/skills/quatico-solutions/agent-skills/branch-and-commit.svg" alt="Measured on agentmods" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,054 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.
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.00118 $0.07054
Opus 5 $0.00059 $0.03527
Sonnet 5 $0.00024 $0.01411
Haiku 4.5 $0.00012 $0.00705

Measured 7d ago against content hash 8b143d3fd371, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

branch-and-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 7d 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.

skills/branch-and-commit/SKILL.md · 878 lines

How it starts

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

Branch and Commit

Automates the workflow of analyzing uncommitted changes, grouping them into atomic commits with proper notation, and creating a clean feature branch ready for PR.

When to Use This Skill

Use this skill when you have uncommitted changes and need to:

  • Group changes into logical, atomic commits
  • Apply proper risk notation (Arlo's Commit Notation)
  • Organize commits on current branch OR create a new feature branch
  • Prepare changes for pull request review

Do NOT use for:

  • Branch splitting or rebasing existing commits
  • Amending published commits
  • Reorganizing pushed commits

Overview

This skill transforms messy working directory changes into a clean commit history by:

  1. Analyzing all uncommitted changes (file types, diff content, intentions, security)
  2. Interviewing you with in-depth questions to uncover missing changes and improvements
  3. Grouping changes by intention and risk level (after understanding context from interview)
  4. Ordering commits optimally (provably safe changes first, features last)
  5. Deciding whether to use current branch or create new feature branch
  6. Committing with proper commit messages
  7. Preparing for PR creation (optional)

Workflow

Phase 1: Analysis (Read-Only)

The skill detects all changes and categorizes each file:

git status --porcelain
git diff HEAD --stat
git diff HEAD --cached --stat

For each changed file, it determines:

  • File category: TEST, DOCS, CONFIG, SOURCE
  • Intention: F (feature), B (bugfix), R (refactoring), D (docs), T (test), E (environment), A (automated), C (comment)
  • Change nature: Import-only, comment-only, mixed changes

Security Checks:

Before proceeding, scan diffs for sensitive data:

  • API keys: Long alphanumeric strings (32+ chars)
  • AWS credentials: AKIA[A-Z0-9]{16} pattern
  • Private keys: -----BEGIN.*PRIVATE KEY-----
  • Passwords: Common variable names in plain text (like password = or PASSWORD =)
  • Tokens: patterns like token = or auth_token = or bearer =

Read the full file on GitHub · 878 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 878 lines · 118 tokens per session scan A 8b143d3fd371

Subscribe to this mod's changes

branch-and-commit is a skill published in the GitHub repository quatico-solutions/agent-skills (2 stars, last pushed 3d ago), licensed MIT. It adds 118 tokens to every session and 7,054 once invoked, about $0.0006 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-08-31.