Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Diagnoses why Claude Code prompts for permission by reading repo-local and optionally host-global settings layers, read-only.
59% 55%−5 ptsof test cases passed
Passed 12 of 22 test cases with the skill, and 13 of 22 without it.
This test ran on v1. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Surface the full permission-mode picture across every layer Claude Code honors, so the user can see at a glance why prompts are (or aren't) firing. Claude Code resolves permission mode from a 6-tier stack; a single misconfigured layer produces silent overrides that are hard to debug by eye.
~/Library/Application Support/Code/User/settings.json (macOS), %APPDATA%/Code/User/settings.json (Windows), ~/.config/Code/User/settings.json (Linux). Key: claudeCode.initialPermissionMode.<repo>/.vscode/settings.json. Same key. Wins over user.~/.claude/settings.json. Key: permissions.defaultMode.<repo>/.claude/settings.json. Same key. Wins over user.<repo>/.claude/settings.local.json. Same key. Wins over project.Shift+Tab (CLI) or the mode indicator (VS Code / Desktop); /permissions manages allow/deny rules, not the mode. Authoritative until session ends.Two rules that override the stack (Anthropic's permission-modes docs, re-verified 2026-09-26):
auto or bypassPermissions as a starting mode. A bypassPermissions there is ignored and the terminal session starts in Manual (default); an auto there is ignored in favour of the built-in default. Every other mode value applies from any layer.claudeCode.initialPermissionMode (which does not accept auto), and a bypass value needs the extension's Allow dangerously skip permissions toggle. With no override, Claude Code ≥ 2.1.283 starts in auto mode.So check first for "bypass set in the project settings, where it cannot take effect" — then for the mid-session override below.
Key insight: initialPermissionMode only fires at session start. If you toggled mid-session (or the session started before a settings change), the file-level settings are correct but the runtime mode differs. That, and a bypass set only in project settings, are the two usual sources of "bypass isn't working" confusion.
Host-global settings files (~/.claude/settings.json, VSCode user settings) may contain:
This skill is designed for defense-in-depth: Phase A runs automatically and reads only repo-local files. Phase B reads host-global files only after the user explicitly confirms — never silently. When reporting host-global layers, redact any key that is not directly relevant to permissions.*, claudeCode.*, or allowDangerouslySkipPermissions.
Read these immediately — they are checked into (or gitignored inside) the repo and do not cross the trust boundary:
Next to this one in the catalogue, plus more from the same author.