sharkyger

Edit Settings — Development skill for Claude Code

Development community

Authorize the next Write/Edit to a .claude/settings.json (or settings.local.json) file.

How to install Edit Settings

Installs to ~/.claude/skills/sharkyger-claude-code-prompt-injection-gate-edit-settings/SKILL.md

Terminal
mkdir -p ~/.claude/skills/sharkyger-claude-code-prompt-injection-gate-edit-settings && curl -fsSL https://raw.githubusercontent.com/sharkyger/claude-code-prompt-injection-gate/HEAD/commands/edit-settings.md -o ~/.claude/skills/sharkyger-claude-code-prompt-injection-gate-edit-settings/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Edit Settings does


description: "Authorize the next Write/Edit to a .claude/settings.json (or settings.local.json) file. Writes a single-use marker the injection-gate hook consumes on first matching write." argument-hint: "" allowed-tools: Bash(mkdir:*), Bash(shasum:*), Bash(touch:*), Bash(printf:*), Bash(cut:*), Bash(python3:*)

!NORM=$(python3 -c 'import sys,os; print(os.path.abspath(os.path.expanduser("".join(sys.argv[1].split()))))' "$ARGUMENTS") && mkdir -p /tmp/.claude

Alternatives in Development

Full documentation available on GitHub

View Source Repository