In short.
permission-check is a diagnostic skill for Claude Code users facing unexpected approval prompts, but its read-only behavior and privacy safeguards depend on the assistant following its instructions. It compares project and optional user-wide configuration, explains conflicting settings, and distinguishes saved defaults from the current session mode. A concrete inconsistency could omit a relevant VS Code user setting. Nothing was executed, so compatibility, diagnostic accuracy and privacy behavior remain untested.
Researched and written by an AI model and checked by a second AI model. How it works
The selected scope is .claude/skills/permission-check at revision fe7077463c06e6d1572bb6c13d1b00525a4ff28e, represented by its single captured SKILL.md. The repository-root LICENSE supplies the related notice outside that folder. Other repository contents, including the referenced .claude/scripts/statusline.sh, are excluded. No commands or resource instructions were executed. Installation, parsing, mode resolution, privacy enforcement, platform compatibility and actual diagnostic outcomes remain untested.
The overview
Identity
permission-check is an instruction-based skill in pedrohcgs/claude-code-my-workflow, located at .claude/skills/permission-check/SKILL.md. Its declared purpose is explaining why Claude Code does or does not request approval.
The skill declares Read, Bash and Glob as allowed tools and Edit and MultiEdit as disallowed. It specifies a diagnostic report rather than automatic settings changes.
Assessment
The skill offers a useful structure for cases where terminal Claude Code, the VS Code extension and an existing session appear to behave differently. Its strongest feature is separating saved configuration from the mode currently active in a session.
Its output should be treated as a diagnosis to confirm. The permission-resolution rules are assertions in the instruction file, and no execution establishes that they match an installed Claude Code or extension version.
Users
The intended users are developers who encounter unexpected approval prompts, conflicting permission settings or changes that appear ineffective. Beginners get an explanation of project settings, user settings and session state; experienced developers get named configuration keys and rule-resolution claims to investigate.
The resource is particularly relevant when someone uses both terminal Claude Code and its VS Code extension. It assumes access to the affected project and participation from a user who can confirm the live mode and authorize any user-wide inspection.
Capabilities
The instructions cover inspecting VS Code workspace settings, CLI project settings and CLI project-local settings. With explicit consent, they extend inspection to CLI user settings and VS Code user settings.
The requested output identifies the configuration layer determining the starting mode, combines allow and deny rules, flags client differences and compares the result with a live mode indicator. Named failure cases include stale sessions, more specific settings overriding broader ones, ignored mode values and a misspelled VS Code setting.
The skill can explain suggested corrections, but it explicitly says it never modifies settings.
Using it
Requirements
Using the resource requires Claude Code with project-skill support and access to the relevant configuration files. The instructions use CLAUDE_PROJECT_DIR to locate the project, with git rev-parse --show-toplevel as a fallback when that variable is absent.
The file includes user-settings path handling for macOS, Linux and Windows-like shell environments. Cross-platform operation and a minimum compatible Claude Code version are not established.
Its runtime guidance references .claude/scripts/statusline.sh, which is outside the supplied skill folder. The source also offers the Claude Code mode indicator as a way to inspect live state.
Mechanism
Phase A reads repository-local configuration and extracts permission-related fields. Missing files are reported as absent. Phase B requires explicit confirmation before accessing user-wide files and instructs the assistant to report only selected settings.
The skill models configuration as six layers ending with the live session mode. It adds client-specific exceptions, including restrictions on starting modes in project files and separate VS Code extension settings. It describes allow and deny lists as unions across CLI tiers, with deny taking precedence subject to a stated mod-related exception.
These are the resource's proposed resolution rules. The live mode is checked through a status-line badge or interface indicator; settings files alone do not establish it.
Setup
The supplied project layout places the instruction file at .claude/skills/permission-check/SKILL.md. Its description lists requests such as permission check and why am I getting prompts as intended triggers.
After making the skill available to Claude Code, begin with the affected project. Repository-local inspection is the default; user-wide inspection is a separate consent step if the initial diagnosis is inconclusive. Installation, discovery and invocation were not tested.
Example
An illustrative case in the source has CLI user settings specify bypassPermissions while project-local settings specify default. The skill predicts that the project-local default determines the starting mode and can explain continued prompts.
Its proposed report names the winning layer, lists applicable allow and deny rules, and asks for comparison with the live mode indicator. Reading the user-level setting in this example would require explicit consent. This is an expected diagnosis described by the source, not an observed result.
Assessment & evidence
Limitations
The VS Code extraction instructions contain a specific inconsistency. Phase A identifies allowDangerouslySkipPermissions as an unprefixed key, but Phase B's VS Code user-settings list includes only keys beginning with claudeCode. Following that list literally could omit the user-level toggle needed for the diagnosis.
Read-only operation is an instruction, not demonstrated isolation. Bash remains an allowed tool, and the supplied file establishes no independent enforcement preventing changes. Likewise, restricting reported keys does not establish that retained permission rules contain no sensitive paths.
The resource supplies no separate diagnostic script, parsing tests or official documentation supporting its precedence and mode claims. Accuracy, privacy enforcement and platform compatibility are untested.
Reasoning
The diagnostic approach connects a visible symptom to several possible causes: a more specific setting, a difference between clients, or a session mode that changed after startup. Separating those causes can make an otherwise confusing collection of settings easier to understand.
Starting with project files also limits the initial access scope. These design choices support its usefulness as a troubleshooting aid, while confidence in any particular answer still depends on correct parsing and current product behavior.
Alternatives
For checking the current mode, the source points to the Claude Code interface indicator or a configured status-line badge. It describes /permissions as managing allow and deny rules rather than changing the mode.
Manual inspection of the relevant settings files may be sufficient for a single known conflict. The skill's additional value is its repeatable comparison across files and clients. No comparative accuracy or time-saving results are supplied.
Evidence
The repository location is [https://github.com/pedrohcgs/claude-code-my-workflow/tree/main/.claude/skills/permission-check]. The exact instruction file is pinned to revision fe7077463c06e6d1572bb6c13d1b00525a4ff28e at [https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/fe7077463c06e6d1572bb6c13d1b00525a4ff28e/.claude/skills/permission-check/SKILL.md].
The supplied scope contains that SKILL.md and the related repository-root LICENSE. The instruction file's SHA-256 is 19dca2f2e948ec40804a9b5b0e1f927661a160407be6a36003c298160e542a41. The evidence establishes the written procedure and licence terms; it does not establish successful execution.
Access & freshness
Costs
The MIT notice grants its stated rights free of charge. Claude Code access costs, model usage charges, token consumption and time per diagnosis are unspecified. The total operating cost is unknown.
Rights
The repository-root MIT License names copyright holder Pedro H. C. Sant'Anna, dated 2026. It permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notice accompany copies or substantial portions. It disclaims warranty and liability.
The captured notice is available at [https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/fe7077463c06e6d1572bb6c13d1b00525a4ff28e/LICENSE]. Redistribution of the skill should retain that notice.
Freshness
The supplied snapshot was captured on 17 November 2026 at 01:45:58.343 UTC. The skill says its permission-mode documentation was reverified on 26 September 2026 and includes behavior claims for Claude Code 2.1.283 and later.
Those statements are not a verified compatibility matrix. The current upstream contents and behavior of any installed Claude Code or VS Code extension version are unknown.
Actions
Use the skill to identify a likely configuration cause, then confirm the live session mode and check permission semantics against documentation for the installed client versions before relying on its proposed correction.
For VS Code investigations, account for the unprefixed allowDangerouslySkipPermissions key omitted from the Phase B extraction list. Keep user-wide inspection explicitly opt-in and review permission rules for sensitive paths before sharing the report.
Treat settings changes as a separate decision. The resource's declared role is diagnosis, and suggested changes have not been validated through execution.
