Grant Commit banner
friedbotstudio friedbotstudio

Grant Commit

Git community

Description

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

Installation

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.

Full documentation available on GitHub

View Source Repository