Skip to content
Back to skills

Cap Commit Push

ASecurity

Use when the user sends `cap` or asks for a fast commit-and-push shortcut for current repository changes.

  • 54 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 22, 2026
toolsgit

Works with

  • cli

Security analysis

A100/100

Scanned September 22, 2026

npx -y skills add rexleimo/aios --skill cap-commit-push --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cap Commit Push?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cap Commit Push
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rexleimo-cap-commit-push/badge)](https://www.skillsdirectory.com/skills/rexleimo-cap-commit-push)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cap-commit-push
description: Use when the user sends `cap` or asks for a fast commit-and-push shortcut for current repository changes.

installCatalogName: cap-commit-push
clients: [codex, claude, hermes, workbuddy, pi, zcode, qoder]
scopes: [global, project]
defaultInstall:
  global: true
  project: false
tags: [aios, git, essential]
repoTargets: [codex, claude, gemini, opencode, hermes, workbuddy, pi, zcode, qoder]
---

# 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).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…