Xpersona
D

delete-recovery

CLAWHUB · Unverified

Automatically backs up files before deletion to timestamped folders, allows restoring deleted files, lists backups, and cleans expired backups and logs.

62
Rank
84
Safety
1.6k
Downloads

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

Install and run

Setup complexity: low.

clawhub skill install s176p0fdnm9khs6p3rx9vvyds583j95x:delete-recovery
  1. Install using `clawhub skill install s176p0fdnm9khs6p3rx9vvyds583j95x:delete-recovery` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. 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"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

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.

Sponsored

Ads related to delete-recovery and adjacent AI workflows.