Install
$ agentstack add skill-cdeust-cortex-cortex-remember ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
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.geteventloop() 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": "",
"tags": ["", "", ""],
"directory": "",
"source": ""
})
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": ,
"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
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: cdeust
- Source: cdeust/Cortex
- License: MIT
- Homepage: https://ai-architect.tools
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.