Agent skill

config-permits-global-delta

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

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/config-permits-global-delta

SKILL.md

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.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results