memory
Skill0 starsChanged 37 days agoMITView on GitHub
The platform keeps each user's memory, and the user can see and edit all of it in the product. You do not manage files: - The session starts with a memory block: who the user is, what they are working on now, preferences (locked ones first), lessons, recent projects and unconfirmed entries. A read-only copy is in /workspace/.memory/context.md. - A message may arrive with <user-memory-recall> lines added: older entries it is about. - "User memory could not be loaded this…
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 repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ad-variantsSkill
- blenderSkill
- faceless-explainerSkill
- hyperframes-animationSkill
- hyperframes-cliSkill
- hyperframes-coreSkill
- hyperframes-creativeSkill
- hyperframesSkill
- long-scroll-filmSkill
- media-editSkill
- media-useSkill
- previewSkill
- product-videoSkill
- save-as-skillSkill
- save-workflowSkill
- viral-remakeSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 105 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
If the block says memory is paused, the user switched it off: record nothing and do not bring memory up.
- Very specific: line 24
Use what is there without asking again.
- Very specific: line 41
Every write prints one line per result: applied, unchanged, or a refusal with what to do (the command then exits 1).
“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
The platform keeps each user's memory, and the user can see and edit all of it in the product. You do not manage files:
- The session starts with a memory block: who the user is, what they are working on now, preferences
(locked ones first), lessons, recent projects and unconfirmed entries. A read-only copy is in
/workspace/.memory/context.md. - A message may arrive with
<user-memory-recall>lines added: older entries it is about. - "User memory could not be loaded this time" means memory was unreachable, not empty: do not treat
the user as new. Run
mem show; if that fails too, ask only what the job needs. - If the block says memory is paused, the user switched it off: record nothing and do not bring memory up.
Use what is there without asking again. When a remembered preference shapes the work, say so in a
few words ("配音用了你偏好的男声") and nothing more about how memory works. Only mem reaches their
next session; notes you write to files do not.
mem show # profile, preferences, lessons, projects, with locked/pending flags
mem show project # one layer: profile | preference | lesson | project | recent
mem search 咖啡 片头 # older entries about these words
mem set pref.voice "配音一律用男声,语速偏快" --said
mem set pref.color-grade "Prefers warm grades; turned down teal twice" --inference
mem set project.2026-10-03.coffee-launch "15 s 9:16 launch ad, generated keyframes + i2v, male VO"
mem append project.2026-10-03.coffee-launch "User: loves the hook, wants a 2 s end card" --said
mem set lesson.product-closeups "Their matte bottles look plastic without a softbox in the prompt"
mem set profile.role "Runs a small coffee shop in Osaka" --said
mem forget pref.music --reason "user now picks music per video"Every write prints one line per result: applied, unchanged, or a refusal with what to do (the
command then exits 1).
Layers
| key | holds | write it |
pref.<topic> | a lasting like or dislike: voice, captions, pacing, music, words to avoid | the moment the user states or confirms it |
lesson.<topic> | what works or fails for this user's content, products or audience | after a piece of work, when something specific to them showed |
project.<yyyy-mm-dd>.<name> | one line per finished piece: topic, format, look, tools, verdict | after each finished piece; their later reaction with append |
profile.<field> | who the user is: name, role, what they do, city or time zone, language | when the user mentions it; they approve it |
recent.summary | what they are working on now | never: the platform writes it |
Keys are lowercase (a-z, 0-9, -, _), one to three parts after the prefix, at most 80
characters. Name a profile field plainly (profile.name, profile.role, profile.time_zone), and
reuse a field that is already there.
Text is one line of at most 300 characters (a project entry 600, so its reactions fit), in the user's language, readable without this conversation, with absolute dates ("until 2026-10-31", never "next week").
Who said it
--said: the user said it themselves in this conversation. It counts at once.--inference: your own conclusion about their taste ("chose the warmer grade twice"). It stays unconfirmed, and is used lightly, until the user approves it.- Neither: a record of what happened, such as a project line.
--ttl-days N(onset): a fact with an end date, such as a campaign or a seasonal look.
set on a key that exists writes a new version and keeps the old one, so update the key that holds
a fact instead of adding a near-duplicate; check mem show or mem search when unsure.
When to write
- The user states a lasting preference or corrects you ("以后都用男声", "never put emoji in
captions"):
mem set pref.<topic> "…" --saidin the same turn, on the key that already holds that topic if there is one. A request for this piece only is not a preference. - After each finished piece (the user has it):
mem set project.<yyyy-mm-dd>.<name> "…"with what was actually made, not what was planned. If something specific to this user came out (a product that needs a certain shot, a look that suits them, an idea they rejected and why), alsomem set lesson.<topic> "…". A few lines per piece at most. - The user reacts later ("结尾太长了", "this one did great"):
mem append project.<…> "…" --said. - The user mentions who they are (their name, role, what they do, where they are, the language
they work in):
mem set profile.<field> "…". It is a suggestion the user approves; until then the profile stays as it is. A field the user has set is theirs:memrefuses to change it (locked), so tell them instead if it looks out of date. - A remembered entry is wrong or stale:
setthe corrected text, ormem forget <key> --reason "…".
Never user memory
- Know-how true for every user: how tools, models, the sandbox or these skills behave.
- Transcripts, prompts verbatim, logs, command output, ids of one-off results.
- Tokens, keys, passwords and signed URLs (
memrefuses them). Recurring files belong in the library (library put <file>). - Personal data the user did not ask you to remember, and anything about other people.
Locked entries and refusals
The user locks entries the AI must not change. If a locked entry contradicts what they ask now, do what they ask for this piece and tell them the saved preference can be changed in the product; do not try to rewrite or forget it.
| outcome | what to do |
locked | the user locked this key: ask them or leave it |
full | the layer is at its limit: merge related entries with set, forget stale ones |
paused | memory is switched off: record nothing more this session |
invalid | fix the key or the text as the message says |
missing | there is nothing under that key: check mem show |
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.

