Grant Push — Git skill for Claude Code
Grant consent for Claude to run git push.
How to install Grant Push
Installs to ~/.claude/commands/friedbotstudio-baseline-grant-push.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/friedbotstudio/baseline/HEAD/.claude/commands/grant-push.md -o ~/.claude/commands/friedbotstudio-baseline-grant-push.md Restart Claude Code, or start a new session, for it to be picked up.
What Grant Push does
description: Grant consent for Claude to run `git push`. Valid for 5 minutes. Required by the Git Commit Guard hook on protected branches. argument-hint: "[optional note]" allowed-tools: Bash(date:*), Bash(git:*), Write disable-model-invocation: true
Write a consent token to `.claude/state/push_consent` so the Git Commit Guard hook allows the next `git push` on a protected branch. The token is the current UNIX epoch timestamp on line 1; any optional note goes on line 2.
How this works
Alternatives in Git
- Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
- Commit Commands — Git commit workflows: commit, push, and PR creation 14k ★
- Bulletproof Quick Start Guide — Target Audience: Complete beginners Never used Python/git before 11.1k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Grant Commit
Grant consent for Claude to run git commit. Workflow-scoped when a workflow is active, else a time window. Req
Aegis Approval Gate
PreToolUse hook that blocks destructive Bash ops (rm -rf, git push --force, DROP TABLE, etc.) until an active
Thumbgate Protect
Show this repo's branch/release governance and grant a scoped, time-limited approval for an action that touche
Mise Clean
Sweep the project for hygiene cruft — junk tracked in git, backup/scratch files, stale branches and orphaned w
Setup Git Guard
Install git safety guard hook at project or user scope
Commit Push
Commit all changes, push to remote, and optionally monitor CI workflow to completion. Usage: /commit-push wai
Related Agents
Push Analyst
Pre-push analyst subagent. Inspects the commits-to-push range for sensitive files, divergence, and branch prot
GitHub Keeper
Gestiona el repo de git/GitHub. Úsalo para commits, branches, resolver conflictos, limpiar historial, manejar
Git Pusher
Use for git push operations only. Operator confirmation is REQUIRED for every push. A Bash command denied by t