# Memory sync

> Memory sync is an open-source agent skill for knowledge and memory. Persists session terms, learnings and lightweight decisions into a project memory layer. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/ramboz/jig/tree/main/hosts/claude/skills/memory-sync
- **Repository:** https://github.com/ramboz/jig
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** memory-sync
- **Collection:** https://github.com/ramboz/jig
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-12-01

## About

This skill saves context gathered during a coding session into a project's memory layer. Claude decides what belongs where, and a bundled Python helper handles the file writes, duplicate checks and creation of any missing memory files. Entries can go to a glossary, a learnings list, an inbox of unresolved thoughts, or a frequently used terms section in CLAUDE.md.

The skill also records small shipped decisions such as UI strings, visual or CSS choices, copy and translation fixes in a lightweight decisions file through a separate script. When a recorded decision later becomes load-bearing, the skill promotes it to an architecture decision record rather than editing it in place. It also includes a glossary lookup flow so unknown project terms are checked before the agent asks the user.

The skill expects a project laid out with a docs folder and runs Python 3 scripts from the plugin directory. It is written for the jig plugin and relies on its ADR and spec conventions.

## When your agent uses it

> Persist new context, terms, learnings, and settled lightweight decisions. Use when the user says remember this, save this for later, add to glossary, note this down, or at session end to consolidate what was learned — that goes to the memory layer (CLAUDE.md hot cache, docs/memory/, docs/inbox.md). Also use to record a decision or remember this decision when the call is a lightweight one shipped outside a spec slice: UI strings, visual and CSS choices, copy, or translation fixes. Those go to docs/decisions/lightweight-decisions.md via decisions.py. Also use when revising, updating, or re-pricing an already-recorded decision: judge whether it now warrants an ADR and promote it if so, rather than editing it in place. Also auto-fires at session end. Do not use for updating specs or code comments. For a NEW load-bearing decision, one with rejected alternatives, or any the user wants written up as an ADR, use `/jig:adr-workflow`; an already-recorded entry that outgrew this home is promoted from here.

## What it can access

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

- [Runs Python scripts](https://github.com/ramboz/jig/tree/HEAD/hosts/claude/skills/memory-sync)
- [No network calls found in its scripts](https://github.com/ramboz/jig/tree/HEAD/hosts/claude/skills/memory-sync)
- [License: MIT](https://github.com/ramboz/jig/tree/HEAD/hosts/claude/skills/memory-sync)

## Features

- **Glossary term lookup:** Checks project memory for unfamiliar terms before the agent asks the user what they mean.
- **Session-end consolidation:** Sorts terms, learnings and open ideas from a session into the right memory file.
- **Lightweight decision logging:** Records small UI, copy and styling choices in a decisions file without duplicates.
- **Decision promotion to ADR:** Re-evaluates revised decisions and promotes them to architecture records when warranted.
- **Team setup nudge:** Detects when a project has multiple contributors and offers to create a people file.

## Good for

- Remember a glossary term the team uses for a domain concept
- Save a failed approach so the next session avoids repeating it
- Log why a button label or translation fix was chosen
- Review an earlier small decision that has grown into an architecture change
- Summarize what was learned at the end of a coding session

## Install

### Claude Code

This skill ships in the `jig` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ramboz/jig
/plugin install jig@jig
```

Or copy only this skill to `~/.claude/skills/memory-sync`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/memory-sync &&
cp -R "$tmp/hosts/claude/skills/memory-sync" ~/.claude/skills/memory-sync &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/memory-sync &&
cp -R "$tmp/hosts/claude/skills/memory-sync" ~/.agents/skills/memory-sync &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/memory-sync &&
cp -R "$tmp/hosts/claude/skills/memory-sync" ~/.cursor/skills/memory-sync &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/memory-sync` 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/ramboz/jig.git --path hosts/claude/skills/memory-sync
```

Or copy the folder to `~/.gemini/skills/memory-sync` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/memory-sync &&
cp -R "$tmp/hosts/claude/skills/memory-sync" ~/.copilot/skills/memory-sync &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ramboz/jig.git
```

Then copy `jig/hosts/claude/skills/memory-sync` into your agent's skills folder as `memory-sync`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It runs Python scripts from the plugin folder and expects a project with a docs folder. It creates missing memory files itself, though scaffold setup is recommended.

### When does Memory sync trigger?

It triggers when the user asks to remember, save or note something, when a term is unknown, when a lightweight decision is settled, and at session end.

### Does Memory sync edit spec or code comment files?

No. The description says it does not handle updating specs or code comments.

### What happens to a lookup miss?

The agent asks the user once for the meaning and then saves the answer so future lookups resolve without asking again.

### How do I install Memory sync in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/memory-sync to use it in all your projects, or to .claude/skills/memory-sync in one project. Or install the jig plugin, which includes it: /plugin marketplace add ramboz/jig, then /plugin install jig@jig.

### Does Memory sync 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 Memory sync?

Claude Code. 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 Memory sync?

The closest alternatives to Memory sync are Claude mem, Memory, Compound memory, Learn and Context and decisions.

## Where this comes from

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

## Alternatives

- [Claude mem](https://ai-powered.com/skills/claude-mem-smartworldarafath): Claude mem is an open-source agent skill for knowledge and memory.
- [Memory](https://ai-powered.com/skills/memory-chachamaru127-2): Memory 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.
- [Learn](https://ai-powered.com/skills/learn): Learn is an open-source agent skill for knowledge and memory.
- [Context and decisions](https://ai-powered.com/skills/context-and-decisions): Context and decisions is an open-source agent skill for knowledge and memory.
- [Domain modeling](https://ai-powered.com/skills/domain-modeling): Domain modeling is an open-source agent skill for developer tools.
- [Recap](https://ai-powered.com/skills/recap-onebrain-ai): Recap is an open-source agent skill for knowledge and memory.
- [Memory review](https://ai-powered.com/skills/memory-review): Memory review is an open-source agent skill for knowledge and memory.

---
Source: https://ai-powered.com/skills/memory-sync
