cortex-manage
Skill173 starsChanged 10 months agoMITView on GitHub
Manage memories - search, view, update, delete, rename projects
In this repository3 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- cortex-configureSkill
- cortex-setupSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 13 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Use cortex_recall to find specific memories:
- Very specific: line 23
Use cortex_update to edit a memory:
- Distinctive: line 24
Update content (will re-generate embedding)
- Very specific: line 35
Use cortex_rename_project to move all memories from one project to another:
- Very specific: line 45
Use cortex_delete to remove a memory fragment:
- Distinctive: line 48
Ask for explicit confirmation
- Very specific: line 49
If confirmed, call with confirm: true to delete
- Very specific: line 53
Use cortex_forget_project to delete all memories for a project:
- Very specific: line 57
If confirmed, call with confirm: true to proceed
- Distinctive: line 63
Preview First: Always call the delete/forget tool without confirm first
- Distinctive: line 65
Explicit Confirmation: Ask user "Are you sure you want to delete X?"
- Distinctive: line 66
Never Assume: Don't delete without explicit user approval
- Distinctive: line 80
Update with corrected content:
- Distinctive: line 105
Search for memories about auth bug:
- Distinctive: line 119
Ask: "Are you sure you want to delete this memory?"
- Distinctive: line 137
Ask: "This action cannot be undone.
- Distinctive: line 146
Never delete without showing what will be deleted
- Distinctive: line 147
Never assume the user wants to delete
- Distinctive: line 148
Never delete multiple memories without listing them first
- Distinctive: line 149
Never forget a project without explicit confirmation
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Memory Management
Help the user manage their Cortex memories.
Capabilities
Search and View Memories
Use cortex_recall to find specific memories:
- Search by content
- Filter by project
- View memory details
Update Memory
Use cortex_update to edit a memory:
- Update content (will re-generate embedding)
- Move to different project
- Both at once
cortex_update(memoryId: 123, content: "corrected content")
cortex_update(memoryId: 123, projectId: "new-project")Rename Project
Use cortex_rename_project to move all memories from one project to another:
- Useful when project directory is renamed
- Bulk operation - moves all memories at once
cortex_rename_project(oldProjectId: "old-name", newProjectId: "new-name")Delete Specific Memory
Use cortex_delete to remove a memory fragment:
- First call WITHOUT
confirm: trueto preview what will be deleted - Show the user the preview (content, project, timestamp)
- Ask for explicit confirmation
- If confirmed, call with
confirm: trueto delete
Forget Project Memories
Use cortex_forget_project to delete all memories for a project:
- First call WITHOUT
confirm: trueto get count - Show the user how many memories will be deleted
- Ask for explicit confirmation
- If confirmed, call with
confirm: trueto proceed
Important Safety Rules
ALWAYS follow these rules for destructive actions:
- Preview First: Always call the delete/forget tool without confirm first
- Show Impact: Display exactly what will be affected
- Explicit Confirmation: Ask user "Are you sure you want to delete X?"
- Never Assume: Don't delete without explicit user approval
- Be Clear: State what will be permanently lost
Example Flows
Updating a Memory
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")
Moving Memory to Different Project
User: "Move memory 42 to project 'cortex'"
cortex_update(memoryId: 42, projectId: "cortex")Renaming a Project
User: "I renamed my project folder from 'old-name' to 'new-name'"
cortex_rename_project(oldProjectId: "old-name", newProjectId: "new-name")Deleting a Specific Memory
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)
Clearing a Project's Memories
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)
What NOT to Do
- Never delete without showing what will be deleted
- Never assume the user wants to delete
- Never delete multiple memories without listing them first
- Never forget a project without explicit confirmation
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.

