Store and retrieve memories (notes, facts, decisions, snippets, images) using a local SQLite database with full-text search. Use when you need to remember information across sessions, recall previous decisions, store code snippets, or search your knowledge base.
The 'mem' AI skill provides a local memory storage system that allows users to store, retrieve, and manage information across sessions. It addresses the common problem of forgetting important facts, decisions, or notes by using a local SQLite database with full-text search capabilities. This ensures that relevant information, whether textual or visual, can be recalled quickly without relying on external services, enhancing continuity and context retention in ongoing projects or interactions.
Key features of the 'mem' skill include the ability to store and retrieve a variety of content types such as notes, code snippets, decisions, and images. It supports full-text search, enabling users to find memories efficiently by keywords, tags, or unique identifiers. The skill offers command-line operators for remembering (`+`), recalling, and forgetting (`-`) memories. Additional capabilities include filtering by tags, limiting results, structured JSON output for programmatic use, and full-content display for comprehensive recall. Piping functionality allows integration with other CLI tools for batch operations and automated memory management.
'Mem' is particularly useful for developers, project managers, and knowledge workers who need to maintain a persistent, searchable record of important information. Use cases include remembering user preferences, storing deployment commands, tracking architectural decisions, or managing snippets of code and configuration. Its target users are those who benefit from structured memory storage for recurring tasks, decision tracking, or building a personal knowledge base. By encouraging consistent tagging and atomic storage, 'mem' enhances organization and retrieval efficiency, making it a practical tool for anyone managing complex workflows or large volumes of information.
You can use the remember operator '+' with the '--image' flag followed by the image path, for example: 'mem + --image ./screenshot.png --title "Current UI" --tag ui'.
Yes, you can filter memories by tag using the '--tag' option, for example: 'mem "database" --tag db'.
'Mem' stores data locally in '~/.mem/mem.db' and does not natively support remote databases.
Use the forget operator '-' followed by the IDs of the memories, for example: 'mem - id1 id2 id3'.
'Mem' supports default one-line summaries, full content with '--full', and structured JSON with '--json' for programmatic parsing.
Quick Setup:
.claude/skills/Repository
runablehq/memory