
codex-memory-curator
Audit, prune, and secure your AI agent's long-term memory to prevent pollution and data leakage.
- 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
Free
One-time purchase
Included in download
- Downloadable skill package
- 1 permission declared
See it in action
A real example of what this skill takes in and produces.
Sample output
Codex Memory Review
Top Decisions:
- Move 5 repo-specific rules to AGENTS.md
- Redact 1 leaked API key in memory-history.md
- 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.

codex-memory-curator
Audit, prune, and secure your AI agent's long-term memory to prevent pollution and data leakage.
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:
- Move 5 repo-specific rules to AGENTS.md
- Redact 1 leaked API key in memory-history.md
- 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
How to Install
mkdir -p ~/.claude/skills && curl -sL https://www.agensi.io/api/install/codex-memory-curator | tar xz -C ~/.claude/skills/Free skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
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
File Scopes