auto-permissions-review-install
Install an AI-powered permission review hook that uses Claude Haiku to evaluate tool call safety before execution.
Skill by michaelboeding
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/michaelboeding-auto-permissions-review-install
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/auto-permissions-review-install
What's inside
- Skill name
auto-permissions-review-install- Description
- Install an AI-powered permission review hook that uses Claude Haiku to evaluate tool call safety before execution. Per-session, auto-approves read-only operations, sends ambiguous Bash commands to Haiku, and only reviews edits in accept-edits mode. Use when setting up auto-approve with AI review, reducing permission fatigue, or wanting Claude to review its own tool calls.
- License
- MIT
- Instructions
- 105 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (3)
- SKILL.md
- ai-review.sh · scripts/
- install.sh · scripts/
SKILL.md (first lines)
# Auto Permissions Review
Installs a `PreToolUse` hook that reduces permission prompt fatigue by auto-approving safe operations and sending ambiguous commands to Claude Haiku for review.
## Behavior
| 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:
- **Per-session** -- each terminal session independently enables/disables. Multiple sessions can run simultaneously without conflicts.
- **Read-only operations never prompt** -- `Read`, `Glob`, `Grep`, and common Bash reads are auto-approved instantly with no API call.
- **Ambiguous Bash always goes to Haiku** -- piped commands, subshells, and anything not in the read-only pattern list gets reviewed regardless of mode.
- **Edits respect your permission mode** -- in default mode you still approve edits manually. In accept-edits mode (Shift+Tab), Haiku reviews them.
## Related Commands
| 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 |
## How It Works
1. User runs `/auto-permissions-review-enable` -- hook creates `~/.claude/ai-review-sessions/<session_id>`
2. Tool call triggers `PreToolUse` hook
3. Hook checks if a file for this session's ID exists
4. Read-only tools and simple Bash reads are auto-approved instantly
5. Complex Bash commands go to `claude -p --model claude-haiku-4-5-20251001 --permission-mode plan`
6. Write tools check permission mode -- Haiku in accept-edits, normal prompt in default
7. Haiku responds `ALLOW` or `BLOCK: <reason>`
8. Hook returns the decision to Claude Code
## Installation
Run the install script to set everything up:
```bash
bash "${CLAUDE_PLUGIN_ROOT}/skills/auto-permissions-review-install/scripts/install.sh"
```
This will:
1. Copy `ai-review.sh` to `~/.claude/hooks/`
2. Register the `PreToolUse` hook in `~/.claude/settings.json`
## Workflow
### Step 1: Check If Already Installed
```bash
[ -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.
### Step 2: Run the Installer
```bash
bash "${CLAUDE_PLUGIN_ROOT}/skills/auto-permissions-review-install/scripts/install.sh"
```
### Step 3: Confirm and Explain
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.
```
## Customization
The hook script is at `~/.claude/hooks/ai-review.sh`. Users can:
- Change the model (swap `claude-haiku-4-5-20251001` for any model)
- Add patterns to the read-only Bash allowlist
- Modify the Haiku evaluation prompt/rules
- Set `DEBUG=0` to disable logging
## Debug Log
When `DEBUG=1` (default), all hook activity is logged to `~/.claude/ai-review.log`:
```bash
cat ~/.claude/ai-review.log
```
## Requirements
- Claude Code CLI (`claude` command available)
- `jq` installed (`brew install jq`)From michaelboeding/skills, MIT.
More from michaelboeding/skills
- 0.656score
mobile-parity-check
michaelboeding
Compare the UI and UX of iOS and Android apps in either direction.
SkillAFreshness: A★ 30Claude Code +9 - 0.656score
search-trend-product-scout
michaelboeding
Discover and rank product ideas in a category using search trends, customer problems, and competing products.
SkillAFreshness: A★ 30Claude Code +9 - 0.656score
expired-patent-scout
michaelboeding
Find recently expired patents relevant to specified brands, products, or technology areas and develop evidence-backed product opportunity leads.
SkillAFreshness: A★ 30Claude Code +9 - 0.616score
chart-generation
michaelboeding
Use this skill for generating data-driven charts and visualizations using Python.
SkillBFreshness: B★ 30Claude Code +9 - 0.501score
music-generation
michaelboeding
Use this skill for AI music generation.
SkillDFreshness: D★ 30Claude Code +9 - 0.501score
brand-research-agent
michaelboeding
Use this skill to analyze a brand from their website before creating content.
SkillDFreshness: D★ 30Claude Code +9 - 0.501score
image-generation
michaelboeding
Use this skill for any image-related AI generation or editing task.
SkillDFreshness: D★ 30Claude Code +9 - 0.501score
cmo-agent
michaelboeding
AI Chief Marketing Officer that analyzes your website and deploys autonomous marketing agents across SEO, content, Reddit, Hacker News, X/Twitter, and AI…
SkillDFreshness: D★ 30Claude Code +9 - 0.501score
patent-lawyer-agent
michaelboeding
Use this skill for intellectual property guidance, prior art research, patent strategy, and drafting patent applications.
SkillDFreshness: D★ 30Claude Code +9 - 0.501score
icon-generation
michaelboeding
Generate app icons with transparent backgrounds.
SkillDFreshness: D★ 30Claude Code +9 - 0.501score
patent-prosecution-agent
michaelboeding
Use this skill for responding to patent office actions, examiner rejections, and patent prosecution.
SkillDFreshness: D★ 30Claude Code +9 - 0.501score
slide-generation
michaelboeding
Use this skill to create presentation slides from structured content.
SkillDFreshness: D★ 30Claude Code +9
Signals
- Stars
- 30
- Forks
- 2
- Open issues
- 0
- Last commit (this folder)
- Apr 6, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/michaelboeding/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from michaelboeding
- 0.656score
mobile-parity-check
michaelboeding
Compare the UI and UX of iOS and Android apps in either direction.
SkillAFreshness: A★ 30Claude Code +9 - 0.656score
search-trend-product-scout
michaelboeding
Discover and rank product ideas in a category using search trends, customer problems, and competing products.
SkillAFreshness: A★ 30Claude Code +9 - 0.656score
expired-patent-scout
michaelboeding
Find recently expired patents relevant to specified brands, products, or technology areas and develop evidence-backed product opportunity leads.
SkillAFreshness: A★ 30Claude Code +9 - 0.616score
chart-generation
michaelboeding
Use this skill for generating data-driven charts and visualizations using Python.
SkillBFreshness: B★ 30Claude Code +9 - 0.501score
brand-research-agent
michaelboeding
Use this skill to analyze a brand from their website before creating content.
SkillDFreshness: D★ 30Claude Code +9 - 0.501score
icon-generation
michaelboeding
Generate app icons with transparent backgrounds.
SkillDFreshness: D★ 30Claude Code +9
Cite this page
auto-permissions-review-install skill. Agent Mart. https://agentmart.dev/skills/michaelboeding-auto-permissions-review-install (last updated 2026-10-24)