# Save Memory

> Save an explicit Codex session note to Crabshell memory. Use when the user asks to remember, save context, or persist decisions.

- Skill: `zipperbagcoffee/save-memory-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add zipperbagcoffee/save-memory-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zipperbagcoffee/save-memory-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector CAUTION)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: ZipperBagCoffee (https://skillmd.com/u/zipperbagcoffee)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/zipperbagcoffee/save-memory-2

---


# Save Memory

Summarize only durable context: decisions, changed files, unresolved issues,
verification results, and user preferences. Resolve `{SKILL_DIR}` to the
directory containing this `SKILL.md` and `{PROJECT_ROOT}` to the active project
root, then run:

```bash
node "{SKILL_DIR}/scripts/codex-memory.js" save --title="Codex session note" --message="..." --project-dir="{PROJECT_ROOT}"
```

For longer notes, pipe the note on stdin:

```bash
node "{SKILL_DIR}/scripts/codex-memory.js" save --title="Codex session note" --project-dir="{PROJECT_ROOT}"
```

The script appends to `.crabshell/memory/logbook.md` and resets the Crabshell counter.

