What problem does it solve? Writing Claude Code permission policies is error-prone: broad deny rules silently override narrow allows, invalid parameter-matching syntax gets ignored, and unsafe auto or bypassPermissions modes get recommended without guardrails. This Skill produces correct allow/ask/deny policies with explicit precedence analysis and safety validation. ## Core Features & Use Cases - Policy authoring and audit: Draft or review permissions.allow, permissions.ask, and permissions.deny arrays with correct Tool and Tool(specifier) syntax, including MCP wildcards and parameter matching. - Precedence and mode analysis: Build overlap tables showing deny-then-ask-then-allow effective results, and recommend the least-permissive permission mode (default, plan, acceptEdits, auto, dontAsk, bypassPermissions) with safety conditions. - Hooks boundary guidance: Clarify that hooks supplement but never override matching deny or ask rules. - Use Case: A team wants npm tests auto-approved, git push to always prompt, and all MCP tools denied except GitHub read tools. The Skill detects that a broad mcp__* deny blocks the GitHub allow exception and proposes a corrected policy with a precedence table and coverage gaps. ## Quick Start Ask the assistant to audit your Claude Code settings.json permissions and explain which rules actually take effect for each tool call.