agent-memory
Skill16 starsChanged 4 days agoMITView on GitHub
Repo-local file memory under .scaffolding/ (shared/agent/conversation tiers). TRIGGER when: reading or writing .scaffolding/ memory files, or choosing which file tier an insight belongs in. SKIP: vector memory / MCP search and store (use semantic-memory-mcp); distilling conversations (use distill).
38 other projects use a version of this.
Adopted by
Most recently taken up by
- isaacbitran/agent-memorytheir own version, first seen Nov 8, 2026
- msking18/agent-memory-mcptheir own version, first seen Nov 8, 2026
- MemTether/MemTethertheir own version, first seen Nov 1, 2026
- tigerless-labs/agent-memorytheir own version, first seen Oct 22, 2026
- brianschroeder/simple-agent-memorytheir own version, first seen Oct 21, 2026
- vindreshsingh/engineering-skillstheir own version, first seen Oct 20, 2026
Used with
Projects with it also use observability, data-analysis and 7 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.
OpenAISkillobservability
Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.
Also in 4 projects that use this
shanggqmSkilldata-analysis
数据分析技能,提供结构化的数据查询、统计分析和报告生成工作流。当用户需要查询数据库、进行数据统计分析、生成分析报告时使用。按规范输出原始数据、计算结果、Markdown报告和HTML可视化报告。
Also in 3 projects that use this
VercelSkilltechnical-writing
Write, edit, review, or audit user-facing documentation for the eve repository. Use for changes under docs/, documentation tied to eve APIs or CLI behavior, docs work based on Slack or support feedback, and requests to make eve docs clearer, more natural, or less AI-patterned while verifying claims against current source, tests, CLI help, public releases, and repository conventions.
Also in 3 projects that use this
JetBrainsSkillwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Also in 4 projects that use this
AnthropicSkillpdf
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
Also in 5 projects that use this
JetBrainsSkillbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Also in 3 projects that use this
Other versions38 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 38
- tigerless-labs/agent-memory★ 4.3ksame name
- databricks/app-templates★ 218same name
- OpenHands/extensions★ 167same name
- JKHeadley/instar★ 86same name
- nimadorostkar/Claude-Skills-collection★ 33same name
- VoDaiLocz/kilo-kit-mcp★ 28same name
- jayzeng/agentmemory★ 24same name
- xChuCx/agent-memory★ 11same name
- t4sh/skills4sh★ 5same name
- GPTtang/skill-atlas★ 4same name
28 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 repository39 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- agent-commsSkill
- api-designSkill
- context-engineeringSkill
- database-optimizationSkill
- distillSkill
- docker-templatesSkill
- error-handlingSkill
- frontend-designSkill
- github-actions-templateSkill
- git-operationsSkill
- logging-standardsSkill
- mcp-toolsSkill
- monitoring-observabilitySkill
- mui-stylingSkill
- necessity-firstSkill
- pattern-recognitionSkill
- planning-methodologySkill
- python-patternsSkill
- quality-validationSkill
- react-patternsSkill
- research-methodologySkill
- reverse-engineer-anythingSkill
- security-review-checklistsSkill
- semantic-memory-mcpSkill
- skill-authoringSkill
- sofa-searchSkill
- spec-designSkill
- spec-developSkill
- spec-researchSkill
- spec-reviewSkill
- spec-workflowSkill
- state-managementSkill
- systematic-debuggingSkill
- testing-strategySkill
- ui-ux-pro-maxSkill
- verification-before-completionSkill
- watch-patternsSkill
- worktree-managementSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 33 edited versions we read keep these.
7
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 22
No hook or pipeline injects these files into agent context -- they are read on demand (see On First Turn).
- Distinctive: line 26
Before starting work, read available memory (skip if files don't exist):
- Very specific: line 30
If conversation_id is provided in task context: Read .scaffolding/conversations/{conversation_id}/agent-memory/context.md
- Distinctive: line 34
Write significant findings to the appropriate tier:
- Distinctive: line 78
Use markdown headers to organize by topic
- Distinctive: line 81
Remove outdated entries proactively
- Distinctive: line 82
Use concise bullet points, not prose
- Distinctive: line 92
If memory files don't exist, create them with the appropriate header:
- Very specific: line 136
If a candidate is a repeatable procedure rather than a situational fact (per distill's Skill Promotion Criterion), it is not written to …
“Common” is measured: kept by at least 6 in 10 of the 33 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
Agent Memory Protocol
3-tier persistent file-based memory under the repo-local .scaffolding/ directory, for cross-session knowledge accumulation. Vector memory (MCP tools) is covered by the semantic-memory-mcp skill.
Memory Tiers
| Tier | Path | Scope | Written By | Read By |
| Shared | .scaffolding/agent-memory/shared/KNOWLEDGE.md | Whole project | Any agent | All agents |
| Agent | .scaffolding/agent-memory/agents/{agent-name}/MEMORY.md | Per agent | Owning agent | Own agent + architect |
| Conversation | .scaffolding/conversations/{conversation_id}/agent-memory/context.md | Per conversation | Any agent in conversation | Agents in same conversation |
The Conversation tier lives under .scaffolding/conversations/, which is a symlink to <share>/projects/<repo-name>/conversations (shared across machines). Paths are unchanged; always go through the symlink.
How Memory Is Read
No hook or pipeline injects these files into agent context -- they are read on demand (see On First Turn). The conversation tier is the inter-agent handoff: a downstream agent in the same chain reads what an upstream agent recorded there.
On First Turn
Before starting work, read available memory (skip if files don't exist):
- Read
.scaffolding/agent-memory/shared/KNOWLEDGE.md - Read
.scaffolding/agent-memory/agents/{your-agent-name}/MEMORY.md - If
conversation_idis provided in task context: Read.scaffolding/conversations/{conversation_id}/agent-memory/context.md
Before Completing
Write significant findings to the appropriate tier:
Shared Knowledge (KNOWLEDGE.md)
Save here:
- Project architecture facts confirmed across multiple tasks
- Deployment gotchas and infrastructure quirks
- Cross-cutting patterns (e.g. how Redis is used, how tasks flow)
- Known bugs or limitations that affect multiple agents
Do NOT save:
- Agent-specific patterns (use agent memory)
- Task-specific context (use conversation memory)
- Anything already in CLAUDE.md or docs/
Agent Memory (MEMORY.md)
Save here:
- Patterns specific to your agent's domain (e.g. developer saves coding patterns)
- Lessons learned from mistakes in your domain
- File locations you frequently need
- Recurring debugging insights
Do NOT save:
- Generic project facts (use shared knowledge)
- One-time task details
- Speculative or unverified conclusions
Conversation Memory (context.md)
Save here:
- Decisions made during this conversation
- Findings from investigation (debugger -> developer handoff)
- Context needed by downstream agents in the same conversation chain
- Original intent and requirements clarifications
Do NOT save:
- Permanent knowledge (use shared or agent memory)
- Raw data or large code snippets
Read-Only Agents
Agents with Write in disallowedTools (reviewer, gitops) cannot write to .scaffolding/agent-memory/ directly. These agents should report findings in their output, and writable agents in the same conversation chain can persist them. Architect has Write and may write memory files (only Edit is disallowed).
Format Guidelines
- Max 200 lines per file (keeps the file cheap to read in full)
- Use markdown headers to organize by topic
- Include dates
[YYYY-MM-DD]for time-sensitive entries - Tag durable facts with
confidence(high/medium/low) andlast_verified [YYYY-MM-DD]; re-verify against live code/config before asserting a stale point-in-time fact, and down-grade or remove ones that no longer hold - Remove outdated entries proactively
- Use concise bullet points, not prose
Hot/Cold Split
File-based memory (this skill) is the hot layer — read in full on first turn under a 200-line budget, so keep it lean: stable, high-level facts and pointers only. Push detailed prose and rarely-needed, fuzzy-discoverable knowledge to the cold layer (vector store) via the semantic-memory-mcp skill — it only surfaces on similarity match and carries no per-turn token cost. Durable source-of-truth facts still get a file here; the cold copy is for natural-language recall.
Local-only carve-out: secrets and memory/MCP recovery procedures NEVER go to the cold vector store. Recovery info must stay readable when the store itself is down (a 401 means you cannot query the store to learn how to fix it), and secrets must not be embedded in a remote/shared backend. Keep these as file memory only.
File Creation
If memory files don't exist, create them with the appropriate header:
# Shared Knowledge
<!-- Cross-agent project knowledge. Max 200 lines. --># {Agent Name} Memory
<!-- Agent-specific patterns and lessons. Max 200 lines. --># Conversation {conversation_id} Context
<!-- Decisions and findings for this conversation chain. -->Conversation Recall
Conversation memory is plain files: when a task has a conversation_id, read context.md yourself (see On First Turn). No database setup is required for conversation-tier memory.
Learning Loop
The /learn command closes the loop between a finished conversation and the
memory tiers above. It distills one conversation into knowledge candidates (via
the distill skill's Conversation-Scoped Distillation mode) and routes each
candidate back into this memory system.
Candidate ingestion into the 3 tiers
| Candidate kind | Target tier | File |
| Cross-cutting project fact | Shared | .scaffolding/agent-memory/shared/KNOWLEDGE.md |
| Domain-specific pattern or lesson | Agent | .scaffolding/agent-memory/agents/{name}/MEMORY.md |
| Decision relevant only to the active chain | Conversation | .scaffolding/conversations/{id}/agent-memory/context.md |
Ingestion is propose-then-confirm: /learn prints the proposed memory diff
and applies it only on explicit confirmation. Writes respect the 200-line
KNOWLEDGE.md limit — overflow routes to the most relevant agent file per the
distill overflow rule. Applied entries are picked up by agents that read the files on the next
task.
Escalation to /create-skill
If a candidate is a repeatable procedure rather than a situational fact (per
distill's Skill Promotion Criterion), it is not written to memory. Instead
/learn proposes a /create-skill invocation with a pre-filled draft, escalating
the knowledge into a first-class auto-invokable skill. Memory holds facts; skills
hold reusable how-to procedures.
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.

