codex-memory-curator — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited codex-memory-curator (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Audit Codex memories as user-owned durable state: expose stale, unsafe, duplicated, or misplaced entries; propose better destinations; add a structured cleanup plan when approval needs precision; and apply cleanup only after a report, backup, and explicit user approval.
Memory is context, not truth. The latest user request, current repo files, AGENTS.md, package files, ADRs, and live evidence override stored memories.
~/.codex/memories, stale memories, memory pollution, or memories making Codex worse.AGENTS.md, repo docs, a skill, config, or deletion.${CODEX_HOME:-$HOME/.codex} or the user-provided Codex home path.<codex-home>/memories.<codex-home>/config.toml when present.references/classification-rubric.md when a classification is not obvious.references/conflict-resolution.md when memory may conflict with current prompt, AGENTS.md, repo docs, package scripts, ADRs, source, or config.references/config-modes.md when recommending memory config changes.references/memory-store-anatomy.md when the memory directory contains multiple generated-state file types.references/safe-editing-procedure.md before modifying memory files.assets/review-report-template.md when report shape is unclear.assets/cleanup-plan-template.md when a structured cleanup plan artifact is useful or requested. Do you want me to apply the safe cleanup now? I will back up the memory directory first..proposed.md cleanup plan instead.AGENTS.md or repo docs for repo rules.Use ${CODEX_HOME} when set; otherwise use the user's home directory plus .codex.
node scripts/inventory-memories.mjs node scripts/scan-memory-risks.mjs --jsonExit code 1 means findings were found, not that the scan failed. The scanner caps returned findings and skips generated evidence by default; raise --max-findings or add --include-generated-evidence only when needed. Use scanner JSON as evidence; report counts and the highest-signal redacted findings instead of pasting the full payload.
<codex-home>/config.toml when present; read no more than the first 220 lines.references/config-modes.md for exact mode signals.references/memory-store-anatomy.md before deciding what is safe to edit.references/conflict-resolution.md when precedence is unclear.KEEP, KEEP BUT REWRITE, MOVE TO AGENTS.md, MOVE TO REPO DOCS, MOVE TO SKILL, MOVE TO CONFIG, DELETE, or ASK USER.stale, duplicated, too-broad, too-specific, repo-specific, workflow, config, sensitive, conflicting, or useful.high, medium, or low) and a proposed action to every entry.references/safe-editing-procedure.md, run node scripts/backup-memories.mjs, apply only approved minimal edits by memory ID, re-read changed sections, and show a trimmed diff summary.For each atomic claim, ask:
always, never, or must?AGENTS.md, repo docs, a skill, config, or deletion?Load references/classification-rubric.md for examples and detailed decision rules.
Read only when needed:
references/classification-rubric.md for detailed classification rules and rewrite examples.references/conflict-resolution.md for precedence rules when memory conflicts with current repo evidence.references/config-modes.md for memory config mode signals and TOML snippets.references/example-review-report.md for report shape examples.references/memory-store-anatomy.md for generated-state boundaries and common memory file buckets.references/safe-editing-procedure.md before modifying memory files.assets/review-report-template.md when a concise report template is useful.assets/cleanup-plan-template.md when a structured cleanup plan is needed.Use only when needed. All scripts are non-interactive, use Node.js stdlib only, and accept --help.
node scripts/inventory-memories.mjs [--codex-home PATH] [--json]
node scripts/scan-memory-risks.mjs [--codex-home PATH] [--json] [--max-findings N] [--include-generated-evidence]
node scripts/backup-memories.mjs [--codex-home PATH]inventory-memories.mjs is read-only and lists memory files with size/date metadata plus a best-effort file kind.scan-memory-risks.mjs is read-only, redacts matching lines by default, labels risk categories, limits returned findings, skips generated evidence unless requested, and exits 1 when findings exist.backup-memories.mjs creates a timestamped backup copy under Codex home; it does not edit or delete memory files.Before edits, lead with this report shape:
# Codex Memory Review
## Top Decisions
1.
2.
3.
## Summary
- Memory files inspected:
- Entries extracted:
- Keep:
- Rewrite:
- Move to AGENTS.md:
- Move to repo docs:
- Move to skill:
- Move to config:
- Delete:
- Ask user:
## Highest-Risk Memories
| ID | Entry | Risk | Recommendation |
| --- | ----- | ---- | -------------- |
## Proposed Cleanup Table
| ID | Current memory | Classification | Risk tags | Confidence | Reason | Proposed action |
| --- | -------------- | -------------- | --------- | ---------- | ------ | --------------- |
## Conflict Notes
| ID | Higher source | Conflict | Recommendation |
| --- | ------------- | -------- | -------------- |
## Optional Cleanup Plan Artifact
- Plan path:
- Plan format: `assets/cleanup-plan-template.md`
- Omit this section for simple review-only work unless the user needs ID-by-ID approval.
## Config Recommendation
## Recommended Next ActionAfter approved edits, also include backup path, files changed, trimmed diff summary, and residual risks.
AGENTS.md, repo docs, skills, config, deletion, and ask-user cases.CODEX_HOME points elsewhere..proposed.md file instead of editing the original.Stay skeptical and concise. Lead with top decisions and the cleanup report, not a long explanation. Give one concrete next action when action is needed.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.