commit-and-push

commit-and-push is a skill for Claude Code from FradSer/dotclaude. It costs 50 tokens per session (466 once invoked), scanned A, original, MIT.

A workflow for creating a single-purpose conventional Git commit and pushing it to a remote repository. Git is a system for tracking code changes, and a remote repository is the shared copy hosted elsewhere.

In plain words
What is it for?
Use it after making code changes when you want an atomic commit with a concise intent and the current branch pushed to its remote.
Why use it?
It packages related changes into a clear commit and sends them to the shared repository without requiring you to assemble the commands manually.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the git-agent plugin — 4 skills, 1 agent shipped together

Good fit Use it after making code changes when you want an atomic commit with a concise intent and the current branch pushed to its remote.

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

Made for: Claude Code.

Or install git-agent, the plugin that ships this one along with the rest of its 4 skills, 1 agent.

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-and-push

README.md
[![agentmods](https://agentmods.dev/badge/skills/fradser/dotclaude/commit-and-push/github.svg)](https://agentmods.dev/skills/fradser/dotclaude/commit-and-push)
Your own site
<a href="https://agentmods.dev/skills/fradser/dotclaude/commit-and-push"><img src="https://agentmods.dev/badge/skills/fradser/dotclaude/commit-and-push/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-and-push

Your own site · 80×15
<a href="https://agentmods.dev/skills/fradser/dotclaude/commit-and-push"><img src="https://agentmods.dev/badge/skills/fradser/dotclaude/commit-and-push.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 466 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.00050 $0.00466
Opus 5.5 $0.00020 $0.00186
Sonnet 5.5 $0.00010 $0.00093
Haiku 4.5 $0.00005 $0.00047

Measured 23d ago against content hash 37c30e97896e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

commit-and-push 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 23d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • commit — 88% identical, 9 lines differ
git-agent/skills/commit-and-push/SKILL.md · 40 lines

What it actually says

CRITICAL:

  • Do NOT run git status, git diff, git log, or any other read commands before git-agent commit.
  • Execute git-agent commit directly. git-agent (v0.7.0+) automatically detects active model attribution from session environment variables (PI_MODEL, etc.).

Execution

  1. Derive a concise one-sentence intent from the conversation or $ARGUMENTS.
  2. Pass --co-author "<co-author>" if explicitly specified in $ARGUMENTS or user instructions.
  3. Run primary commit command:
    git-agent commit --intent "<intent>"
    
  4. If specific files are already staged, pass --no-stage:
    git-agent commit --no-stage --intent "<intent>"
    
  5. On auth error (401), retry with --free:
    git-agent commit --free --intent "<intent>"
    
  6. Fallback (if git-agent binary is not found): report the error and ask the user to install git-agent or run git commands manually.
  7. Push to remote repository:
    git push
    
    (If upstream is not set, use git push -u origin <branch>).

CLI Reference: ../../references/cli.md Attribution & retry-ladder reference: ../../references/coauthor-attribution.md (covers --no-attribution and the --free retry)

Deterministic messages: When an exact commit message is required (e.g. version bump chore: bump version to 0.11.0), pass the full conventional message as the --intent value. The intent is used as the commit subject verbatim.

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. 23d ago Changed · +1 lines · +29 tokens per session 37c30e97896e
  2. 3mo ago First seen · 39 lines · 21 tokens per session scan A 35b48d8df1dd

Subscribe to this mod's changes

commit-and-push is a skill published in the GitHub repository FradSer/dotclaude (598 stars, last pushed 24d ago), licensed MIT. It adds 50 tokens to every session and 466 once invoked, about $0.0002 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-and-push compared with skills from other repositories

commit-and-push next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
commit-and-pushFradSer/dotclaudeSkill59824d agoMITA50Claude Code
create-prprisma/ormSkill48ktodayApache-2.0A47Claude Code, Codex
git-commitThinkInAIXYZ/deepchatSkill6.4ktodayApache-2.0A15Claude Code, Codex
engineer-bot-opsmakecindy/cindySkill11ktodayApache-2.0A57Claude Code, Codex
mcore-split-prNVIDIA/skillsSkill4.2ktodayApache-2.0A25Claude Code
contributingHugoRCD/evlogSkill2.0k2d agoMITA68Claude Code, Codex
git-commit-writermergisi/awesome-openclaw-agentsSkill4.1k26d agoMITA53Claude Code, Codex