agent-memory▌
molty-assistant/agent-memory-skill · updated Apr 8, 2026
Memory management CLI for AI agents. Organize, search, and maintain your memory files.
Agent Memory (memctl)
Memory management CLI for AI agents. Organize, search, and maintain your memory files.
Install
npm install -g agent-memory
Or clone and build:
git clone https://github.com/molty-assistant/agent-memory.git
cd agent-memory && npm install && npm run build
Commands
List memory files
memctl list # List all
memctl ls --recent 5 # Show recent
Search across files
memctl search "query" # Find mentions
memctl s "project" --context 3 # With context lines
Summary stats
memctl summary # Last 7 days stats
memctl sum --days 30 # Last 30 days
Check for gaps
memctl gaps # Missing daily entries (30 days)
memctl gaps --days 7 # Check last week
Create today's file
memctl touch # Creates YYYY-MM-DD.md if missing
AI-powered digest (requires Gemini API key)
export GEMINI_API_KEY=your_key
memctl digest # AI summary of last 7 days
memctl ai --days 3 # Last 3 days
memctl digest -o out.md # Save to file
Configuration
Memory directory is found automatically:
$MEMORY_DIRenvironment variable./memoryin current directory~/.openclaw/workspace/memory
Use Cases
Daily check:
memctl gaps --days 7 && memctl touch
Weekly review:
memctl digest --days 7 -o weekly-digest.md
Find context:
memctl search "project name"
Integration
Add to your HEARTBEAT.md:
## Memory Maintenance
- `memctl gaps` to check for missing entries
- `memctl touch` to create today's file
- `memctl digest` for weekly AI summary
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.5★★★★★55 reviews- ★★★★★Chaitanya Patil· Dec 12, 2024
agent-memory has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Aditi Robinson· Dec 12, 2024
agent-memory is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Pratham Ware· Dec 8, 2024
Registry listing for agent-memory matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Jin Flores· Dec 8, 2024
Useful defaults in agent-memory — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Dev Flores· Dec 8, 2024
Useful defaults in agent-memory — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Hiroshi Huang· Dec 4, 2024
agent-memory has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Mei Bhatia· Nov 27, 2024
I recommend agent-memory for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Jin Martin· Nov 27, 2024
I recommend agent-memory for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Sakura Anderson· Nov 23, 2024
Solid pick for teams standardizing on skills: agent-memory is focused, and the summary matches what you get after install.
- ★★★★★Piyush G· Nov 3, 2024
Solid pick for teams standardizing on skills: agent-memory is focused, and the summary matches what you get after install.
showing 1-10 of 55