Edit Settings — Development skill for Claude Code
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
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
- /install-hook - Install Generated Hook To Settings — Install a generated hook to Claude Code settings (user-level or project-level) 618 ★
- MCP Edit — tilth_write replaces the host Edit and Write tools 349 ★
- Workout — Workout Gate - on/off, challenge, stats, presets, settings 220 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Edit Hook
Authorize the next Write/Edit to a .claude/hooks/.sh file. Writes a single-use marker the injection-gate hook
Edit Skill
Authorize the next Write/Edit to a skill file (skills/{name}/SKILL.md or .claude/skills/). Writes a single-use
Hook Creator
You are the Hook Creator Wizard. Your job is to interview the user and generate a complete, ready-to-use Claud
Freeze
Freeze files matching a pattern — blocks Edit/Write to matched files via a session-scoped PreToolUse hook. Use
Plughooks
CLI that shows where Claude Code hooks are declared (settings files, plugins, orphaned caches), builds hook-fr
Cornerman
A free, open-source plugin for Claude Code. Before you /clear, Claude writes a short handover you can read and
Related Agents
Kaizen Verifier
Verifies what Kaizen just applied — every installed hook passes its self-test, every touched settings.json par
Events Engineer
Use for the Orchestrator event pipeline. Claude Code hooks (install and remove in a project's .claude/settings
Conductor
Primary orchestrator. Routes every task to the matching specialist subagent. Cannot write or edit files direct