You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the ability to selectively delete observations, sessions, and prompts by topic, date range, project, or custom criteria.
Problem
Users may need to delete specific data for various reasons:
GDPR/Privacy: Remove data about a specific client or project
Cleanup: Delete outdated or irrelevant observations
Mistakes: Remove accidentally captured sensitive information
Storage: Reduce database size by removing old data
Currently, there's no granular deletion capability.
Proposed Solution
1. CLI Commands
# Delete by topic (semantic search + confirmation)
claude-mem forget --topic "client-xyz authentication"# Delete by date range
claude-mem forget --before "2024-01-01"
claude-mem forget --between "2024-06-01""2024-06-30"# Delete by project
claude-mem forget --project "old-project-name"# Delete by type
claude-mem forget --type "bugfix" --before "2024-01-01"# Dry run (show what would be deleted)
claude-mem forget --topic "passwords" --dry-run
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Add the ability to selectively delete observations, sessions, and prompts by topic, date range, project, or custom criteria.
Problem
Users may need to delete specific data for various reasons:
Currently, there's no granular deletion capability.
Proposed Solution
1. CLI Commands
2. Web Viewer UI
Add "Manage Data" section in settings:
3. MCP Tool
{ "tool": "forget", "params": { "query": "client credentials", "project": "client-xyz", "date_before": "2024-06-01", "dry_run": true } }4. Deletion Workflow
5. Cascade Handling
When deleting observations:
Privacy Features
Use Cases
🤖 Generated with Claude Code
Beta Was this translation helpful? Give feedback.
All reactions