# Memoir remember

> Memoir remember is an open-source agent skill for knowledge and memory. Saves a user-requested memory to a Memoir store under a chosen taxonomy path. It is available on Codex.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Codex
- **Website:** https://github.com/zhangfengcdt/memoir/tree/main/plugins/codex/skills/memoir-remember
- **Repository:** https://github.com/zhangfengcdt/memoir
- **GitHub stars:** 650
- **License:** Apache-2.0
- **Skill name:** memoir-remember
- **Collection:** https://github.com/zhangfengcdt/memoir
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-12-04

## About

This skill handles explicit, on-demand memory capture for Memoir, a memory store used by Codex. When a user asks to remember, save, store, capture or record a preference, decision, rule, fact or note, the agent picks a dot-separated taxonomy path itself when none is given, then writes the memory with the Memoir CLI using that path. It is meant only for deliberate manual saves; incidental facts are left to Memoir's separate automatic capture at the end of a turn.

The workflow resolves the installed Memoir Codex plugin, derives and initializes a local store, optionally reads a taxonomy prompt snippet to help pick a path, and then writes the content through a quoted heredoc so shell characters are preserved. Optional namespace and replace flags are supported, and multiple paths can be passed. The skill also avoids saving secrets or credentials and asks for a redacted form instead.

It expects the Memoir Codex plugin to be installed, bash and python3 available, and an executable memoir-cli script inside the plugin. Output is a short confirmation with the saved key and commit hash, or the error and store path on failure.

## When your agent uses it

> Explicitly save a user-requested memory to Memoir now. Use when the user says remember, save, store, capture, or record a durable preference, decision, rule, fact, or note. Pick a taxonomy path with Codex when none is provided, always write with `memoir remember -p`, and never use legacy unpathed `memoir remember`.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/zhangfengcdt/memoir/tree/HEAD/plugins/codex/skills/memoir-remember)
- [License: Apache-2.0](https://github.com/zhangfengcdt/memoir/tree/HEAD/plugins/codex/skills/memoir-remember)

## Features

- **Explicit memory capture:** Saves a memory the user asks for directly, separate from automatic end-of-turn capture.
- **Taxonomy path selection:** Chooses a concise lowercase dot path when the user does not supply one.
- **Pathed CLI writes:** Always writes with the Memoir CLI path flag instead of the unpathed classifier call.
- **Namespace and replace options:** Supports an optional namespace and an overwrite flag on write.
- **Secret safeguards:** Declines to store credentials or keys and asks for a redacted version instead.
- **Plugin and store setup:** Locates the installed Memoir plugin and prepares the local store before writing.

## Good for

- Remember my preference for tabs over spaces in this project
- Save the decision to use PostgreSQL for the billing service
- Store the team rule that all PRs need two reviewers
- Record a fact about our staging environment URL pattern
- Capture a note about the deployment window for next release

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/memoir-remember` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zhangfengcdt/memoir.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/memoir-remember &&
cp -R "$tmp/plugins/codex/skills/memoir-remember" ~/.claude/skills/memoir-remember &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/memoir-remember` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/memoir-remember` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zhangfengcdt/memoir.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/memoir-remember &&
cp -R "$tmp/plugins/codex/skills/memoir-remember" ~/.agents/skills/memoir-remember &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/memoir-remember` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/memoir-remember` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zhangfengcdt/memoir.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/memoir-remember &&
cp -R "$tmp/plugins/codex/skills/memoir-remember" ~/.cursor/skills/memoir-remember &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/memoir-remember` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/zhangfengcdt/memoir.git --path plugins/codex/skills/memoir-remember
```

Or copy the folder to `~/.gemini/skills/memoir-remember` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/memoir-remember`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zhangfengcdt/memoir.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/memoir-remember &&
cp -R "$tmp/plugins/codex/skills/memoir-remember" ~/.copilot/skills/memoir-remember &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/memoir-remember` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/zhangfengcdt/memoir.git
```

Then copy `memoir/plugins/codex/skills/memoir-remember` into your agent's skills folder as `memoir-remember`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Memoir remember trigger?

It triggers when the user explicitly says remember, save, store, capture or record a durable preference, decision, rule, fact or note.

### What does Memoir remember need to run?

The Memoir Codex plugin must be installed with its memoir-cli and store scripts executable, plus bash and python3.

### Does Memoir remember save secrets?

No. It refuses to save secrets, tokens, private keys or credentials and asks for a redacted form instead.

### Does it use the unpathed memoir remember command?

No. It always writes with the path flag, because the unpathed command uses a separate LLM classifier that may need non-Codex credentials.

### How do I install Memoir remember in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/memoir-remember to use it in all your projects, or to .claude/skills/memoir-remember in one project.

### Does Memoir remember run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Memoir remember?

Codex. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Memoir remember?

The closest alternatives to Memoir remember are Memory recall, Memoir onboard, Memoir UI, Claude mem and Compound memory.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Memory recall](https://ai-powered.com/skills/memory-recall-zhangfengcdt): Memory recall is an open-source agent skill for knowledge and memory.
- [Memoir onboard](https://ai-powered.com/skills/memoir-onboard-zhangfengcdt): Memoir onboard is an open-source agent skill for knowledge and memory.
- [Memoir UI](https://ai-powered.com/skills/memoir-ui): Memoir UI is an open-source agent skill for knowledge and memory.
- [Claude mem](https://ai-powered.com/skills/claude-mem-smartworldarafath): Claude mem is an open-source agent skill for knowledge and memory.
- [Compound memory](https://ai-powered.com/skills/compound-memory-protocol-zero-0): Compound memory is an open-source agent skill for knowledge and memory.
- [Persistent memory](https://ai-powered.com/skills/persistent-memory-aws-solutions): Persistent memory is an open-source agent skill for knowledge and memory.
- [Memory distill](https://ai-powered.com/skills/memory-distill): Memory distill is an open-source agent skill for knowledge and memory.
- [Remember](https://ai-powered.com/skills/remember-ajyadav013-2): Remember is an open-source agent skill for knowledge and memory.

---
Source: https://ai-powered.com/skills/memoir-remember
