More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+23 more

    Codex Memory Curator

    by servrox

    2

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

    Free

    6 usesSecurity scanned
    codex-memory-curator

    codex-memory-curator

    Example session with this skill installed

    My agent is giving me outdated advice and I'm worried about leaked tokens. Can you audit my Codex memories, check for sensitive data, and suggest a cleanup plan?

    • Read your context and instructions
    • Compiled the codex-memory-curator

    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.
    1. Move 5 repo-specific rules to AGENTS.md

    Connects securely to your tools. The creator never sees your data.

    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.

    • Cannot resolve conflicts in unreachable private repositories.
    • Scan depth limited to prevent context overflow.
    • Edits require manual multi-step approval.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    6 uses

    Times used to date

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 6 months ago

    • Free with an Agensi account

    Permissions

    Terminal / Shell
    Listed6 months ago

    What's inside

    Frequently Asked Questions

    This skill audits and optimizes your AI agent's long-term memory by identifying 'memory pollution'—such as stale data, duplicate rules, and sensitive information—ensuring your agent remains efficient and secure over time.

    Before any cleanup begins, the tool runs a risk scanner to flag sensitive data and creates a timestamped backup of your current memory state, ensuring no data is lost during the pruning process.

    The skill is designed specifically for the Codex ecosystem, interacting directly with local `.codex/memories` and `config.toml` files via specialized Node.js scripts.

    Your purchase includes the full workflow logic for memory auditing, the pre-built risk scanning scripts, and a set of categorization protocols developed to optimize context window usage.

    Yes, users receive access to version updates that include refined risk signatures and improved classification logic as memory management standards for AI agents evolve.

    Setup is straightforward: once the skill is added to your environment, it hooks into your existing memory directories using provided Node.js utilities to map out your current data structure.

    New in Agents & Orchestration

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.

    Free