---
title: "Extract reusable coding-agent memory from past sessions with Lerim"
description: "Watch Claude Code, Codex CLI, Cursor, or OpenCode sessions, extract durable project memory, and keep it locally as reusable markdown."
verification: "listed"
source: "https://github.com/lerim-dev/lerim-cli"
author: "lerim-dev"
publisher_type: "organization"
category:
  - "Developer Tools"
framework:
  - "Multi-Framework"
tool_ecosystem:
  github_repo: "lerim-dev/lerim-cli"
  github_stars: 73
---

# Extract reusable coding-agent memory from past sessions with Lerim

Watch Claude Code, Codex CLI, Cursor, or OpenCode sessions, extract durable project memory, and keep it locally as reusable markdown.

## Prerequisites

Python 3.10+, Docker recommended

## Installation

Choose whichever fits your setup:

1. Copy this skill folder into your local skills directory.
2. Clone the repo and symlink or copy the skill into your agent workspace.
3. Add the repo as a git submodule if you manage shared skills centrally.
4. Install it through your internal provisioning or packaging workflow.
5. Download the folder directly from GitHub and place it in your skills collection.

Install command or upstream instructions:

```
Install with `pip install lerim`, start the background service with `lerim up`, verify with `lerim status`, and let it watch supported coding-agent sessions so memory is extracted into local markdown storage.
```

## Documentation

- https://github.com/lerim-dev/lerim-cli

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/extract-reusable-coding-agent-memory-from-past-sessions-with-lerim/)
