hjertefolger/cortex/cortex-manage

Claude Code and agent skill by hjertefolger/cortex

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Manage memories - search, view, update, delete, rename projects

Install

npx vskill@latest install hjertefolger/cortex/cortex-manage

SKILL.md

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:

  1. First call WITHOUT confirm: true to preview what will be deleted
  2. Show the user the preview (content, project, timestamp)
  3. Ask for explicit confirmation
  4. If confirmed, call with confirm: true to delete
Forget Project Memories

Use cortex_forget_project to delete all memories for a project:

  1. First call WITHOUT confirm: true to get count
  2. Show the user how many memories will be deleted
  3. Ask for explicit confirmation
  4. If confirmed, call with confirm: true to proceed

Important Safety Rules

ALWAYS follow these rules for destructive actions:

  1. Preview First: Always call the delete/forget tool without confirm first
  2. Show Impact: Display exactly what will be affected
  3. Explicit Confirmation: Ask user "Are you sure you want to delete X?"
  4. Never Assume: Don't delete without explicit user approval
  5. Be Clear: State what will be permanently lost

Example Flows

Updating a Memory

User: "Fix the typo in memory 42"

  1. First recall to see the memory:

`` cortex_recall(query: "...") ``

  1. 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"

  1. Search for memories about auth bug:

`` cortex_recall(query: "auth bug fix") ``

  1. Show results and ask which one to delete
  1. Preview the deletion:

`` cortex_delete(memoryId: 123) ``

  1. Show preview to user: "This will delete: 'Fixed auth bug by...' from project X"
  1. Ask: "Are you sure you want to delete this memory?"
  1. If yes:

`` cortex_delete(memoryId: 123, confirm: true) ``

Clearing a Project's Memories

User: "Clear all memories for the old-project"

  1. Preview:

`` cortex_forget_project(projectId: "old-project") ``

  1. Show: "This will delete 45 memories from old-project"
  1. Ask: "This action cannot be undone. Are you sure?"
  1. 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

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
172
Repository forks
13
7-day trend score
26

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 15 Apr 2026, 6 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hjertefolger/cortex/cortex-manage/badge)](https://verified-skill.com/skills/hjertefolger/cortex/cortex-manage)

Something wrong with this skill or its page? Tell us.