memory-manager
Skill36 starsChanged 8 months agoApache-2.0View on GitHub
Skill for implementing the 3-step Memory-First Protocol (Research, Response, Learning). Use when starting ANY task to understand past context, and MUST use when completing a task to save new conventions, architectural decisions, or learned user preferences to the memory/ directory.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- chinkan/RustFoxtheir own version, first seen Sep 22, 2026
- jiawood2006/hermes-skillstheir own version, first seen Aug 24, 2026
- GulajavaMinistudio/awesome-copilot-idtheir own version, first seen Aug 4, 2026
- kakafeng/wechat-publisher-2.0their own version, first seen May 22, 2026
- 9thLevelSoftware/legiontheir own version, first seen May 5, 2026
- TenureAI/PhD-Zerotheir own version, first seen Mar 31, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- GulajavaMinistudio/awesome-copilot-id★ 79same name
- 9thLevelSoftware/legion★ 78same name
- TenureAI/PhD-Zero★ 53same name
- kunwl123456/zeroclaw-skills-collection★ 27same name
- chinkan/RustFox★ 9same name
- claude-office-skills/claude-office-plugin★ 9same name
- claude-world/claude-agent★ 4same name
- jiawood2006/hermes-skills★ 2same name
- kakafeng/wechat-publisher-2.0★ 1same 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 repository32 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- coding-agentSkill
- feishu-ask-userSkill
- feishu-authSkill
- feishu-bitableSkill
- feishu-calendarSkill
- feishu-chatSkill
- feishu-create-docSkill
- feishu-doc-commentSkill
- feishu-doc-mediaSkill
- feishu-docx-downloadSkill
- feishu-driveSkill
- feishu-fetch-docSkill
- feishu-image-ocrSkill
- feishu-im-file-analyzeSkill
- feishu-im-messageSkill
- feishu-im-readSkill
- feishu-meeting-minutesSkill
- feishu-quick-setupSkill
- feishu-search-docSkill
- feishu-search-userSkill
- feishu-sheetSkill
- feishu-taskSkill
- feishu-update-docSkill
- feishu-wikiSkill
- healthcheckSkill
- mcporterSkill
- pingtestSkill
- session-logsSkill
- skill-creatorSkill
- weatherSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
If you find a relevant snippet but need more context, use memory_get to read the specific lines from the source memory file.
- Distinctive: line 24
Never ignore established precedents unless explicitly instructed to do so.
- Very specific: line 25
If you encounter a new domain or get stuck during execution, pause and use memory_search again to find patterns you might have missed.
- Distinctive: line 31
If you learned a new project convention, architectural pattern, or user preference during this task:
- Very specific: line 33
Use the read or memory_get tool to check its current contents (if it exists).
- Very specific: line 34
Use the write tool to create or update the markdown file with the new learnings.
- Distinctive: line 35
When notifying the user that the task is complete, briefly mention that you committed the new rule to memory.
“Common” is measured: kept by at least 6 in 10 of the 6 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
The 3-Step Memory-First Protocol
You are equipped with organizational memory and historical context capabilities. To ensure your work aligns with past decisions and continuously improves the team's knowledge base, you MUST strictly follow this 3-step protocol for ALL tasks:
Step 1: Research (调研)
Before writing any code or answering questions about prior work, you MUST run memory_search on MEMORY.md and memory/*.md.
- Search Example:
memory_search query:"how is authentication implemented?" - Search Example:
memory_search query:"user preferences for code formatting" - If you find a relevant snippet but need more context, use
memory_getto read the specific lines from the source memory file.
Step 2: Response (响应与执行)
Apply the historical context retrieved in Step 1 directly to your current task.
- Never ignore established precedents unless explicitly instructed to do so.
- If you encounter a new domain or get stuck during execution, pause and use
memory_searchagain to find patterns you might have missed. Do not hallucinate.
Step 3: Learning (归纳沉淀)
CRITICAL: At the completion of a task, or when corrected by the user, you MUST save any new knowledge to the long-term memory.
If you learned a new project convention, architectural pattern, or user preference during this task:
- Identify the most appropriate
.mdfile in thememory/directory (e.g.,memory/auth-conventions.md,memory/coding-style.md). - Use the
readormemory_gettool to check its current contents (if it exists). - Use the
writetool to create or update the markdown file with the new learnings. Keep the notes concise, definitive, and structured. - When notifying the user that the task is complete, briefly mention that you committed the new rule to memory.
Note: The memory/ directory acts as your persistent Store Backend across sessions. Anything written here will be automatically indexed into the local vector database and retrieved in future tasks.
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.

