From claude-rag
Soft-deletes data from Claude RAG database by session ID, project name, or all, with confirmation prompts. Shows deleted items and restoration reminder. Useful for cleaning stored context.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-rag:forgetThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Delete data from the RAG database. Data is soft-deleted and can be restored.
Delete data from the RAG database. Data is soft-deleted and can be restored.
Read the plugin config:
cat ~/.claude/plugins/claude-rag/config.json 2>/dev/null || echo '{"connection":{"endpoint":"https://api.clauderag.io"}}'
Determine scope from "$ARGUMENTS":
Use AskUserQuestion:
Always confirm first with AskUserQuestion:
If confirmed, list all projects and delete each:
curl -s <endpoint>/api/v1/projects
# For each project:
curl -s -X DELETE <endpoint>/api/v1/projects/<id>
curl -s -X DELETE <endpoint>/api/v1/sessions/<id>
curl -s <endpoint>/api/v1/projects
# Find matching project, then:
curl -s -X DELETE <endpoint>/api/v1/projects/<id>
After deletion, show:
/claude-rag:restore"Never hard-delete. Always use the DELETE endpoints which perform soft-delete.
npx claudepluginhub thisisyoyodev/claude-plugins --plugin claude-ragDeletes specific observations or sessions from agentmemory via API after user confirmation. Use for privacy requests like 'forget this', 'delete memory', or targeted data removal.
Permanently deletes all indexed content and session stats from the context-mode knowledge base. Use via /context-mode:ctx-purge for scoped (session) or full (project) wipe.
Selectively and reversibly forget stored memories/concepts by query or date, soft-deactivating them from retrieval without deletion. Useful for privacy or decluttering the kongcode graph.