- Home
- Skills
- Agents & Orchestration
- codex-memory-curator
More screenshots
Works with the AI Agents you already use
Codex Memory Curator
by servrox
Audit, prune, and secure your AI agent's long-term memory to prevent pollution and data leakage.
Free
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
- 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.
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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
What's inside
Frequently Asked Questions
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.