Cortex memory captures learnings across sessions: diary entries, reflections, and rules.
From cortexnpx claudepluginhub jsvitolo/cortex-plugins --plugin cortexThis skill uses the workspace's default tool permissions.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Cortex memory captures learnings across sessions: diary entries, reflections, and rules.
!cx memory stats 2>/dev/null
!cx memory ls -n 5 2>/dev/null
$ARGUMENTS
Capture what was learned in this session:
# Pipe structured context
echo "Task: [what was worked on]
Work Done:
- [item 1]
- [item 2]
Design Decisions:
- [decision 1]
Lessons Learned:
- [learning 1]" | cx memory diary --task CX-N
Find relevant past context:
cx memory search "query"
Analyze patterns across diary entries:
cx memory reflect # Last 7 days
cx memory reflect --since 2024-01-01
Create CLAUDE.md rules from patterns:
cx memory rules
cx memory rules --min-strength strong
cx memory export # Updates CLAUDE.md
cx memory show mem-xxx
Session Work → Diary Entry → Reflection → Rules → CLAUDE.md
cx memory diarycx memory reflect to find patternscx memory rules and cx memory export| Type | Purpose | Command |
|---|---|---|
| diary | Session capture | cx memory diary |
| reflection | Pattern analysis | cx memory reflect |
| rule | CLAUDE.md rules | cx memory rules |
--task CX-N to associate with workcx memory search before asking questions