friedbotstudio

Grant Commit — Git skill for Claude Code

Git community

Grant consent for Claude to run git commit.

How to install Grant Commit

Installs to ~/.claude/commands/friedbotstudio-baseline-grant-commit.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/friedbotstudio/baseline/HEAD/.claude/commands/grant-commit.md -o ~/.claude/commands/friedbotstudio-baseline-grant-commit.md

Restart Claude Code, or start a new session, for it to be picked up.

What Grant Commit does


description: Grant consent for Claude to run `git commit`. Workflow-scoped when a workflow is active, else a time window. Required by the Git Commit Guard hook. argument-hint: "[optional note]" allowed-tools: Read, Bash(date:*), Bash(git:*), Write disable-model-invocation: true

Write a consent token to `.claude/state/commit_consent` so the Git Commit Guard hook allows the next `git commit`. The token has three lines: line 1 the **active workflow slug** (empty when no workflow is active)

Alternatives in Git

  • Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
  • Bulletproof Quick Start Guide — Target Audience: Complete beginners Never used Python/git before 11.1k ★
  • CCometixLine — A high-performance Claude Code statusline tool written in Rust with Git integration and real-time usage tracki 2.4k ★

Full documentation available on GitHub

View Source Repository