Opencode Claude Memory banner
kuitos kuitos

Opencode Claude Memory

Documentation community

Description

OpenCode plugin for Claude Code memory: persistent local Markdown memory shared with Claude Code, zero config, no migration.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

🧠 Claude Code-compatible memory for OpenCode

**Persistent, local-first shared memory for OpenCode and Claude Code β€” zero config and no migration required.**

This OpenCode memory plugin lets OpenCode read and write Claude Code-compatible Markdown memory files, so both CLIs share the same project context.

Claude Code writes memory β†’ OpenCode reads it. OpenCode writes memory β†’ Claude Code reads it.

[![npm version](https://img.shields.io/npm/v/opencode-claude-memory.svg?style=flat-square)](https://www.npmjs.com/package/opencode-claude-memory) [![npm downloads](https://img.shields.io/npm/dm/opencode-claude-memory.svg?style=flat-square)](https://www.npmjs.com/package/opencode-claude-memory) [![License](https://img.shields.io/npm/l/opencode-claude-memory.svg?style=flat-square)](https://github.com/kuitos/opencode-claude-memory/blob/main/LICENSE)

[Quick Start](#-quick-start) β€’ [Why this exists](#-why-this-exists) β€’ [What makes this different](#-what-makes-this-different) β€’ [How it works](#-how-it-works) β€’ [Who this is for](#-who-this-is-for) β€’ [FAQ](#-faq)


✨ At a glance

  • OpenCode plugin for Claude Code memory Adds persistent memory tools, system prompt injection, and post-session extraction to OpenCode.
  • Claude Code-compatible memory Uses Claude Code’s existing memory paths, file format, and taxonomy.
  • Zero config Install + enable plugin, then keep using opencode as usual.
  • Local-first, no migration Memory stays as local Markdown files in the same directory Claude Code already uses.
  • Auto-dream consolidation Periodically runs a background memory consolidation pass (Claude-style auto-dream gating).

πŸš€ Quick Start

Prerequisites

  • opencode
  • python3 available in PATH

`python3` is a runtime dependency for the wrapper's scoped session detection and fork cleanup logic. If it is missing or not executable, post-session maintenance becomes less reliable: session targeting can fall ba