memory
Skill2 starsChanged 9 months agoMITView on GitHub
User-facing memory management. Recall, save, forget, reinforce, cleanup, and stats for the JIT memory system.
123 other projects use a version of this.
Adopted by
Most recently taken up by
- yezzzp/agent-relay-protocoltheir own version, first seen Nov 29, 2026
- biliboss/skillstheir own version, first seen Nov 29, 2026
- BlinkVoid/GearCoretheir own version, first seen Nov 29, 2026
- matthewwong525/WongStacktheir own version, first seen Nov 29, 2026
- matthewdonsemail-lab/logtheir own version, first seen Nov 29, 2026
- rshankras/claude-code-apple-skillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use ecosystem-reference, fractal-delegation and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
naman10parikhSkillecosystem-reference
Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.
Also in 5 projects that use this
naman10parikhSkillfractal-delegation
Also in 5 projects that use this
roronoazoroshao369Skillmemory-compression
Also in 5 projects that use this
Maliot100XSkillsend-user-message
Send a proactive message to a paired user via their channel (Discord, Telegram, or WhatsApp). Use when the agent needs to notify, alert, or send an unsolicited message to a user — especially during heartbeat invocations, scheduled tasks, or when the agent wants to reach out without a prior user message in the current conversation. Triggers: 'send message to user', 'notify user', 'alert user', 'message the user on discord/telegram/whatsapp', or any need to proactively communicate with a paired sender.
Also in 4 projects that use this
jh941213Skilldocs-ci
문서 CI(링크·OpenAPI lint·breaking 게이트·mermaid 검증)나 문서 드리프트 감지(docs.yaml 신선도 검사)를 설치하거나 돌릴 때 사용. 문서 내용 작성은 docs-architecture·docs-interfaces·docs-manuals.
Also in 3 projects that use this
jh941213Skilldocs-interfaces
API·이벤트 인터페이스 문서(OpenAPI·swagger·AsyncAPI 명세, 엔드포인트 레퍼런스, API 구성도·시퀀스, API CHANGELOG)를 만들거나 코드와 맞출 때 사용. 시스템 구성도는 docs-architecture, API 설계 원칙은 api-design-principles.
Also in 3 projects that use this
- +5 more from naman10parikh
- +1 more from jh941213
Other versions123 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 123
- google-gemini/gemini-cli★ 109ksame name
- jlia0/tinyclaw★ 3.6ksame name
- TinyAGI/tinyagi★ 3.6ksame name
- TinyAGI/tinyclaw★ 3.6ksame name
- Chachamaru127/claude-code-harness★ 3.2ksame name
- codeaholicguy/ai-devkit★ 1.7ksame name
- Muuuun/luxas★ 1.2ksame name
- rshankras/claude-code-apple-skills★ 915same name
- shobcoder/shob★ 575same name
- boshu2/agentops★ 464same name
113 more not listed
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 repository18 other files it gives its agents.
- affirmationSkill
- auditSkill
- councilSkill
- doSkill
- gitSkill
- infoSkill
- kill-playgroundSkill
- mergeSkill
- opsSkill
- qSkill
- refineSkill
- runSkill
- scopeSkill
- sim-sourceSkill
- stateSkill
- thinkSkill
- ui-brainSkill
- worktree-managerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 7 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 105 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 32
Read ~/.claude/skills/memory/MEMORY_OPS.md for tool call templates used by all skills.
- Very specific: line 40
Call mcp__memory__memory_recall with no args, limit 1 (just to verify connectivity).
- Very specific: line 46
Call mcp__memory__memory_stale with default args.
- Distinctive: line 80
Never expose raw UUIDs: Use name + index for reference.
- Very specific: line 87
Call mcp__memory__memory_store with parsed args + user selections.
- Distinctive: line 93
If 1 result → reinforce directly.
- Very specific: line 94
If multiple → AskUserQuestion with numbered list, ask which to reinforce.
- Distinctive: line 101
If 1 result → confirm before forgetting.
- Very specific: line 102
If multiple → AskUserQuestion with numbered list.
- Distinctive: line 110
If 1 result → show current content, ask what to change.
- Very specific: line 111
If multiple → AskUserQuestion with numbered list, ask which to update.
- Distinctive: line 119
If no candidates → "All memories healthy — nothing to clean up."
- Distinctive: line 158
Confirm destructive actions: Always ask before forget/delete.
- Very specific: line 159
One question at a time: Use AskUserQuestion sequentially, never multiple.
- Distinctive: line 161
Read-only by default: Only modify memories when user explicitly requests it.
“Common” is measured: kept by at least 6 in 10 of the 105 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Memory
Direct interface to the JIT memory system. Search, save, manage, and clean up memories.
/memory — show stats (default)
/memory recall {query} — search memories, display ranked results
/memory save {name} -- {content} — explicit store (asks for type/scope)
/memory reinforce {query} — boost salience of matching memory
/memory forget {query} — soft-delete matching memory
/memory stats — counts by type/scope, top-5 accessed, staleness
/memory update {query} — update matching memory in-place
/memory cleanup — show cleanup candidates, approve per-memory
/memory archive {query} — send matching memories to cold storage
/memory promote {query} — bring cold memories back to hotOperations Reference
Read ~/.claude/skills/memory/MEMORY_OPS.md for tool call templates used by all skills.
Subcommands
/memory or /memory stats
- Call
mcp__memory__memory_recallwith no args, limit 1 (just to verify connectivity). - Query counts by type:
For each type in [user, feedback, project, reference, episodic]: mcp__memory__memory_recall(type: type, limit: 1) → use result to show "N+ memories" - Call
mcp__memory__memory_stalewith default args. - Display:
Memory System ───────────────────────────── Hot: {count} memories Stale: {stale_count} (>{max_days} days untouched) By type: feedback: {n} reference: {n} user: {n} project: {n} episodic: {n} Top 5 most accessed: 1. {name} ({type}, {access_count} accesses) ... Tip: /memory cleanup — review stale memories
/memory recall {query}
- Call
mcp__memory__memory_recall(query: "{query}", limit: 15). - Display ranked results:
{N} results for "{query}" ───────────────────────────── 1. {name} [{type}] score: {score} {description — first 100 chars} 2. {name} [{type}] score: {score} {description — first 100 chars} ... - Never expose raw UUIDs. Use name + index for reference.
/memory save {name} -- {content}
- Parse
{name}(before--) and{content}(after--). AskUserQuestion: "Type? (feedback / reference / project / user / episodic)"AskUserQuestion: "Scope? (global / project / discipline:{name})"- Call
mcp__memory__memory_storewith parsed args + user selections. - Confirm:
Saved: "{name}" [{type}, {scope}]
/memory reinforce {query}
- Call
mcp__memory__memory_recall(query: "{query}", limit: 5). - If 1 result → reinforce directly.
- If multiple →
AskUserQuestionwith numbered list, ask which to reinforce. - Call
mcp__memory__memory_reinforce(id: "{resolved_id}"). - Confirm:
Reinforced: "{name}" (salience +0.3)
/memory forget {query}
- Call
mcp__memory__memory_recall(query: "{query}", limit: 5). - If 1 result → confirm before forgetting.
- If multiple →
AskUserQuestionwith numbered list. AskUserQuestion: "Forget '{name}'? This soft-deletes it. (y/n)"- Call
mcp__memory__memory_forget(id: "{resolved_id}"). - Confirm:
Forgotten: "{name}"
/memory update {query}
- Call
mcp__memory__memory_recall(query: "{query}", limit: 5). - If 1 result → show current content, ask what to change.
- If multiple →
AskUserQuestionwith numbered list, ask which to update. AskUserQuestion: "What fields to update?" — show current name, description, content. Accept new values.- Call
mcp__memory__memory_update(id, ...changed_fields). - Confirm:
Updated: "{name}"
/memory cleanup
- Call
mcp__memory__memory_cleanup(max_stickiness: 0.3, limit: 20). - If no candidates → "All memories healthy — nothing to clean up."
- Display candidates:
Cleanup Candidates (stickiness < 0.3) ───────────────────────────── 1. {name} [{type}] stickiness: {score} Suggested: {compress|archive|delete} {description — first 80 chars} 2. ... AskUserQuestion: "Action per memory — enter numbers to act on, or (s)kip all:1a= archive #1,2d= delete #2,3c= compress #3"- Execute approved actions:
- archive:
mcp__memory__memory_archive(id) - delete:
mcp__memory__memory_forget(id)(confirm: "Permanently forget?") - compress:
mcp__memory__memory_consolidate(ids: [id], name, description, content: <summarized>)
- archive:
- Summary:
Cleaned: {N} archived, {N} deleted, {N} compressed
/memory archive {query}
- Call
mcp__memory__memory_recall(query: "{query}", limit: 5). - Resolve target (single or ask).
- Call
mcp__memory__memory_archive(id: "{resolved_id}"). - Confirm:
Archived: "{name}" — excluded from default recall
/memory promote {query}
- Need to search cold storage. Call
mcp__memory__memory_recall(query: "{query}", limit: 5).- Note: if the memory is already archived, it won't appear in default recall. Use broader search terms.
- Resolve target.
- Call
mcp__memory__memory_promote(id: "{resolved_id}"). - Confirm:
Promoted: "{name}" — back in hot tier
Rules
- Never expose UUIDs. Resolve by name/query internally. Users see names + indices.
- Confirm destructive actions. Always ask before forget/delete.
- One question at a time. Use
AskUserQuestionsequentially, never multiple. - Compact output. Tables and lists, no prose.
- Read-only by default. Only modify memories when user explicitly requests it.
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.

