
memory
Project memory system - save and search past decisions, preferences, context, and notes. Use when user says "remember this", asks "what did we decide about X", or wants to recall/store information.
- Installs
- 137
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/rjyo/memory-search --skill memory- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads memory automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Memory
A hybrid search memory system for your project. Save important information and find it later using semantic search.
First run: If slow on first use, run
bunx memory-search --warmupto pre-download the embedding model (~300MB).
Memory File Structure
project/
├── MEMORY.md # Long-term: preferences, patterns, decisions
└── memory/
└── YYYY-MM-DD.md # Daily: session notes, context, progress
Searching Memory
When the user asks about past decisions, preferences, or wants to recall information:
bunx memory-search "QUERY_HERE"
Search Examples
bunx memory-search "database choice decision"
bunx memory-search "error handling pattern"
bunx memory-search "user preferences coding style"
bunx memory-search "authentication implementation"
Output Format
Returns matching snippets with:
- path: File where the match was found
- lines: Line range (startLine-endLine)
- score: Relevance score (0-1)
- snippet: The matching text
After Searching
- Present the relevant results to the user
- If they want more detail, use
Readto get the full file content - If no results found, offer to search with different terms
Saving to Memory
When the user says "remember this", "save this", "note that", or wants to store information:
Decide Which File
MEMORY.md (Permanent):
- User preferences ("I prefer TypeScript")
- Project decisions ("We chose PostgreSQL for X reason")
- Coding patterns ("Always use async/await")
- Architecture decisions
- Important URLs, contacts, credentials references
memory/YYYY-MM-DD.md (Daily):
- What was worked on today
- Bugs found and fixed
- Ideas to explore later
- Meeting notes
- Temporary context
How to Save
- Read existing file first (if it exists) to avoid overwriting
- Append new content with a timestamp or section header
- Use clear, searchable language (will be vector-searched later)
- Run sync after saving to update the search index
bunx memory-search --sync
Example: MEMORY.md
## User Preferences
- Prefers Bun over Node for TypeScript projects
- Uses pnpm as package manager
- Likes minimal dependencies
## Project Decisions
### 2024-01-15: Database Choice
Chose SQLite over PostgreSQL because:
- Single-user application
- No need for concurrent writes
- Simpler deployment
Example: memory/2024-01-15.md
# 2024-01-15
## Session Notes
### 10:30 - Authentication Setup
- Implemented JWT auth flow
- Added refresh token rotation
- TODO: Add rate limiting
### 14:00 - Bug Fix
- Fixed race condition in user creation
- Root cause: missing transaction wrapper
Tips
- Use descriptive queries, not single keywords
- The search is semantic (understands meaning, not just exact words)
- If unsure which file to use, ask the user
- Always sync after saving new content
FAQ
What does the memory skill do?
Project memory system - save and search past decisions, preferences, context, and notes. Use when user says "remember this", asks "what did we decide about X", or wants to recall/store information.
How do I install memory?
Run npx skills add https://github.com/rjyo/memory-search --skill memory in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/memory/ (personal) or .claude/skills/memory/ (project).
Which AI agents can use memory?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is memory safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains memory?
It is published by rjyo in rjyo/memory-search. It has 137 recorded installs.
Popular docs & writing skills
grill-with-docs
mattpocock/skills
A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
lark-markdown
open.feishu.cn
飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。
writing-beats
mattpocock/skills
Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.
writing-shape
mattpocock/skills
Writing, exploit: shape raw material into an article, paragraph by paragraph.
writing-fragments
mattpocock/skills
Writing, explore: mine raw fragments, no structure yet.
writing-for-agents
mattpocock/skills
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.