codex-memory-curator

codex-memory-curator is a skill for Codex from stark-ai-de/agent-skills. It costs 44 tokens per session (3,053 once invoked), scanned A, original, Apache-2.0.

A setup and diagnostic workflow for CodeGraph and ast-grep, tools that help agents understand a codebase and search its structure. CodeGraph provides semantic repository scope, while ast-grep searches code by syntax rather than only by text.

In plain words
What is it for?
Use it to install or update the analysis tools, connect them to a coding client, build or migrate indexes, or diagnose a broken setup. Once the setup is ready, ordinary coding work does not need this workflow.
Why use it?
It helps agents identify the relevant parts of a repository and find code patterns more precisely. It also addresses missing installations, stale indexes, disconnected integrations, and required migrations.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md; mentions Codex.

Good fit Use it to install or update the analysis tools, connect them to a coding client, build or migrate indexes, or diagnose a broken setup. Once the setup is ready, ordinary coding work does not need this workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stark-ai-de/agent-skills/codex-memory-curator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add stark-ai-de/agent-skills --skill codex-memory-curator
Clone the repo
git clone --depth 1 https://github.com/stark-ai-de/agent-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codex-memory-curator

README.md
[![agentmods](https://agentmods.dev/badge/skills/stark-ai-de/agent-skills/codex-memory-curator/github.svg)](https://agentmods.dev/skills/stark-ai-de/agent-skills/codex-memory-curator)
Your own site
<a href="https://agentmods.dev/skills/stark-ai-de/agent-skills/codex-memory-curator"><img src="https://agentmods.dev/badge/skills/stark-ai-de/agent-skills/codex-memory-curator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for codex-memory-curator

Your own site · 80×15
<a href="https://agentmods.dev/skills/stark-ai-de/agent-skills/codex-memory-curator"><img src="https://agentmods.dev/badge/skills/stark-ai-de/agent-skills/codex-memory-curator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,053 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 16 Nov 2026
  • Snyk warn 16 Nov 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.03053
Opus 5.5 $0.00018 $0.01221
Sonnet 5.5 $0.00009 $0.00611
Haiku 4.5 $0.00004 $0.00305

Measured 13d ago against content hash 859a2099fcd6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-memory-curator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/backup-memories.mjs, scripts/inventory-memories.mjs, scripts/locate-memory-config.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/stark-ai-developer/skills/codex-memory-curator/SKILL.md · 164 lines

How it starts

The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codex Memory Curator

Goal

Audit Codex memory as user-owned durable state; classify stale, unsafe, duplicated, or misplaced claims and route review, planning, persistence, and cleanup. Even when invoked from Cursor, inspect only Codex memory/config, not Cursor state.

Core principle

Memory is context, not truth. The latest user request, current repo files, AGENTS.md, package files, ADRs, and live evidence override stored memories.

When to use

  • Use for review, placement, configuration, planning, or cleanup of Codex memory and its durable configuration.
  • Use when memory is stale, conflicting, sensitive, noisy, cross-repository, or causing degraded behavior.

When not to use

  • Do not use for ordinary docs, generic prompt work, or Cursor state unless Codex memory/config is explicitly involved.
  • Keep review requests read-only and inspect no personal files beyond Codex memory/config plus the minimum repository evidence needed for conflicts.

Workflow selection

Expose all eight workflows in this stable order, compactly when intent is clear. Recommend the route matching the requested outcome and delivery; for a bare invocation recommend review-chat while asking the user to choose:

Workflow Delivery and result
plan-run-cleanup-file One record: review, approved plan, backup, cleanup, verification.
review-chat Chat: read-only review and recommendations.
review-file One record: read-only review and recommendations.
cleanup-chat Chat and backup: review, high-confidence atomic cleanup, verification.
cleanup-file One record and backup: review, high-confidence atomic cleanup, verification.
plan-cleanup-chat Chat: review and approved plan; no cleanup.
plan-cleanup-file One record: review and approved plan; no cleanup.
plan-run-cleanup-chat Chat and backup: review, approved plan, cleanup, verification.

Read the full file on GitHub · 164 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago Changed · -31 lines 859a2099fcd6
  2. 1mo ago Changed · +6 lines 8c444e61f66e
  3. 2mo ago Changed · -5 lines · -43 tokens per session d8dc9aa30377
  4. 3mo ago First seen · 194 lines · 87 tokens per session scan A e3291a1898bb

Subscribe to this mod's changes

codex-memory-curator is a skill published in the GitHub repository stark-ai-de/agent-skills (8 stars, last pushed 2d ago), licensed Apache-2.0. It adds 44 tokens to every session and 3,053 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

codex-memory-curator compared with skills from other repositories

codex-memory-curator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-memory-curatorstark-ai-de/agent-skillsSkill82d agoApache-2.0A44Codex
factory-inittikalk/adlc-team-skillsSkill147todayMITA38Claude Code
team-leveluptikalk/adlc-team-skillsSkill147todayMITA57Claude Code
change-publishtikalk/adlc-team-skillsSkill147todayMITA42Claude Code
change-boottikalk/adlc-team-skillsSkill147todayMITA113Claude Code, Codex
decision-memorymbeacom/adrkitSkill262d agoApache-2.0A71Claude Code
entity-trackerfelipelobomotta-blip/book-genesis-v4Skill1142mo agoMITA80Claude Code, Codex