[FEATURE] Add Skill() to permissions pattern in JSON schema

Resolved 💬 3 comments Opened Dec 16, 2025 by PaulRBerg Closed Jan 15, 2026

Problem

The JSON schema at https://www.schemastore.org/claude-code-settings.json doesn't include Skill in the permissionRule regex pattern. This causes false validation errors when users add skill permissions to their settings.

<img width="500" src="https://github.com/user-attachments/assets/5a9fa5d5-9ad7-4514-a24b-fb7ecb846d71" />

The current regex pattern includes:

Bash|BashOutput|Edit|ExitPlanMode|Glob|Grep|KillShell|NotebookEdit|Read|SlashCommand|Task|TodoWrite|WebFetch|WebSearch|Write

But Skill is missing, so entries like these fail validation:

  • Skill(codex-oracle)
  • Skill(dry-refactor)
  • Skill(fp:effect-ts)
  • Skill(frontend:xstate-react)

Proposed solution

Add Skill to the tool list in the permissionRule pattern:

- Bash|BashOutput|Edit|ExitPlanMode|Glob|Grep|KillShell|NotebookEdit|Read|SlashCommand|Task|TodoWrite|WebFetch|WebSearch|Write
+ Bash|BashOutput|Edit|ExitPlanMode|Glob|Grep|KillShell|NotebookEdit|Read|Skill|SlashCommand|Task|TodoWrite|WebFetch|WebSearch|Write

Alternatives considered

Users can disable schema validation, but that loses the benefit of catching actual typos and invalid patterns.

Priority

Medium

Category

Configuration and settings

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗