# Give OpenCode project sessions persistent memory with opencode-mem

> Add opencode-mem to OpenCode so coding sessions can store, search, and reuse project memories through a local SQLite and vector index.

- Skill: `agentskillexchange/give-opencode-project-sessions-persistent-memory-with-openco` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/give-opencode-project-sessions-persistent-memory-with-openco`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/give-opencode-project-sessions-persistent-memory-with-openco/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/give-opencode-project-sessions-persistent-memory-with-openco

---


# Give OpenCode project sessions persistent memory with opencode-mem

Add opencode-mem to OpenCode so coding sessions can store, search, and reuse project memories through a local SQLite and vector index.

## Prerequisites

OpenCode, opencode-mem plugin, Bun or standard OpenCode plugin runtime

## Installation

Basic usage or getting-started notes:
- This plugin uses USearch for preferred in-memory vector indexing with automatic ExactScan fallback. No custom SQLite build or browser runtime shim is required.
- **Recommended runtime:**
- Bun

- Source: https://github.com/tickernelz/opencode-mem
- Extracted from upstream docs: https://raw.githubusercontent.com/tickernelz/opencode-mem/HEAD/README.md

## Documentation

- https://github.com/tickernelz/opencode-mem

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/give-opencode-project-sessions-persistent-memory-with-opencode-mem/)

