outlinedriven/odin-codex-plugin/memory-sanitize
Claude Code and agent skill by outlinedriven/odin-codex-plugin
- community
Checking that the SKILL.md file is still in the repository.
Produce share-safe copies of memory files under /tmp with PII redacted (paths, emails, session IDs, dates) and credentials scanned (tokens, keys); never mutates originals. Use when the user says "sanitize memory for sharing", "redact memory PII", or "scan memory for credentials".
Install
npx vskill@latest install outlinedriven/odin-codex-plugin/memory-sanitizeSKILL.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
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)
2. Run sanitizer
The script writes redacted copies under $DST/ and emits a JSON report to stdout:
Read references/REDACTION-RULES.md for the full pattern table and severity tiers.
3. Show diff and credential hits
For each file with credential hits, show the specific line(s) with the hit pattern highlighted. If any credential remains in the source originals (zero redaction applied despite a credential pattern match), abort with a critical warning and recommend the user manually remediate the original before sharing.
4. Present to user
Render:
Wait for user acknowledgement before exiting.
Boundary fences
- Read-only on originals. Writes only to
/tmp/memory-sanitized-<ts>/. - Does not update
MEMORY.mdin the originals — sanitized copies are not a replacement. - Does not read session histories.
- Security limitation: pattern-based scanning misses novel or obfuscated formats — the user is the final reviewer before sharing.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/memory-sanitize/SKILL.md
Popularity
- Repository stars
- 15
- Repository forks
- 2
- 7-day trend score
- 14
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/outlinedriven/odin-codex-plugin/memory-sanitize)