codex/codex-memory-manager/SKILL.md
Manage persistent Codex user-preference memory from recent conversation history. Use when users ask to learn from the last 24 hours of chats, update `~/.codex/AGENTS.md`, maintain reusable preference-first memory under `~/.codex/memory/*.md`, or sync new preference categories discovered in `~/.codex/sessions` and `~/.codex/archived_sessions`.
npx skillsauth add laitszkin/apollo-toolkit codex-memory-managerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
learn-skill-from-conversations when the same conversation review should also evolve the skill catalog.~/.codex/sessions, ~/.codex/archived_sessions, or ~/.codex/AGENTS.md are unavailable, report the missing path and stop instead of guessing.Automation memory: path, use that path directly for run-memory read/write instead of assuming $CODEX_HOME is set.~/.codex/AGENTS.md, and keep memory entries cross-project reusable, preference-heavy, and light on repository- or incident-specific detail.Keep a durable, categorized memory of user preferences so future agents can quickly review relevant guidance before starting work.
apltk extract-codex-conversations: Read the last N hours of Codex sessions, including archived sessions (TypeScript handler in lib/tools/extract-conversations.ts).apltk sync-codex-memory-index: Maintain a normalized memory index section at the end of ~/.codex/AGENTS.md (TypeScript handler in lib/tools/sync-memory-index.ts).apltk extract-codex-conversations --lookback-minutes 1440
~/.codex/sessions and ~/.codex/archived_sessions.NO_RECENT_CONVERSATIONS, stop immediately and report that no memory update is needed.[USER] and [ASSISTANT] block before deciding that a preference is stable.Automation memory: path, open that file first when present so the current curation run can extend the previous automation summary without relying on shell variable expansion.~/.codex/memory/*.md.engineering-workflow.mdassistant-style.mdintegration-and-deployment-preferences.mdPrefer X when Y or Do not do Z when Q.assets/templates/memory-file.md inside each memory file:# User Memory - Engineering Workflow
Last curated: 2026-04-05 09:20 HKT
## Scope
User preferences about how engineering tasks should be investigated, planned, implemented, verified, merged, and documented across repositories.
## Preferences
- Prefer modular abstractions over duplicated logic.
- Applies when: designing or refactoring implementation structure.
- Skip planning artifacts for clearly small, localized, low-risk changes.
- Applies when: assessing whether a task needs formal spec documents.
## Maintenance
- Keep entries concrete, action-guiding, and reusable across repositories.
- Move overlapping preferences to a better-matched memory file instead of keeping mixed categories.
## Evidence notes
- 2026-03-22 through 2026-04-04 repeated workflow corrections consistently reinforced scoped planning, approval gating, and architecture-aware implementation.
~/.codex/AGENTS.md~/.codex/AGENTS.md and mirror its existing language in the memory section instructions.apltk sync-codex-memory-index to rewrite the managed section at the end of the file.apltk sync-codex-memory-index \
--agents-file ~/.codex/AGENTS.md \
--memory-dir ~/.codex/memory \
--section-title "## User Memory Index" \
--instruction-line "Before starting work, review the index below and open any relevant user preference files." \
--instruction-line "When a new preference category appears, create or update the matching memory file and refresh this index."
~/.codex/AGENTS.md; do not scatter memory links elsewhere in the file.Automation memory: path is provided in the task prompt, also write the concise run summary back to that exact file path and prefer it over $CODEX_HOME/... interpolation when the shell environment is incomplete.~/.codex/AGENTS.md; only manage the memory index block at the end.Load only when needed:
assets/templates/memory-file.mddevelopment
Read a user-specified PDF that marks the week's key financial events, deeply research each marked event with current sources, capture any additional breaking financial developments, and produce a concise Chinese-capable PDF briefing that explains what happened and why it matters.
documentation
Generate long-form videos (more than 10 minutes) by following user instructions and invoking related skills only when needed (`openai-text-to-image-storyboard`, `docs-to-voice`, `remotion-best-practices`). For text inputs, extract a complete long-form story arc, generate fresh storyboard images (no reuse of previously generated pictures), and render a 16:9 animated long-form video.
tools
協助完成自動化版本發佈。同步文檔、更新版本號、推送 tag 並建立 GitHub Release。
development
Incrementally refresh the architecture atlas when the project diagram drifts from actual code. Measures drift before updating to determine scope, then updates the base atlas and re-renders HTML.