push

push is a command for Claude Code from GoogilyBoogily/googilyboogily-claude-power-tools. It costs 12 tokens per session (441 once invoked), scanned A, original, MIT.

A Git command for safely pushing local commits to a remote repository. It checks the branch, working tree, remote, and commits that are ready to send.

In plain words
What is it for?
Use it to push tracked or new branches and identify when a pull with rebase is needed first.
Why use it?
It reduces the risk of pushing with uncommitted changes, using the wrong branch, or overwriting remote work when branches have diverged.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

Part of the git-tools plugin — 5 commands shipped together

Good fit Use it to push tracked or new branches and identify when a pull with rebase is needed first.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/googilyboogily/googilyboogily-claude-power-tools/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.

Clone the repo
git clone --depth 1 https://github.com/GoogilyBoogily/googilyboogily-claude-power-tools

Made for: Claude Code.

Or install git-tools, the plugin that ships this one along with the rest of its 5 commands.

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 push

README.md
[![agentmods](https://agentmods.dev/badge/commands/googilyboogily/googilyboogily-claude-power-tools/push/github.svg)](https://agentmods.dev/commands/googilyboogily/googilyboogily-claude-power-tools/push)
Your own site
<a href="https://agentmods.dev/commands/googilyboogily/googilyboogily-claude-power-tools/push"><img src="https://agentmods.dev/badge/commands/googilyboogily/googilyboogily-claude-power-tools/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 push

Your own site · 80×15
<a href="https://agentmods.dev/commands/googilyboogily/googilyboogily-claude-power-tools/push"><img src="https://agentmods.dev/badge/commands/googilyboogily/googilyboogily-claude-power-tools/push.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 441 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.
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.00012 $0.00441
Opus 5 $0.00006 $0.00220
Sonnet 5 $0.00002 $0.00088
Haiku 4.5 $0.00001 $0.00044

Measured 9d ago against content hash 4b2a2c32ed70, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

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 9d 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.

plugins/git-tools/commands/push.md · 47 lines

What it actually says

Push commits to remote repository with appropriate safety checks and branch management.

Git Expert Integration

For complex push scenarios (force push requirements, diverged branches, upstream conflicts, protected branch workflows), consider using the Task tool with git-expert subagent for specialized git expertise.

Efficiency Note:

Be concise. Use single bash calls where possible. Skip verbose explanations and intermediate status messages. Execute the push directly if safe, show only the result.

Instructions for Claude:

  1. Run safety checks in a single bash call: !git status --porcelain=v1 && echo "---" && git branch -vv | grep "^*" && echo "---" && git remote -v | head -2 && echo "---" && git log --oneline @{u}..HEAD 2>/dev/null

Parse output to check:

  • Any uncommitted changes (warn if present)
  • Current branch and tracking info
  • Remote repository URL
  • Commits to be pushed
  1. If safe to push (no uncommitted changes), execute push immediately:

    • For tracked branch: git push
    • For new branch: git push -u origin [branch-name]
    • If behind remote: Stop and suggest git pull --rebase
  2. Show only the final result:

    • If successful: Show the push output with ✅ emoji and success message
    • If failed: Show error and suggest fix
    • If unsafe: Show what needs to be done first
  3. Special cases to handle:

    • Diverged branches: Suggest rebase or merge strategy
    • No upstream branch: Use -u flag
    • Force push needed: Warn strongly, require confirmation
    • Protected branch: Remind about PR workflow

Example concise output:

  • Skip: "Let me check if it's safe to push"
  • Skip: "I'll analyze your branch status"
  • Skip: "Ready to push X commits"
  • Skip: "Executing push..."
  • Just show the push result directly
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. 9d ago First seen · 47 lines · 12 tokens per session scan A 4b2a2c32ed70

Subscribe to this mod's changes

push is a command published in the GitHub repository GoogilyBoogily/googilyboogily-claude-power-tools (2 stars, last pushed 4mo ago), licensed MIT. It adds 12 tokens to every session and 441 once invoked, about $0.0001 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-09-03.