commit-and-push

commit-and-push is a skill for Claude Code, Codex from Kevin-Liu-01/Agent-Machines. It costs 71 tokens per session (808 once invoked), scanned A, original, MIT.

A workflow for staging, committing, and pushing Git changes without creating a pull request. Git is a system for tracking code changes, while a branch is a separate line of work in a repository.

In plain words
What is it for?
Use it when you want changes committed and pushed to a branch, with a summary of what was changed and no pull request created.
Why use it?
It helps publish the intended changes while avoiding unrelated files, generated artifacts, or secrets. It also checks the current branch and recent commit style before making a commit.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when you want changes committed and pushed to a branch, with a summary of what was changed and no pull request created.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kevin-liu-01/agent-machines/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 Kevin-Liu-01/Agent-Machines --skill commit-and-push
Clone the repo
git clone --depth 1 https://github.com/Kevin-Liu-01/Agent-Machines

Made for: Claude Code, Codex.

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/kevin-liu-01/agent-machines/commit-and-push.svg)](https://agentmods.dev/skills/kevin-liu-01/agent-machines/commit-and-push)
Your own site
<a href="https://agentmods.dev/skills/kevin-liu-01/agent-machines/commit-and-push"><img src="https://agentmods.dev/badge/skills/kevin-liu-01/agent-machines/commit-and-push.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 808 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.00071 $0.00808
Opus 5 $0.00036 $0.00404
Sonnet 5 $0.00014 $0.00162
Haiku 4.5 $0.00007 $0.00081

Measured 8d ago against content hash 7f86df2d06ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 8d 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.

knowledge/skills/commit-and-push/SKILL.md · 126 lines

How it starts

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

Commit and Push

Handle the common "just get this committed and pushed" workflow without drifting into PR creation.

When to use

Use this skill when the user explicitly wants git changes committed and pushed, but does not ask for a pull request.

Examples:

  • "commit and push"
  • "commit these to a new branch called kevin/updated-dashboard"
  • "stage this and push it"
  • "push the current work with an explanation of the changes"

If the user wants a PR too, use yeet instead.

Workflow

1. Inspect before staging

Always gather context first:

git status --short
git diff --stat
git diff --cached --stat
git log --oneline -6

You are looking for:

  • unrelated dirty files
  • generated artifacts
  • screenshots, traces, or browser logs
  • obvious secrets (.env, credentials, tokens)
  • the repo's recent commit style

2. Decide branch behavior

  • If the user provided a branch name, use it.
  • If the current branch is already a feature branch, stay on it unless the user asked otherwise.
  • If the current branch is main/master and the user did not explicitly ask to push there, create a feature branch first, preferably kevin/<slug>.

Use non-destructive branch commands only:

git switch -c <branch>
git switch <branch>

Never use git checkout or git restore as the default path.

3. Stage intentionally

Do not blindly add everything if the tree includes junk. Exclude generated browser artifacts, scratch outputs, and anything that should not ship.

Typical exclusions:

  • .playwright-mcp/
  • screenshots or trace dumps created only for verification
  • local env files
  • transient build output unless the repo intentionally tracks it

If the user said "everything," interpret that as everything relevant to the requested work, not every piece of machine exhaust in the working tree.

4. Validate once if warranted

If the changes are code and the repo has an obvious targeted validation command, run it once before committing. Prefer the narrowest meaningful check.

Read the full file on GitHub · 126 lines

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. 8d ago First seen · 126 lines · 71 tokens per session scan A 7f86df2d06ce

Subscribe to this mod's changes

commit-and-push is a skill published in the GitHub repository Kevin-Liu-01/Agent-Machines (26 stars, last pushed 7d ago), licensed MIT. It adds 71 tokens to every session and 808 once invoked, about $0.0004 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-30.