memory-sanitize

Redact memory files and write sanitized copies to /tmp with a JSON report.

5|2|Updated Nov 17, 2025
One-click install
npx skills add https://github.com/OutlineDriven/odin-gemini-cli-extension --skill memory-sanitize
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-sanitize
Source: https://github.com/OutlineDriven/odin-gemini-cli-extension/tree/main/skills/memory-sanitize
Command: npx skills add https://github.com/OutlineDriven/odin-gemini-cli-extension --skill memory-sanitize

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Produces share-safe copies of memory files under /tmp with PII redacted (paths, emails, session IDs, dates) and credentials scanned (tokens, keys); originals are never mutated.

Core Features & Use Cases

  • Redact sensitive data in memory files to enable safe sharing without exposing secrets.
  • Generate sanitized copies under /tmp and provide a JSON report detailing redactions and credential hits.
  • Use case: when you need to share memory notes with external collaborators without leaking secrets.

Quick Start

Run the sanitizer on your memory directory to produce a sanitized copy under /tmp.

Frequently Asked Questions about memory-sanitize

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I redact PII and credentials from memory files before sharing?

Sanitizing memory files for safe sharing involves redacting paths, emails, session IDs, and tokens, then writing copies to /tmp. The tool detects Tier-1 credentials in the source and aborts with remediation guidance to prevent leaks.

What happens when Tier-1 credentials are detected during memory redaction?

When Tier-1 credentials are detected during memory redaction, the process aborts immediately to prevent exposure and provides guidance to remediate. No sanitized copies are written until the source memory files are cleared of high-risk secrets.

Does memory sanitization modify my original files?

Memory sanitization does not modify original files. It operates on the memory directory read-only and writes sanitized copies with PII redacted to /tmp, ensuring your source data remains completely intact and unaltered.

What types of sensitive data are removed during memory file sanitization?

During memory file sanitization, paths, emails, session IDs, and dates are redacted as PII, while tokens and keys are scanned as credentials. A JSON report is generated detailing all redactions and credential hits found.

Can I generate a report of what was redacted from my memory notes?

You can generate a detailed JSON report of redactions and credential hits by running the sanitizer on your memory directory. The report outlines exactly what PII and credentials were removed from the share-safe copies.