用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jim80net/memex-codex --skill memory-creation命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Extract learnings from past Codex session transcripts and create appropriately-typed skills. Drains the Stop-hook learnings queue and scans rollout JSONL for recurring patterns.
Diagnose and fix memex installation, setup, or runtime problems. Run checks on the binary, config, hooks, cache, model, and scan paths.
Create a comprehensive continuation plan so a fresh session can pick up exactly where this one left off — with full operational detail, not summaries.
基于 SOC 职业分类
正在显示 SKILL.md
| name | memory-creation |
| description | Instructions for creating and managing memories in memex format for Codex sessions |
| type | skill |
You have a persistent, file-based memory system. Build it up over time so future conversations benefit from what you learn.
Save a memory when you learn something that will be useful in future conversations:
type: ruletype: ruletype: memorytype: memorygit log is authoritative)Step 1 — Write the memory to its own file:
---
name: {{short-name}}
description: {{one-line description — be specific, this drives semantic matching}}
type: {{memory | rule | session-learning}}
queries:
- "{{natural language query that would match this memory}}"
- "{{another angle someone might ask about this}}"
- "{{a third variation}}"
- "{{a fourth variation}}"
- "{{a fifth variation}}"
---
{{content — keep it concise}}
Save to: ~/.codex/memex/projects/<encoded-cwd>/memory/{{short-name}}.md
The <encoded-cwd> is the current working directory with / replaced by -, . replaced by -, and _ replaced by -.
Alternatively, for durable cross-session skills use ~/.codex/skills/{{short-name}}/SKILL.md (global) or .agents/skills/{{short-name}}/SKILL.md (project).
Step 2 — Add a pointer to MEMORY.md in the same directory:
- [{{short-name}}.md]({{short-name}}.md) — {{one-line hook, under 150 chars}}
queries field is critical — it determines when this memory surfaces in future sessions. Write 5 natural language queries that someone might ask when this memory would be relevant.type: session-learning — /deep-sleep drains the learnings queue and writes these automatically when run