Config Permits Global Delta

{{ 𝚫𝚫𝚫 }} Grant a permission globally (all projects) via settings.local.jsonc

majiayu000 8b61909 2 files Β· 1.6 KB Updated 567 repo stars

File contents

Add the permission $ARGUMENTS to the permissions.allow array in ~/.claude/settings.local.jsonc, then run ~/.claude/hooks/settings-sync.sh to sync it to settings.local.json.

Steps

  1. Read ~/.claude/settings.local.jsonc.
  2. Check whether $ARGUMENTS is already present in permissions.allow. If it is, say so and stop.
  3. Append "$ARGUMENTS" to the permissions.allow array. If the key doesn't exist yet, create it at the top level alongside hooks.
  4. Save the file using the Edit tool.
  5. Run ~/.claude/hooks/settings-sync.sh to sync the JSONC to settings.local.json.
  6. Confirm the permission was added.

majiayu000/claude-skill-registry-data/tree/main/platform/config-permits-global-delta commit 8b61909a06

Frequently asked questions

npx skillmds add majiayu000/config-permits-global-delta