git-push-all

git-push-all is a command for Cursor from kivo360/OmoiOS. It costs 0 tokens per session (429 once invoked), scanned A, original, Apache-2.0.

A shell command that stages all repository changes, commits them, and pushes the current branch to its remote repository. A remote repository is the shared online copy of a Git project.

In plain words
What is it for?
Use it to stage changes, provide or generate a commit message, create the commit, and push it to the matching branch on the remote.
Why use it?
It combines several routine Git steps into one workflow and stops when there is nothing to commit.

Command for Cursor

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.

agentmods
npx agentmods add commands/kivo360/omoios/git-push-all
Clone the repo
git clone --depth 1 https://github.com/kivo360/OmoiOS

Made for: Cursor.

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 git-push-all

README.md
[![agentmods](https://agentmods.dev/badge/commands/kivo360/omoios/git-push-all.svg)](https://agentmods.dev/commands/kivo360/omoios/git-push-all)
Your own site
<a href="https://agentmods.dev/commands/kivo360/omoios/git-push-all"><img src="https://agentmods.dev/badge/commands/kivo360/omoios/git-push-all.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 429 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00429
Opus 5 $0.00000 $0.00215
Sonnet 5 $0.00000 $0.00086
Haiku 4.5 $0.00000 $0.00043

Measured 4d ago against content hash 68474fee8aa8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

git-push-all 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 4d 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.

.cursor/commands/git-push-all.md · 74 lines

What it actually says

Git Push All

Description

Stages all changes, commits them, and pushes to the remote repository.

Command

#!/bin/bash

# Stage all changes
git add .

# Check if there are any changes to commit
if git diff --staged --quiet; then
    echo "No changes to commit."
    exit 0
fi

# Show status
echo "Staged changes:"
git status --short

# Get commit message from user or use AI-generated message
# If using Cursor's AI, generate a commit message based on staged changes
# Otherwise, prompt for a message
if [ -z "$COMMIT_MESSAGE" ]; then
    echo ""
    echo "Enter commit message (or press Enter for AI-generated message):"
    read -r COMMIT_MESSAGE
    
    if [ -z "$COMMIT_MESSAGE" ]; then
        # Use git's default editor or a simple default message
        COMMIT_MESSAGE="Update: $(git diff --staged --name-only | head -3 | tr '\n' ', ' | sed 's/,$//')"
        if [ ${#COMMIT_MESSAGE} -gt 100 ]; then
            COMMIT_MESSAGE="${COMMIT_MESSAGE:0:97}..."
        fi
    fi
fi

# Commit changes
git commit -m "$COMMIT_MESSAGE"

# Get current branch
BRANCH=$(git branch --show-current)

# Push to remote
echo "Pushing to origin/$BRANCH..."
git push origin "$BRANCH"

echo "✅ Successfully pushed to origin/$BRANCH"

Usage

Execute this command via Cursor's command palette or chat interface.

Example:

@git-push-all

Or with a custom commit message:

COMMIT_MESSAGE="Fix: Enhanced heartbeat protocol implementation" @git-push-all

Safety Features

  • Checks for staged changes before committing
  • Shows what will be committed
  • Prompts for commit message if not provided
  • Uses current branch for push (prevents accidental pushes to wrong branch)
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. 4d ago First seen · 74 lines · 0 tokens per session scan A 68474fee8aa8

Subscribe to this mod's changes

git-push-all is a command published in the GitHub repository kivo360/OmoiOS (75 stars, last pushed 2mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 429 tokens. 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.