Soft Delete
Soft Delete allows you to temporarily hide records without permanently deleting them, preserving data for potential recovery or audits.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add soft-delete npx -- -y @trustedskills/soft-delete
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"soft-delete": {
"command": "npx",
"args": [
"-y",
"@trustedskills/soft-delete"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The soft-delete skill allows you to mark data as deleted without permanently removing it from storage. This involves setting a flag or status on records, effectively hiding them from normal queries while preserving the data for potential recovery or auditing purposes. It provides a safety net against accidental deletions and simplifies data restoration processes.
When to use it
- User account termination: Instead of deleting user profiles, mark them as deleted to retain historical activity data.
- Content removal requests: Handle content takedown requests by soft-deleting the content rather than permanently removing it from the system.
- Data migration errors: If a data migration fails and results in unintended deletions, soft-delete allows for easier recovery of affected records.
- Auditing requirements: Maintain a record of deleted items for compliance or internal auditing purposes.
Key capabilities
- Marks data as deleted without physical removal.
- Preserves data for potential restoration.
- Allows filtering to exclude "deleted" records from standard queries.
- Provides a mechanism for undeleting marked records.
Example prompts
- “Mark user ID 12345 as soft-deleted.”
- “Undelete order number ORD-9876.”
- “Show me all items that are currently soft-deleted.”
Tips & gotchas
The soft-delete skill requires a mechanism for identifying and filtering deleted records, typically through a status flag or similar indicator in the data storage system. Ensure your queries are configured to exclude soft-deleted entries unless specifically requested.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.