Goblin-mode config-permits-global-delta
{{ ๐ซ๐ซ๐ซ }} Grant a permission globally (all projects) via settings.local.jsonc
install
source ยท Clone the upstream repo
git clone https://github.com/JasonWarrenUK/goblin-mode
Claude Code ยท Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/JasonWarrenUK/goblin-mode "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/config-permits-global-delta" ~/.claude/skills/jasonwarrenuk-goblin-mode-config-permits-global-delta && rm -rf "$T"
manifest:
skills/config-permits-global-delta/SKILL.mdsource content
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
- Read
.~/.claude/settings.local.jsonc - Check whether
is already present in$ARGUMENTS
. If it is, say so and stop.permissions.allow - Append
to the"$ARGUMENTS"
array. If the key doesn't exist yet, create it at the top level alongsidepermissions.allow
.hooks - Save the file using the Edit tool.
- Run
to sync the JSONC to~/.claude/hooks/settings-sync.sh
.settings.local.json - Confirm the permission was added.