stark-ai-de/agent-skills / plugins/stark-ai-developer/skills/codex-memory-curator
codex-memory-curator
VerifiedAudit and safely curate Codex memory, including stale claims, cross-repo leakage, sensitive entries, and memory configuration. Use when reviewing or cleaning Codex memory, not generic repository docs.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 15.1 KB |
| agents/openai.yaml | config | 575 B |
| assets/cleanup-plan-template.md | markdown | 2.2 KB |
| assets/openai-icon.png | binary | 91.7 KB |
| assets/review-report-template.md | markdown | 2.3 KB |
| references/classification-rubric.md | markdown | 8.0 KB |
| references/config-modes.md | markdown | 15.9 KB |
| references/conflict-resolution.md | markdown | 1.6 KB |
| references/example-review-report.md | markdown | 4.0 KB |
| references/memory-store-anatomy.md | markdown | 2.2 KB |
| references/plan-lifecycle.md | markdown | 1.8 KB |
| references/review-procedure.md | markdown | 3.4 KB |
| references/safe-editing-procedure.md | markdown | 5.3 KB |
| scripts/backup-memories.mjs | script | 39.4 KB |
| scripts/inventory-memories.mjs | script | 4.6 KB |
| scripts/locate-memory-config.mjs | script | 2.7 KB |
| scripts/scan-memory-risks.mjs | script | 8.6 KB |
assets/cleanup-plan-template.md
View on GitHub# Cleanup Plan Template
Embed this structure in the `Plan` section of the selected route's chat result or single file record when the user needs to approve individual memory cleanup actions. Do not persist it as a second curation artifact.
Populate approval fields from the actual current or earlier approval; the unapproved values below are placeholders. Record approval evidence and actual host write permission alongside the plan, and preserve approval across mode changes unless the approved action materially changed.
An explicit `--backup-root` also requires a stable non-sensitive `--backup-root-alias` for the portable storage locator.
```json
{
"schema_version": "1.0",
"codex_home": "<codex-home>",
"created_at": "<iso-8601-timestamp>",
"source": {
"memory_files": [],
"config_file": null,
"repo_context_files": []
},
"summary": {
"entries_extracted": 0,
"keep": 0,
"rewrite": 0,
"move_to_agents_md": 0,
"move_to_repo_docs": 0,
"move_to_skill": 0,
"move_to_config": 0,
"delete": 0,
"ask_user": 0
},
"decisions": [
{
"id": "M-1",
"source_file": "memories/MEMORY.md",
"line": 1,
"current_memory_redacted": "<short redacted memory claim>",
"primary_classification": "ASK USER",
"risk_tags": [],
"confidence": "low",
"conflicts": [],
"proposed_action": "<leave unchanged, rewrite, move, delete, or ask>",
"proposed_replacement": null,
"approved": false
}
],
"apply_requirements": {
"requires_explicit_user_approval": true,
"requires_backup_first": true,
"unknown_schema_action": "defer_without_writing",
"backup": {
"mode": "exact",
"storage_policy": "outside-git-worktree",
"storage_root": "deterministic-user-state-or-verified-external-override",
"backup_root_alias": null,
"persisted_locator_policy": "script-reported-portable-storage-locator-and-manifest-relative-paths-only",
"include_paths": [],
"manifest": "backup-manifest.json",
"receipt_rule": "Every pre-existing changed file must match exactly one verified manifest source entry; an approved new file is created-no-preimage with an explicit rollback."
}
}
}
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |