memory-sanitize

Installation
SKILL.md

Redact PII and scan for credentials in memory files — write copies to /tmp, never touch originals.

Scope

Memory-dir-only. Does not read session histories. Structural audit (orphans, duplicates) belongs in memory-clean; run that first if the directory is messy. This skill is a best-effort redactor, not a formal DLP tool — the user is the final reviewer.

Path resolution

SKILL_SCRIPTS="${MEMORY_SANITIZE_SKILL_SCRIPTS:-$HOME/.claude/claude/skills/memory-sanitize/scripts}"
MEMORY_DIR=$("$SKILL_SCRIPTS/resolve-paths.sh" memory_dir)

SESSION_HISTORY_GLOB is not used by this skill. Abort on non-zero exit. Override MEMORY_SANITIZE_SKILL_SCRIPTS if installed outside $HOME/.claude.

Workflow

1. Resolve memory dir (above)

Installs
1
GitHub Stars
14
First Seen
Jun 4, 2026
memory-sanitize — outlinedriven/odin-codex-plugin