memory
Skill9 starsChanged 6 months agoMITView on GitHub
Search, store, compress, and recall memories across the Energy platform. Semantic search over LEARNINGS.md, daily logs, vault notes, and rules.
66 other projects use a version of this.
Adopted by
Most recently taken up by
- ProjectAJ14/eklavyatheir own version, first seen Oct 4, 2026
- DioNanos/nexuscrewtheir own version, first seen Oct 3, 2026
- Quad4-Software/skillstheir own version, first seen Oct 3, 2026
- pobsteta/aigoratheir own version, first seen Oct 2, 2026
- vbcherepanov/total-agent-memorytheir own version, first seen Sep 30, 2026
- harshanandak/forgetheir own version, first seen Sep 28, 2026
Used with
Projects with it also use postmortem, dev and 9 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.
Hongyu-yuSkillpostmortem
Use when analyzing failures, outages, incidents, or negative outcomes, conducting blameless postmortems, documenting root causes with 5 Whys or fishbone diagrams, identifying corrective actions with owners and timelines, learning from near-misses, establishing prevention strategies, or when user mentions postmortem, incident review, failure analysis, RCA, lessons learned, or after-action review.
Also in 4 projects that use this
MicrosoftSkilldev
Development workflows for the playwright-cli repository. Use when the user asks about rolling dependencies, releasing, or other repo maintenance tasks.
Also in 3 projects that use this
AnthropicSkillstart
Set up your bio-research environment and explore available tools. Use when first getting oriented with the plugin, checking which literature, drug-discovery, or visualization MCP servers are connected, or surveying available analysis skills before starting a new project.
Also in 4 projects that use this
MicrosoftSkillsync
Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.
Also in 3 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 4 projects that use this
DockerSkillresearch
Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".
Also in 7 projects that use this
- +1 more from microsoft
Other versions66 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 66
- google-gemini/gemini-cli★ 107ksame name
- Chachamaru127/claude-code-harness★ 3.1ksame name
- codeaholicguy/ai-devkit★ 1.6ksame name
- Muuuun/luxas★ 1.2ksame name
- rshankras/claude-code-apple-skills★ 777same name
- memvid/claude-brain★ 578same name
- shobcoder/shob★ 577same name
- boshu2/agentops★ 447same name
- lokikill123/codex-token-skills★ 119same name
- 686f6c61/alfred-dev★ 116same name
56 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 repository31 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- agentgrid-orchestrateSkill
- agentgrid-sessionsSkill
- agentgridSkill
- agent-runtimeSkill
- frontend-designSkill
- architectSkill
- deep-thinkSkill
- design-systemsSkill
- ecosystem-referenceSkill
- fractal-delegationSkill
- harness-reviewSkill
- heartbeatSkill
- integrate-resourcesSkill
- llm-council-critiqueSkill
- loop-createSkill
- mcp-setupSkill
- memory-compressionSkill
- model-routingSkill
- oss-project-scaffoldSkill
- playwright-cliSkill
- repo-scoutSkill
- self-improveSkill
- skill-creatorSkill
- skill-routingSkill
- sprintSkill
- test-visualSkill
- troubleshootSkill
- ux-auditSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 57 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Search across all memory surfaces with relevance scoring.
- Distinctive: line 22
If no results, try broader search terms
- Very specific: line 32
Use the memory MCP tool: create_entities with entity type based on content
- Very specific: line 44
Run bash scripts/memory-compress.sh (if exists)
- Distinctive: line 47
Keep recent 30 days in LEARNINGS.md
- Distinctive: line 48
Add compressed index header with category counts
- Very specific: line 57
Search memory surfaces (same as /memory search)
- Distinctive: line 59
Check MCP memory server for stored entities matching topic
- Distinctive: line 93
Before compaction: store critical facts via MCP for cross-session persistence
“Common” is measured: kept by at least 6 in 10 of the 57 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 — Energy Memory System
Unified memory interface for the Energy platform. Search across all memory surfaces, store persistent facts, compress old entries, and recall context.
Commands
/memory search "query"
Search across all memory surfaces with relevance scoring.
Steps:
- Run
bash scripts/memory-search.sh "query" --limit 5 - Parse results: file path + line number + surrounding context
- Present top 5 results ranked by: term frequency x recency x source weight
- If no results, try broader search terms
Sources searched: memory/LEARNINGS.md, memory/daily/.md, memory/topics/.md, vault/.md, .claude/rules/.md
/memory store "key" "value"
Store a persistent fact via MCP memory server.
Steps:
- Use the
memoryMCP tool:create_entitieswith entity type based on content - For maintainer directives: entity type = "directive"
- For technical patterns: entity type = "pattern"
- For project state: entity type = "project"
- Confirm storage with entity name
/memory compress
Compress LEARNINGS.md by archiving old entries.
Steps:
- Run
bash scripts/memory-compress.sh(if exists) - Or manually: read LEARNINGS.md, identify entries older than 30 days
- Move old entries to
memory/archive/learnings-YYYY-MM.md - Keep recent 30 days in LEARNINGS.md
- Add compressed index header with category counts
- Report: lines before, lines after, entries archived
/memory recall "topic"
Recall everything known about a topic across all surfaces.
Steps:
- Search memory surfaces (same as
/memory search) - Also search: .claude/auto-memory files, vault notes, maintainer prompts
- Check MCP memory server for stored entities matching topic
- Combine and deduplicate results
- Present as structured brief: what we know, when we learned it, confidence level
Architecture (4 Layers)
Layer 0: MARKDOWN FILES (source of truth — always works)
memory/LEARNINGS.md, memory/daily/, memory/topics/, vault/
Layer 1: SEARCH INDEX (scripts/memory-search.sh)
BM25-style term frequency search with recency weighting
Searches: LEARNINGS, daily, topics, vault, rules
Layer 2: MCP MEMORY SERVERS (persistent K-V + knowledge graph)
@modelcontextprotocol/server-memory — entity-relation graph
mixgram — document semantic search over memory/ directory
Layer 3: FLEET MEMORY (future — Mem0/Graphiti when agent fleet grows)
Agent-to-agent knowledge propagation
Temporal validity trackingKey Principle
Layer 0 is ALWAYS the source of truth. Upper layers are indexes and caches that can be rebuilt from Layer 0 at any time. If any MCP server fails, grep still works.
When to Use This Skill
- "What do we know about X?" →
/memory recall "X" - "Find that learning about compaction" →
/memory search "compaction" - "Remember this pattern for future sessions" →
/memory store - "LEARNINGS.md is too long" →
/memory compress - At session start: search for context relevant to current task
- Before compaction: store critical facts via MCP for cross-session persistence
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.

