cap-commit-push

cap-commit-push is a skill for Claude Code, Codex from rexleimo/aios. It costs 29 tokens per session (382 once invoked), scanned A, original, MIT.

A shortcut for committing the current repository changes and pushing them to the remote Git repository. Git is a version-control system that records code changes and shares them with a remote copy.

In plain words
What is it for?
Use it when you explicitly want the current changes committed and pushed, including checking the worktree and setting an upstream branch when necessary.
Why use it?
It combines the routine checks, staging, commit, and upload steps needed to save and publish the current work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; reads ~/.codex paths; mentions Codex.

Good fit Use it when you explicitly want the current changes committed and pushed, including checking the worktree and setting an upstream branch when necessary.

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

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 cap-commit-push

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rexleimo/aios/cap-commit-push"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/cap-commit-push.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 382 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.00029 $0.00382
Opus 5.5 $0.00012 $0.00153
Sonnet 5.5 $0.00006 $0.00076
Haiku 4.5 $0.00003 $0.00038

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

Security

Grade A, and why

cap-commit-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 26d 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.

skill-sources/cap-commit-push/SKILL.md · 45 lines

What it actually says

Cap Commit Push

Overview

cap is a shorthand command that means: commit current changes and push to remote.

Trigger

  • User message is exactly cap.
  • Or user explicitly asks for "commit + push".

Required Workflow

  1. Preflight
    • Run git status --short.
    • If there are no changes, report no-op and stop.
  2. Sync Gate
    • If this task changes behavior/commands/workflow, update impacted skills first.
    • Keep .codex/skills/* and .claude/skills/* in sync for shared skills.
  3. Stage
    • Run git add -A.
  4. Commit
    • Prefer a Conventional Commit message based on current task context.
    • Fallback message: chore: cap snapshot <YYYY-MM-DD>.
  5. Push
    • Run git push.
    • If upstream is missing, run git push --set-upstream origin <current-branch>.
  6. Report
    • Return commit hash, branch, and push result.

Safety Rules

  • Do not amend commits unless the user explicitly asks.
  • Do not run destructive git commands (reset --hard, forced checkout).
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. 26d ago Changed 5dccc59c4e5f
  2. 1mo ago Changed a94fdd6022cd
  3. 1mo ago Changed 524933f1dcc6
  4. 1mo ago First seen · 45 lines · 29 tokens per session scan A a9023d77c55c

Subscribe to this mod's changes

cap-commit-push is a skill published in the GitHub repository rexleimo/aios (54 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 382 once invoked, about $0.0001 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.