# Store

> Store one user-approved fact, preference, or instruction in mem9.

- Skill: `mem9-ai/store` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add mem9-ai/store`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mem9-ai/store/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: mem9-ai (https://skillmd.com/u/mem9-ai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/mem9-ai/store

---


# Mem9 Store

Use this skill when the user explicitly asks Codex to remember or store something in mem9.

If you need the current CLI surface, flags, or examples, run `node ./scripts/store.mjs --help` first.

Resolve `./scripts/store.mjs` relative to this skill directory, extract the one memory that should be saved, then run:

```bash
set -euo pipefail
cat <<'EOF' | node ./scripts/store.mjs
REPLACE_WITH_MEMORY
EOF
```

Common flags:

- `--content <memory-text>`
- `--cwd <repo-root>`

Keep the saved content concise and factual.
The script uses the current effective mem9 profile. Project overrides still apply.
Do not print API keys or credential file contents.
Confirm back to the user what was saved.

