Skip to content
Skill

Memoir onboard

Builds a persistent project snapshot in Memoir so future Codex sessions start warm

Memoir onboard is an open-source agent skill for knowledge and memory. It is available on Codex.

Scripts
Python
Platforms
Codex
GitHub stars
650
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Memoir onboard

This skill creates or refreshes a compact snapshot of the current project inside the Memoir store. In a git repository it records code-oriented facts such as modules, entry points, goals, rules, test strategy and lessons, keyed to the code commit so later runs only rewrite what changed. In a non-git folder it instead indexes files with deterministic stdlib extractors, aimed at writing, video editing, bookkeeping and other mixed-media projects, and keys changes to a filesystem snapshot hash.

The agent follows a staged procedure: it checks for a concurrent onboarding session, reads existing metadata to decide between a full rewrite, an incremental update or a metadata-only refresh, and then writes each entry through the memoir command line. Helper Python scripts handle walking the folder, extracting file summaries and building the directory tree, and the non-git path makes no LLM calls.

It expects Python 3 and the memoir CLI, either installed or runnable through uv or uvx. Writes are confined to the chosen onboard namespace in a store path that the skill verifies before writing.

When your agent uses it

Populate or refresh a persistent, high-level project snapshot in memoir. In a git repo this writes `codebase:onboard` (code-shape: modules, goals, rules, lessons) — use when the user asks for onboarding / a codebase tour ('what does this project do', 'give me a codebase overview', 'onboard me to this repo') or explicitly asks to refresh Memoir onboarding. In a non-git folder this writes `project:onboard` (file-shape: per-file structured blobs) using deterministic stdlib extractors instead of LLM passes — use for writing, video editing, bookkeeping, and other mixed-media projects. Snapshot contents seed future sessions via SessionStart injection. Skip for ordinary recall (use memory-recall) or trivial one-file questions.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (61 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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

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

Claude Code docs on skills

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

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

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

Codex docs on skills

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

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

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

Cursor docs on skills

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

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

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

Gemini CLI docs on skills

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

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

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

VS Code docs on skills

Get the folder:

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

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

The SKILL.md format

What it does

Git codebase snapshot
Records modules, entry points, goals, non-goals and test strategy for a repository.
Incremental refresh
Uses the code commit to rewrite only the entries affected by recent changes.
Non-git file indexing
Writes per-file structured summaries for folders that are not git repositories.
Deterministic extractors
Python helpers extract file metadata and previews without calling an LLM.
Concurrency and store checks
Refuses to run alongside another onboarding session and verifies the target store path.

Good for

  • Onboard me to this repository and summarize its modules
  • Give me an overview of this writing project's files
  • Refresh the Memoir onboarding snapshot after recent commits
  • Record the rules and lessons from this codebase for future sessions

Memoir onboard FAQ

What does the skill need to run?

It needs the memoir CLI, either on PATH or available through uvx or uv tool run, and Python 3 for its helper scripts.

Where does Memoir onboard store the snapshot?

It writes to a Memoir store path, taken from MEMOIR_STORE or derived by a helper script, and verifies that path before writing.

How does Memoir onboard decide between a full and incremental update?

In git repos it compares the current code commit with the stored one; in non-git folders it compares a snapshot hash of file paths, sizes and modification times.

Does the non-git mode use an LLM?

No. The file extractors are stdlib-based and the skill states that cold and warm passes make no LLM calls.

How do I install Memoir onboard in Claude Code?

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

Does Memoir onboard run scripts?

Yes. It runs Python scripts. No network calls were found in its 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 onboard?

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 onboard?

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

Where this comes from

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

More from zhangfengcdt/memoir

  1. Reports Memoir store path, branch, memory count and namespaces for Codex projects

    • Open source
    • 650 GitHub stars
    • Developer tools
  2. Opens or reopens the Memoir memory web UI for the current Codex project store

    • Open source
    • 650 GitHub stars
    • Knowledge and memory
  3. Lets the agent recall saved preferences, decisions and conventions from past sessions

    • Open source
    • 650 GitHub stars
    • Knowledge and memory
  4. Saves a user-requested memory to a Memoir store under a chosen taxonomy path

    • Open source
    • 650 GitHub stars
    • Knowledge and memory