Save Memory — Development skill for Claude Code
Authorize the next Write/Edit to a project-memory file.
How to install Save Memory
Installs to ~/.claude/skills/sharkyger-claude-code-prompt-injection-gate-save-memory/SKILL.md
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.
What Save Memory does
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: "" 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/
Alternatives in Development
- Obsidian MCP Server — Read, write, search, and surgically edit Obsidian vault notes, tags, and frontmatter via MCP 686 ★
- MCP Edit — tilth_write replaces the host Edit and Write tools 349 ★
- Phase 2 Execution Plan — Phase 2 Execution Plan: Consumes/Produces Pattern (22 Skills) 183 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Save Rule
Authorize the next Write/Edit to a CLAUDE.md file (operator rules / project context). Writes a single-use mark
Edit Hook
Authorize the next Write/Edit to a .claude/hooks/.sh file. Writes a single-use marker the injection-gate hook
Freeze
Freeze files matching a pattern — blocks Edit/Write to matched files via a session-scoped PreToolUse hook. Use
Paper Motion
Claude Code skill: make a reel without recording or editing. You write the script, a voice reads it, Claude wr
Sentinel Hook
A pre-action gate for Claude Code agents: allow, ask or deny every shell command and file write, with each dec
Hunt Ssrf
Active SSRF hunt for an ingested program. Consumes webvuln-surface seeds (ssrf_likely params + URL-accepting i
Related Agents
Conductor
Primary orchestrator. Routes every task to the matching specialist subagent. Cannot write or edit files direct
Part 11: Auto-Capture Hook (Stop Manually Writing Memory)
By Terp - Terp AI Labs --- The vault system from Part 9 is powerful, but there's a gap: you have to manually w
Agent Tuner
Reflexion-style agent tuner. Given evidence of a recurring failure by a specific agent, proposes the smallest