Soft-delete data from the RAG database — by session, project, or all. Data can be restored later.
From claude-ragnpx claudepluginhub thisisyoyodev/claude-plugins --plugin claude-ragThis skill is limited to using the following tools:
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
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.