cowork-mem

Store and recall persistent session memory in SQLite with FTS5 and TF-IDF search.

8|1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/MSApps-Mobile/claude-plugins --skill cowork-mem
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cowork-mem
Source: https://github.com/MSApps-Mobile/claude-plugins/tree/main/plugins/cowork-mem/skills/cowork-mem
Command: npx skills add https://github.com/MSApps-Mobile/claude-plugins --skill cowork-mem

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Keeps project continuity across Cowork sessions by storing decisions, file edits, tool outputs, summaries, and notes so the assistant can recall prior work and avoid repeated context gathering.

Core Features & Use Cases

  • Automatic capture hooks: SessionStart recalls summaries, PostToolUse captures file edits and tool outputs, PreCompact marks compaction points.
  • Local persistent storage: SQLite database with FTS5 full-text index and a TF-IDF semantic search layer for concept-level retrieval.
  • CLI management: Scripts to add observations, search, view timelines, start/end sessions, compact old entries, export, and delete.
  • Privacy and quality controls: <private> tagged content is stored but excluded from search, and auto-capture filters avoid trivial noise.
  • Use Case: Start a new work session and immediately recall the last decision on authentication, save a rationale as a decision, and later semantically search for prior debugging insights.

Quick Start

Ask the assistant to recall the last session for project X and summarize outstanding tasks.

Frequently Asked Questions about cowork-mem

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I persist project context across multiple AI assistant sessions?

You persist project context across sessions by using SQLite-based storage with FTS5 full-text search and automatic capture hooks. This stores decisions, file edits, and summaries, allowing the assistant to recall prior work and maintain continuity without repeated context gathering.

How does semantic search work for retrieving past session decisions and notes?

Semantic search for retrieving session decisions works by combining an FTS5 full-text index with a TF-IDF semantic search layer. This enables concept-level retrieval of stored observations, file edits, and session summaries organized by project and session.

Can I automatically capture file edits and tool outputs without manual entry?

You can automatically capture file edits and tool outputs using PostToolUse session hooks. Auto-capture filters avoid trivial noise, while SessionStart recalls previous summaries and PreCompact marks compaction points to maintain relevant project continuity.

How do I keep private observations out of search results in a shared project memory?

To keep private observations out of search results in a shared project memory, wrap the content in a <private> tag. The tagged content is stored in the SQLite database but explicitly excluded from FTS5 full-text and semantic search retrieval.

What is the best way to manage and export old session memory entries?

The best way to manage old session memory entries is using CLI scripts. These scripts allow you to add observations, view timelines, compact old entries to save space, and export stored decisions, file edits, and tool outputs for external use.

Does persistent session memory work without external database dependencies?

Persistent session memory works without external database dependencies by using a local SQLite database. It provides FTS5 full-text search and a TF-IDF semantic search layer entirely locally, ensuring data privacy and offline accessibility for project workflows.