cortex-remember
Skill78 starsChanged 4 months agoMITView on GitHub
Store important decisions, patterns, errors, lessons, and context into Cortex persistent memory. Use when the user says 'remember this', 'save this', 'store this for later', 'note this down', 'don't forget', 'this is important', 'bookmark this', or when a significant decision, bug fix, architecture choice, or lesson learned occurs during a session. Also use after resolving tricky bugs, making technology choices, or discovering important patterns.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- pedropacheco95/cortextheir own version, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- pedropacheco95/cortex★ 2same 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 repository13 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- cortex-automateSkill
- cortex-consolidateSkill
- cortex-debug-memorySkill
- cortex-explore-memorySkill
- cortex-importSkill
- cortex-navigate-knowledgeSkill
- cortex-profileSkill
- cortex-recall-globalSkill
- cortex-recallSkill
- cortex-remember-globalSkill
- cortex-setup-projectSkill
- cortex-wiki-authorSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
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 30
Call cortex:remember with structured content:
- Distinctive: line 42
Write content that will make sense in 3 months without context
- Distinctive: line 44
Keep it under 2000 characters
- Very specific: line 55
If stored: false, the content was likely redundant.
- Very specific: line 73
Tags matter: Use consistent tags across sessions (e.g.
- Very specific: line 75
Rate memories later: Use cortex:rate_memory with useful: true/false to train the system's metamemory confidence scoring
≈ “Common” is an estimate: at least 1 in 5 of the 383,637 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Remember — Store to Persistent Memory
Keywords
remember, save, store, note, bookmark, don't forget, important, keep this, record, persist, write down, save for later, remember this decision, store this pattern, note this lesson, save this fix
Overview
Store important information into Cortex's thermodynamic memory system. Memories pass through a predictive coding gate that automatically filters noise — only genuinely novel or important content gets stored. The system handles deduplication, entity extraction, and knowledge graph linking automatically.
Use this skill when: A significant event happens during a session — a decision is made, a bug is fixed, a pattern is discovered, or the user explicitly asks to remember something.
Workflow
Step 1: Identify What to Remember
Determine the content worth storing. Good candidates:
- Decisions: "We chose PostgreSQL over SQLite because..."
- Bug fixes: "The root cause was X, fixed by Y"
- Patterns: "This codebase uses factory injection for all handlers"
- Lessons: "Never use asyncio.get_event_loop() in Python 3.10+"
- Context: "The user prefers minimal PRs with focused changes"
Step 2: Store the Memory
Call cortex:remember with structured content:
cortex:remember({
"content": "<clear, self-contained description of what to remember>",
"tags": ["<category>", "<project>", "<topic>"],
"directory": "<current working directory>",
"source": "<context: e.g. 'bug-fix', 'architecture-decision', 'user-preference'>"
})Content guidelines:
- Write content that will make sense in 3 months without context
- Include the why, not just the what
- Keep it under 2000 characters
- Be specific: "PostgreSQL 15+ required for pgvector HNSW indexes" not "we use Postgres"
Step 3: Verify Storage
The response includes:
stored: true/false— whether the gate accepted it (false means too similar to existing memory)memory_id— the stored memory's IDnovelty_score— how novel the content was vs existing memoriesmerged_with— if it was merged into an existing memory instead of creating new
If stored: false, the content was likely redundant. This is normal — the gate is working.
Step 4: Anchor Critical Memories (Optional)
For memories that must survive context compaction and never decay:
cortex:anchor({
"memory_id": <id>,
"reason": "Critical architecture decision — must persist"
})Anchored memories maintain heat=1.0 permanently and are injected at every session start.
Tips
- Don't over-remember: The predictive coding gate filters noise, but storing 50 trivial memories per session degrades retrieval quality
- Tags matter: Use consistent tags across sessions (e.g.
bug-fix,architecture,user-preference,lesson) for better recall filtering - Force flag: Pass
"force": trueto bypass the novelty gate when you know something is important despite seeming similar to existing memories - Rate memories later: Use
cortex:rate_memorywithuseful: true/falseto train the system's metamemory confidence scoring
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.

