memory-engine
Skill2 starsChanged 5 months agoMITView on GitHub
A memory management and learning system for Antigravity. Use this skill whenever the user issues a memory command like save, reload, handoff, reflect, todo, learn, or any other memory-related commands. This skill enables the agent to store context across sessions, maintain a reflection diary, track cross-project tasks, and learn from mistakes.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- HelloRuru/claude-memory-enginetheir own version, first seen Apr 7, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- HelloRuru/claude-memory-engine★ 133same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- devcontainer-bridgeSkill
- newsletter-summarySkill
- process-delegate-tasksSkill
- code-reviewSkill
- git-masterSkill
- implement_taskSkill
- incremental_implementSkill
- investigate_issueSkill
- planning-and-task-breakdownSkill
- request_featureSkill
- test-driven-developmentSkill
- write_prdSkill
- evolution-logSkill
- flow-tracerSkill
- rcaSkill
- agent-browserSkill
- content-cleanerSkill
- content-summarySkill
- daily-distillerSkill
- daily-workflowSkill
- decision-sparringSkill
- fetch-threads-postSkill
- ingest-newsletterSkill
- ingest-threadsSkill
- ingest-websiteSkill
- ingest-youtubeSkill
- review-newsletter-subscriptionsSkill
- review-suggestionsSkill
- rubric-graderSkill
- study-github-repoSkill
- web-to-markdownSkill
- yt2docSkill
- agent-rules-reviewerSkill
- architecture-decision-recordsSkill
- cavemanSkill
- documentationSkill
- grill-meSkill
- insightSkill
- skill-context-refactorSkill
- tech-deconstructorSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 40
Never guess the memory content: Always rely on your active context or by reading the memory files with view_file.
- Distinctive: line 41
Be specific: When writing to memory files, be concise.
- Distinctive: line 42
Pointers, not dumps: If a memory file is getting too long (over 150 lines), create a pointer to a standalone file in the same directory …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Memory Engine
A memory and learning system for Antigravity. This skill allows you to manage conversation state, track tasks, reflect on pitfalls, and hand off context between sessions using your active context and file system tools.
Architecture & Directories
- Global Memory:
~/.gemini/antigravity/memory/(Used for overarching tasks, error logs, and diaries). - Project Memory:
.agents/memory/in the active workspace (Used for project-specific context, learned pitfalls, and handoffs).
Commands
Whenever the user issues one of the following commands, you MUST use view_file to read the corresponding instruction file in /Users/allanbian/my-ai-workflow/.agents/skills/memory-engine/commands/<command>.md and follow its detailed execution steps. Always confirm what you did with a short summary to the user.
| Command | Action you must take |
save | Read commands/save.md and execute the steps to append context to .agents/memory/context.md. |
reload | Read commands/reload.md and load past context into your current working memory. |
todo | Read commands/todo.md and manage cross-project tasks in ~/.gemini/antigravity/memory/todo.md. |
backup | Read commands/backup.md and execute the push backup script. |
sync | Read commands/sync.md and execute the sync backup script. |
handoff | Read commands/handoff.md and summarize uncompleted tasks for next session. |
diary | Read commands/diary.md and summarize today's session in ~/.gemini/antigravity/memory/diary.md. |
reflect | Read commands/reflect.md and analyze recent logs for patterns or repeated mistakes. |
learn | Read commands/learn.md and manually extract a pitfall or lesson. |
analyze | Read commands/analyze.md and log new rules or errors. |
correct | Read commands/correct.md and remind yourself of past mistakes. |
check | Read commands/check.md and verify memory folders structure. |
full-check | Read commands/full-check.md and audit all memory files. |
memory-health | Read commands/memory-health.md and report capacity warnings. |
memory-search | Read commands/memory-search.md and search across memory files. |
recover | Read commands/recover.md and execute the pull backup script. |
compact-guide | Read commands/compact-guide.md and output a guide on when to compact memories. |
overview | Read commands/overview.md and output a formatted table of commands to the user. |
Important Rules
- Never guess the memory content: Always rely on your active context or by reading the memory files with
view_file. - Be specific: When writing to memory files, be concise. Include timestamps when appending new entries.
- Pointers, not dumps: If a memory file is getting too long (over 150 lines), create a pointer to a standalone file in the same directory rather than dumping everything into one file.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

