# Reviewer Max Tries

> Set the maximum number of times the stop hook will block before letting the agent through

- Skill: `imbue-ai/reviewer-max-tries` (Agent Skill)
- Install (CLI): `npx skillmds@latest add imbue-ai/reviewer-max-tries`
- Raw SKILL.md: https://api.skillmd.com/api/skills/imbue-ai/reviewer-max-tries/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: imbue-ai (https://skillmd.com/u/imbue-ai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/imbue-ai/reviewer-max-tries

---


The user should provide a number N as an argument. If they didn't, ask them for it.

Run this command (replacing $N with the user's value):

```bash
jq -n --argjson existing "$(cat .reviewer/settings.local.json 2>/dev/null || echo '{}')" --argjson n $N '$existing * {"stop_hook": {"max_consecutive_blocks": $n}}' > .reviewer/settings.local.json.tmp && mv .reviewer/settings.local.json.tmp .reviewer/settings.local.json
```

Then confirm that the stop hook max consecutive blocks has been set to the requested value.

