Help us improve
Share bugs, ideas, or general feedback.
From skills
Installs PreToolUse hook using Claude Haiku to auto-approve read-only tools/simple Bash, review complex Bash/accept-edits, reducing permission prompts in Claude Code sessions.
npx claudepluginhub michaelboeding/skills --plugin skillsHow this skill is triggered — by the user, by Claude, or both
Slash command
/skills:auto-permissions-review-installThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Installs a `PreToolUse` hook that reduces permission prompt fatigue by auto-approving safe operations and sending ambiguous commands to Claude Haiku for review.
Enables auto permissions review hook for current Claude Code session. Auto-approves read-only operations, sends ambiguous Bash to Haiku, reviews edits only in accept-edits mode.
Sets up PermissionRequest hooks to auto-approve all tools, websearch/webfetch only, or route requests to Claude review in Claude Code. Invoke /yolo [mode] [--global].
Provides reference for Claude Code permission modes (default, acceptEdits, plan, dontAsk, bypass), allow/deny lists, pattern matching, and tool categories. Use to configure secure tool access and switch modes runtime.
Share bugs, ideas, or general feedback.
Installs a PreToolUse hook that reduces permission prompt fatigue by auto-approving safe operations and sending ambiguous commands to Claude Haiku for review.
| Tool | Default mode | Accept-edits mode |
|---|---|---|
Read, Glob, Grep, LS, etc. | instant allow | instant allow |
Simple Bash (ls, cat, find, git status) | instant allow | instant allow |
| Complex Bash (pipes, substitution) | Haiku reviews | Haiku reviews |
Edit, Write | normal prompt (you decide) | Haiku reviews |
Key design choices:
Read, Glob, Grep, and common Bash reads are auto-approved instantly with no API call.| Command | What It Does |
|---|---|
/auto-permissions-review-install | Install the hook (run once) |
/auto-permissions-review-enable | Turn on for this session |
/auto-permissions-review-disable | Turn off for this session |
/auto-permissions-review-enable -- hook creates ~/.claude/ai-review-sessions/<session_id>PreToolUse hookclaude -p --model claude-haiku-4-5-20251001 --permission-mode planALLOW or BLOCK: <reason>Run the install script to set everything up:
bash "${CLAUDE_PLUGIN_ROOT}/skills/auto-permissions-review-install/scripts/install.sh"
This will:
ai-review.sh to ~/.claude/hooks/PreToolUse hook in ~/.claude/settings.json[ -f ~/.claude/hooks/ai-review.sh ] && echo "Already installed" || echo "Not installed"
If already installed, tell the user and ask if they want to reinstall.
bash "${CLAUDE_PLUGIN_ROOT}/skills/auto-permissions-review-install/scripts/install.sh"
After installation, tell the user:
Auto Permissions Review hook installed.
Usage:
/auto-permissions-review-enable -- turn on (this session only)
/auto-permissions-review-disable -- turn off (this session only)
Read-only operations are auto-approved instantly.
Ambiguous Bash commands are reviewed by Haiku.
Edits only go through Haiku when accept-edits mode is on (Shift+Tab).
Each session enables independently.
The hook script is at ~/.claude/hooks/ai-review.sh. Users can:
claude-haiku-4-5-20251001 for any model)DEBUG=0 to disable loggingWhen DEBUG=1 (default), all hook activity is logged to ~/.claude/ai-review.log:
cat ~/.claude/ai-review.log
claude command available)jq installed (brew install jq)