Skip to content
Back to skills

Crew Approve

ASecurity

Approve the commit or push Claude just showed you (auto and dontAsk modes).

  • 26 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 10, 2026
ai-agentsgogit

Works with

  • cli

Security analysis

A100/100

Scanned November 25, 2026

npx -y skills add crewforth/crewforth --skill crew-approve --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Crew Approve?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Crew Approve
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/crewforth-crew-approve/badge)](https://www.skillsdirectory.com/skills/crewforth-crew-approve)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: crew-approve
description: Approve the commit or push Claude just showed you (auto and dontAsk modes).
argument-hint: "[commit | push | commit+push | merge]  (nothing: what was just refused)"
disable-model-invocation: true
metadata:
  kind: command
  internal: "true"
---
# /crew-approve
Argument: $ARGUMENTS

The user typed this command. Typing it is the approval: `hooks/prompt-approval.sh` read the message itself and
recorded it, tied to what is staged, to `HEAD` and to this session, for 30 minutes or until the user's next
message. Nothing in this text records anything, and you cannot give this approval for the user.

Read the line Crewforth added to this turn and do what it says:

- **"approval recorded"**: run exactly what it names, each command alone in its call. A commit is
  `git commit -m '…'` with the message you showed (single-quoted, or from a here-document with a quoted delimiter);
  a push is `git push <remote> <branch>`. The review record of §4.6 is still required.
- **"approval NOT recorded"**: tell the user the reason it gives, and run nothing.
- **With no argument** the command approves what the gate last refused in this session (the line says which:
  "approved: commit+push"); when nothing was refused, or it was more than 30 minutes ago, nothing is recorded and
  the line says so.
- **No such line**: the session is in a mode where the gate asks the user itself (`default`, `acceptEdits`), or
  the argument was not `commit`, `push` or `commit+push`. Say which, and in the first case run the command and let
  the gate's own prompt ask.

In `auto` the same approval can be given with one click: the gate's refusal prints a fixed AskUserQuestion, and
the user's answer is recorded exactly like this command. Where a `PermissionRequest` hook may be wired (in the
user's, the project's or a plugin's settings, or in a skill's or an agent's front matter), that question is closed,
and so is the gate's own prompt in `default` / `acceptEdits`, because such a hook answers a prompt before the user
does. This command is then the one approval left, in those modes too. Settings passed with `--settings` and
managed settings delivered by a server cannot be read, so a hook there is past the check.

Force-push and the rest of §4.5 are not opened by this.

A hedged reply ("looks reasonable", "probably fine", "I guess") is not approval either: when that is all the user
said, ask again with the question, and run nothing.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.