1
    codex-memory-curator

    codex-memory-curator

    Audit, prune, and secure your AI agent's long-term memory to prevent pollution and data leakage.

    Updated May 2026
    0 installs

    Free

    One-time purchase

    Included in download

    • Downloadable skill package
    • 1 permission declared
    • Instant install

    See it in action

    A real example of what this skill takes in and produces.

    Sample output

    Codex Memory Review

    Top Decisions:

    1. Move 5 repo-specific rules to AGENTS.md
    2. Redact 1 leaked API key in memory-history.md
    3. Delete 12 stale entries regarding deprecated v1 API Summary:
    • Keep: 14 | Delete: 12 | Move: 8 Do you want me to apply the safe cleanup? I will back up the directory first.

    Screenshots

    About This Skill

    What it does

    The Codex Memory Curator is a specialized maintenance utility designed to audit and prune AI agent "memories." As agents accumulate long-term context, they often suffer from memory pollution—stale rules, duplicate entries, or sensitive data leakage across different repositories. This skill provides a structured workflow to inventory, scan for risks, and clean up your agent's durable state.

    Why use this skill

    Standard prompting can't easily fix an agent's underlying memory architecture. This skill acts as a professional librarian and security auditor for your agent. It classifies every memory entry into one of several categories (KEEP, MOVE TO AGENTS.md, DELETE, etc.), ensuring that repo-specific rules stay in the repo and global preferences stay in memory.

    Key advantages include:

    • Security First: Employs a redacted risk scanner to identify credentials or sensitive data before you see them.
    • Safe Operations: Never performs destructive edits without creating a timestamped backup and receiving explicit confirmation.
    • Context Optimization: Shrinks context windows by moving misplaced documentation from memory into the appropriate project files or config.

    Supported tools

    Developed for developers using the Codex ecosystem, it interacts with ~/.codex/memories and config.toml using specialized Node.js scripts for non-destructive inventory and risk assessment.

    Use Cases

    • Identify and redact leaked credentials or PII in agent memory history
    • Relocate repo-specific rules from global memory to AGENTS.md files
    • Resolve conflicts between old memories and current project documentation
    • Generate a structured cleanup plan to prune duplicate or 'noisy' context

    Reviews

    No reviews yet - be the first to share your experience.

    Only users who have downloaded or purchased this skill can leave a review.

    Security Scanned

    Passed automated security review

    Permissions

    Terminal / Shell

    File Scopes

    agents/**
    assets/**
    references/**

    Frequently Asked Questions

    Free