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
- Maestro Next — Unified entry for all development intents — classify intent, assess complexity, route to the correct execution 530 ★
- MCP Edit — tilth_write replaces the host Edit and Write tools 349 ★
- Rules Slim — rules-size channel 報 CLAUDE.md 或 rules/common 超門檻後,使用者說「來瘦身」「處理超標」「跑 rules-slim」時,找出該砍哪幾段、產草稿逐段拍板、准的才寫回 42 ★
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
Save Session Log
Save a structured record of the current session — what was discussed, what was analyzed/built, where files wer
Cornerman
A free, open-source plugin for Claude Code. Before you /clear, Claude writes a short handover you can read and
Hunt Ssrf
Active SSRF hunt for an ingested program. Consumes webvuln-surface seeds (ssrf_likely params + URL-accepting i
Related Agents
Solomon Coder
Delegate routine coding work (write a function, tests, boilerplate, refactor a single file, summarize or expla
Conductor
Primary orchestrator. Routes every task to the matching specialist subagent. Cannot write or edit files direct
Iron Verifier
Independently exercise acceptance on a real surface after review. Pin an exact commit or captured local snapsh