memory
Two-layer memory system with grep-based recall.
- License 许可
- MIT
- 最近更新
- 2026-02-24
- Stars
- ★ 37
- Forks
- 4
01 前言 Front Matter
- name
- memory
- always
- true
- description
- Two-layer memory system with grep-based recall.
03 SKILL.md 正文
Memory
Structure
memory/MEMORY.md— Long-term facts (preferences, project context, relationships). Always loaded into your context.memory/HISTORY.md— Append-only event log. NOT loaded into context. Search it with grep.
Search Past Events
grep -i "keyword" memory/HISTORY.md
Use the exec tool to run grep. Combine patterns: grep -iE "meeting|deadline" memory/HISTORY.md
When to Update MEMORY.md
Write important facts immediately using edit_file or write_file:
- User preferences ("I prefer dark mode")
- Project context ("The API uses OAuth2")
- Relationships ("Alice is the project lead")
Auto-consolidation
Old conversations are automatically summarized and appended to HISTORY.md when the session grows large. Long-term facts are extracted to MEMORY.md. You don't need to manage this.
04 同仓库更多 Skills
weather
Get current weather and forecasts (no API key required).
tmux
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
summarize
Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).
skill-creator
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
github
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
cron
Schedule reminders and recurring tasks.