memory
SKILL.md
Memory Skill
Use Cortex memory only through MCP tools.
Non-Negotiable Rules
- Never treat memory as files on disk. Do not use file tools or grep for memory data.
- Always set
storeexplicitly on memory/category operations. - Load memory before decisions: list → narrow category → fetch only relevant entries.
- Write atomic memories (one fact/decision per memory), update instead of duplicating.
- Save small temporary trace memories often while working (plan updates, findings, decisions-in-progress) so future sessions can resume quickly.
- Set expiration for temporary context; leave durable knowledge without expiry.
- Refuse or redact secrets/sensitive data before storing memory.
Default Operating Loop
- Discover stores:
cortex_list_stores() - Explore relevant categories:
cortex_list_memories(store: "...", category: "...") - Read only what is needed:
cortex_get_memory(...) - Persist key deltas frequently as small entries:
cortex_add_memory(...)orcortex_update_memory(...) - Add expiry to temporary trace entries and prune as needed
Prompt-to-Workflow Routing Examples
- "Start this task and load relevant memory first" →
references/workflows/session-start.md - "We just ran cortex init for this repo; create initial memories" →
references/workflows/new-project-init.md - "Capture this architectural decision so we remember it" →
references/workflows/capture-knowledge.md - "From this conversation, save my preferences and project rules" →
references/workflows/synthesize-facts.md - "Clean up memory structure; categories are messy and duplicated" →
references/workflows/review-hygiene.md - "Wrap up: expire temporary notes and prune stale entries" →
references/workflows/session-end-cleanup.md
References
- Fundamentals (store choice, hierarchy, naming, loading, expiry, schema):
references/fundamentals.md - MCP operations cheat sheet:
references/operations.md - Workflow index:
references/workflows.md
Weekly Installs
4
Repository
yeseh/cortexFirst Seen
13 days ago
Security Audits
Installed on
cline4
github-copilot4
codex4
kimi-cli4
gemini-cli4
cursor4