Claude Code session

Memory Loop

Persistent project-scoped memory for Claude Code. Auto-loads on session start, structured by schema, hot/cold layered.

32 stars 3 forksSessions & history Plugin marketplace Source

Install

Inside Claude Code
/plugin marketplace add yucai0302/memory-loop

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/yucai0302/memory-loop.git

From the README

English | 简体中文

*The agent forgets. The repo doesn't.*

Installation

Run these two commands in Claude Code:

Select Install for you (user scope), then restart Claude Code.

Background

Loop Engineering by Addy Osmani describes a shift in how we work with coding agents:
*"You shouldn't be prompting coding agents anymore. You should be designing loops that prompt your agents."*

A loop needs five building blocks — automations, worktrees, skills, connectors, and sub-agents — plus one place to remember stuff:
*"A markdown file, or a Linear board, anything that lives outside the single conversation and holds what's done and what is next... the model forgets everything between runs so the memory has to be on disk and not in the context. The agent forgets, the repo doesn't."*

memory-loop is that sixth piece, built as a Claude Code plugin. Install it once, and every project you open gets a persistent, structured memory that loads automatically at session start and updates as you work.

How it works

Files created in your project
Tip: Commit these files to share memory with your team, or add .claude/memory/ to .gitignore to keep them local.

Installation

One command. Works across all your projects.

That's it. The plugin activates on the next Claude Code session.

Scope options

Quickstart: what happens after installation

Step 1 — Open any project in Claude Code

The plugin fires automatically on session start. No manual setup needed.

Step 2 — Work normally. When you finish a task, save.

The agent reviews what happened in the session and writes structured entries:

Step 3 — Next session, memory is already there

Open the project again. The session start hook automatically injects everything the agent learned last time. No prompting needed.

Step 4 — Check health, compress…
Read the full README on GitHub

Details

Language
Shell
Last updated
12 June 2026
Topics
agent-memoryclaude-codeclaude-code-pluginloop-engineeringmemory

FAQ

What is Memory Loop?

Persistent project-scoped memory for Claude Code. Auto-loads on session start, structured by schema, hot/cold layered. It is a session for Claude Code, from yucai0302/memory-loop on GitHub.

How do I install Memory Loop?

Run /plugin marketplace add yucai0302/memory-loop inside Claude Code, then follow the setup in the README.

Is Memory Loop popular?

yucai0302/memory-loop has 32 GitHub stars and 3 forks. It was last updated on 12 June 2026.

More sessions & history

Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.