Save Memory banner
sharkyger sharkyger

Save Memory

Development community

Description

--- description: "Authorize the next Write/Edit to a project-memory file. Writes a single-use marker the injection-gate hook consumes on first matching write." argument-hint: "<absolute-path-to-memory-md-file>" 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-injection-gate && touch "/tmp/

Installation

Installs to ~/.claude/skills/sharkyger-claude-code-prompt-injection-gate-save-memory/SKILL.md

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

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

Full documentation available on GitHub

View Source Repository