Help us improve
Share bugs, ideas, or general feedback.
From cortex
Manage Cortex memories: search/view/update/delete individuals, rename projects, forget project memories with previews and explicit confirmations.
npx claudepluginhub hjertefolger/cortex --plugin cortexHow this skill is triggered — by the user, by Claude, or both
Slash command
/cortex:cortex-manageThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Help the user manage their Cortex memories.
Audits, classifies, and selectively prunes Claude Code agent memories by type, age, access frequency, staleness, and fidelity using decision trees and audit trails. Use when memory grows large, project state shifts, or retrieval degrades.
Reviews, consolidates, and prunes Claude Code memory files under ~/.claude/projects/*/memory/. Run after major refactors, every 5+ sessions, or when memory quality degrades.
PROACTIVELY query Forgetful MCP (mcp__forgetful__* tools) when starting work on any project, when user references past decisions or patterns, when implementing features that may have been solved before, or when needing context about preferences. Save important decisions, patterns, and architectural insights to memory.
Share bugs, ideas, or general feedback.
Help the user manage their Cortex memories.
Use cortex_recall to find specific memories:
Use cortex_update to edit a memory:
cortex_update(memoryId: 123, content: "corrected content")
cortex_update(memoryId: 123, projectId: "new-project")
Use cortex_rename_project to move all memories from one project to another:
cortex_rename_project(oldProjectId: "old-name", newProjectId: "new-name")
Use cortex_delete to remove a memory fragment:
confirm: true to preview what will be deletedconfirm: true to deleteUse cortex_forget_project to delete all memories for a project:
confirm: true to get countconfirm: true to proceedALWAYS follow these rules for destructive actions:
User: "Fix the typo in memory 42"
First recall to see the memory:
cortex_recall(query: "...")
Update with corrected content:
cortex_update(memoryId: 42, content: "corrected content here")
User: "Move memory 42 to project 'cortex'"
cortex_update(memoryId: 42, projectId: "cortex")
User: "I renamed my project folder from 'old-name' to 'new-name'"
cortex_rename_project(oldProjectId: "old-name", newProjectId: "new-name")
User: "Delete the memory about the auth bug fix"
Search for memories about auth bug:
cortex_recall(query: "auth bug fix")
Show results and ask which one to delete
Preview the deletion:
cortex_delete(memoryId: 123)
Show preview to user: "This will delete: 'Fixed auth bug by...' from project X"
Ask: "Are you sure you want to delete this memory?"
If yes:
cortex_delete(memoryId: 123, confirm: true)
User: "Clear all memories for the old-project"
Preview:
cortex_forget_project(projectId: "old-project")
Show: "This will delete 45 memories from old-project"
Ask: "This action cannot be undone. Are you sure?"
If yes:
cortex_forget_project(projectId: "old-project", confirm: true)