一键导入
reviewer-disable
Disable the code review stop hook entirely by short-circuiting stop_hook.enabled_when in .reviewer/settings.local.json.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Disable the code review stop hook entirely by short-circuiting stop_hook.enabled_when in .reviewer/settings.local.json.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Enable the code review stop hook in .reviewer/settings.local.json. Optionally takes a shell expression for when to enforce (defaults to restoring the prior expression, or always).
Configure autofix to only fix MAJOR and CRITICAL issues (unattended mode)
Review the conversation transcript for behavioral issues (misleading behavior, disobeyed instructions, instructions worth saving).
Assess whether the approach taken on a branch is the right way to solve the problem.
Make the stop hook non-blocking (remind once, then let the agent through)
Restore the stop hook to blocking mode (default: block up to 3 times before letting through)
| name | reviewer-disable |
| description | Disable the code review stop hook entirely by short-circuiting stop_hook.enabled_when in .reviewer/settings.local.json. |
| allowed-tools | Bash(jq *) |
Disables the master switch (stop_hook.enabled_when) by rewriting it as
false && (<original>), so the orchestrator exits immediately.
reviewer-enable (no args) restores the original expression.
A re-disable is a no-op (it won't stack the prefix), and an empty expression is
simply set to false.
Run this command:
jq -n --argjson existing "$(cat .reviewer/settings.local.json 2>/dev/null || echo '{}')" '
($existing.stop_hook.enabled_when // "") as $cur
| $existing * {"stop_hook": {"enabled_when": (
if $cur == "" or $cur == "false" then "false"
elif ($cur | startswith("false && (")) then $cur
else "false && (" + $cur + ")"
end
)}}
' > .reviewer/settings.local.json.tmp && mv .reviewer/settings.local.json.tmp .reviewer/settings.local.json
Then confirm that the stop hook has been disabled entirely.