askill
memory

memorySafety 95Repository

Two-layer memory system with grep-based recall.

2 stars
1.2k downloads
Updated 2/28/2026

Package Files

Loading files...
SKILL.md

Memory

Structure

  • memory/MEMORY.md — Long-term facts (preferences, project context, relationships). Always loaded into your context.
  • memory/HISTORY.md (and monthly memory/HISTORY-YYYY-MM.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. When MEMORY.md grows large, stale facts are pruned during consolidation. You don't need to manage this.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

72/100Analyzed 3/3/2026

Well-structured two-layer memory system skill with clear grep-based recall instructions. Covers MEMORY.md and HISTORY.md separation, search commands, and update triggers. Missing initial setup details but otherwise actionable and reusable across projects."

95
80
70
55
75

Metadata

Licenseunknown
Version-
Updated2/28/2026
Publishersorrycc

Tags

api