Get the Memory Kit running in 5 minutes.
# Create memory folder structure
mkdir -p memory/procedures
# Copy all templates
cp skills/agent-memory-kit/templates/ARCHITECTURE.md memory/
cp skills/agent-memory-kit/templates/feedback.md memory/
cp skills/agent-memory-kit/templates/procedure-template.md memory/procedures/_TEMPLATE.md
cp skills/agent-memory-kit/templates/context-snapshot-template.md memory/context-snapshot.md
# Optional: Daily template for reference
cp skills/agent-memory-kit/templates/daily-template.md memory/Add to your AGENTS.md (or equivalent):
## Every Session
Before doing anything else:
1. Read `SOUL.md` — this is who you are
2. Read `USER.md` — this is who you're helping
3. Read `memory/YYYY-MM-DD.md` (today + yesterday) for recent context
4. **If in MAIN SESSION**: Also read `MEMORY.md`
5. **If post-compaction**: Read `memory/context-snapshot.md` for quick re-orientationAdd to your HEARTBEAT.md:
### Token Limit Check (every 3-4 heartbeats)
- [ ] Check token usage via /status
- [ ] If >160K tokens: Trigger pre-compaction flush
- Update memory/context-snapshot.md
- Log recent events to daily memory
- Document any new proceduresRun periodically:
bash skills/agent-memory-kit/helpers/check-compaction.sh# Create today's log
DATE=$(date +%Y-%m-%d)
touch memory/$DATE.md
# Add header
cat > memory/$DATE.md << 'EOF'
# [DATE]
## Summary
[One-line overview will go here at end of day]
## Events
### [First Event]
**When:** [timestamp]
**What:** [what happened]
**How:** [steps taken — CRITICAL!]
**Outcome:** [result]
**Lessons:** [what to remember]
EOF- Create a procedure: Copy
memory/procedures/_TEMPLATE.mdand document something - Log an event: Add to today's daily log (include HOW)
- Track feedback: Add an entry to
memory/feedback.md - Update snapshot: Fill in
memory/context-snapshot.mdwith current focus
- Close this session
- Start a new session
- Read memory files as per wake routine
- Time how long it takes to get re-oriented
Goal: <2 minutes to full context.
- Log significant events (with HOW)
- Update context snapshot when focus changes
- Review daily logs
- Update MEMORY.md with distilled learnings
- Archive or clean up old snapshots
- Full pre-compaction flush (see
templates/compaction-survival.md)
"I wake up confused after compaction"
→ Your pre-compaction flush needs work. Make sure context-snapshot.md has clear "Next Actions".
"Daily logs are too verbose" → Focus on events with decisions or learnings. Skip routine stuff.
"Procedures folder is empty" → Start documenting! Next time you figure out how to do something, write it down.
"MEMORY.md is getting huge"
→ Good problem. Archive old sections to memory/archive/MEMORY-[year].md.
Essential (every wake):
- Today + yesterday's daily logs (
memory/YYYY-MM-DD.md) - Context snapshot (
memory/context-snapshot.md) if post-compaction
Main session only:
- MEMORY.md (long-term curated memory)
As needed:
- Procedures (only the ones you're actively using)
- ARCHITECTURE.md (reference, not daily)
Don't over-read. The system should save time, not create busywork.
- Use it for a week — Build the habit
- Tune it — Adjust templates to fit your workflow
- Share learnings — Contribute improvements back to the kit
Installation takes 5 minutes. The habit takes a week. The payoff is permanent.