delete-recovery
Automatically backs up files before deletion to timestamped folders, allows restoring deleted files, lists backups, and cleans expired backups and logs.
Rank
62
Safety
84
Downloads
1.6k
Updated
Oct 10, 2026
Version
0.11.1
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.6K downloads reported by the source. Last updated 10/10/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 10, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 10, 2026
- Adoption signal
- 1.6K downloadsadoption · observed Oct 10, 2026
- Latest release
- 0.11.1release · observed May 28, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s176p0fdnm9khs6p3rx9vvyds583j95x:delete-recovery- Install using `clawhub skill install s176p0fdnm9khs6p3rx9vvyds583j95x:delete-recovery` in an isolated environment before connecting it to live workloads.
- No published capability contract is available yet, so validate auth and request/response behavior manually.
- Review the upstream CLAWHUB listing at https://clawhub.ai/cloudcode-hans/delete-recovery before using production credentials.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-cloudcode-hans-delete-recovery/snapshot"
Documentation
CLAWHUB
160,000 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: delete-recovery
description: File deletion recovery skill v0.11.0. Back up files before deletion (to `delete_backup/YYYYMMDDHHMM/`), restore from backup, search via manifest. SHA256 integrity + path-traversal checks + workspace-root confinement. Auto-cleanup 7d/30d. **v0.11.0: new security audit fixes - path traversal detection, dir backup fallback, SHA256 integrity clarification.** **v0.9.0: dest_path validation, dry-run token gate, trigger disambiguation.** **v0.8.1: workspace_cleaner disabled-by-default; backup failures block deletion.** **v0.8.0: Added workspace_cleaner.** **v0.7.0: allowed_roots defaults to workspace root; manifest paths HMAC-encrypted.**
**⚠️ Security trade-offs (know them before deploying):**
- Backups are stored in `{workspace}/.delete_recovery/delete_backup/`, **outside** the skill directory - they survive skill deletion but are not protected by skill folder permissions.
- `allowed_roots` defaults to workspace root (v0.7.0, fixed v0.11.0) - restores confined to `{workspace}` tree; pass `allowed_roots=[]` explicitly to remove confinement (legacy restores only).
- Manifest paths are HMAC-SHA256 encrypted (v0.7.0) - original paths no longer readable in manifest.jsonl; filename/description still in plaintext. SHA256 records are integrity checks only (detect accidental modification); they are NOT cryptographically signed and do not protect against a local attacker who can modify both backup files and their metadata.
- workspace_cleaner is **disabled by default** (v0.8.1) - must opt-in explicitly; first run requires dry-run + token confirm-first-run.
- workspace_cleaner backup failures **block deletion** (v0.8.1) - files are NOT deleted if backup fails.
- No install-time integrity verification - deploy only in trusted environments.
- Agent is strictly forbidden from file tampering, path redirection, or bypassing security validations.
**Use cases (triggers):**
1. User wants to delete a file and needs a backup first
2. User accidentally deleted a file and wants to recover it
3. User wants to see available backups
4. User wants to manually clean up a specific backup
5. User wants to verify backup integrity without restoring
6. User wants to search for a deleted file by name or keyword
7. User wants to schedule automatic workspace cleanup (v0.8.1+: **opt-in only, token-gated**)
**Triggers / keywords (v0.11.0: specific, unambiguous phrases only - broad housekeeping phrases removed):**
- `delete file` / `删除文件` - backup before deletion
- `recover deleted file` / `误删恢复` / `恢复文件` / `undelete` - restore from backup
- `list backups` / `查看备份` - list available backups
- `clean up backup` / `清理备份` - manually clean a specific backup
- `verify backup` / `验证备份完整性` / `check backup integrity` - integrity check without restoring
- `search deleted file` / `搜索已删除文件` / `检索删除记录` - search manifest
- `workspace_cleaner` - explicitly invoke workspace cleaner (not "clean workspace" or "定时清理" alone)
**⚠️ Agent _meta.json
{
"ownerId": "kn76zmreha127n33hcnaknnmd5834x16",
"slug": "delete-recovery",
"version": "0.11.1",
"publishedAt": 1779958219341
}skill-card.md
## Description: Automatically backs up files before deletion, restores deleted files from timestamped backups, searches backup manifests, and cleans expired backups and logs. This skill is ready for commercial/non-commercial use. ## Publisher: [cloudcode-hans](https://clawhub.ai/user/cloudcode-hans) ### License/Terms of Use: MIT-0 ## Use Case: Developers and workspace users use this skill to back up files before deletion, recover accidentally deleted files, verify backup integrity, and manage opt-in cleanup of temporary workspace files. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Deletion and cleanup workflows can cause data loss or out-of-scope deletion if executed without careful review. Mitigation: Review deletion paths before installation and use dry-run, explicit opt-in, and backup verification before allowing cleanup actions. Risk: Backup deletion can remove recovery data when backup folder names are not strictly validated. Mitigation: Restrict delete_backup usage to validated backup folder names and review the selected backup target before removal. Risk: Workspace cleaner fallback backups may not be reliable enough for recovery in the current release. Mitigation: Do not rely on workspace_cleaner fallback backups for recoverability until directory restore and metadata format handling are fixed. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/cloudcode-hans/skills/delete-recovery) - [ClawHub publisher profile](https://clawhub.ai/user/cloudcode-hans) ## Skill Output: **Output Type(s):** [text, markdown, shell commands, configuration, guidance] **Output Format:** [Markdown guidance with inline shell commands and JSON command outputs.] **Output Parameters:** [1D] **Other Properties Related to Output:** [Produces file-operation guidance for backup, restore, verification, manifest search, backup cleanup, and opt-in workspace cleanup workflows.] ## Skill Version(s): 0.11.1 (source: server release metadata; artifact content describes v0.11.0 behavior with no code changes in this release) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/cloudcode-hans/skills/delete-recovery",
"sourceUrl": "https://clawhub.ai/cloudcode-hans/skills/delete-recovery",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T08:14:04.519Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-cloudcode-hans-delete-recovery/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-cloudcode-hans-delete-recovery/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T08:14:04.519Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.6K downloads",
"href": "https://clawhub.ai/cloudcode-hans/delete-recovery",
"sourceUrl": "https://clawhub.ai/cloudcode-hans/delete-recovery",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T08:14:04.519Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "0.11.1",
"href": "https://clawhub.ai/cloudcode-hans/delete-recovery",
"sourceUrl": "https://clawhub.ai/cloudcode-hans/delete-recovery",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-05-28T08:50:19.341Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-cloudcode-hans-delete-recovery/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-cloudcode-hans-delete-recovery/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 0.11.1",
"description": "No code changes in this release. - No files were modified for version 0.11.1. - Behavior and features remain the same as v0.11.0.",
"href": "https://clawhub.ai/cloudcode-hans/delete-recovery",
"sourceUrl": "https://clawhub.ai/cloudcode-hans/delete-recovery",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-05-28T08:50:19.341Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
