Workspace Trash

PassAudited by ClawScan on May 10, 2026.

Overview

The skill is a coherent soft-delete tool for OpenClaw files; it uses local file-moving and deletion commands as expected, but users should understand its broad OpenClaw file scope and irreversible trash-emptying action.

This skill appears safe for its stated purpose if you want OpenClaw file deletions to become recoverable trash moves. Review the broad ~/.openclaw scope, do not manually edit the trash manifest, and only empty the trash after checking what will be permanently deleted.

Findings (4)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

Deletion requests for OpenClaw files may be handled by this skill automatically, changing normal rm/delete behavior into a recoverable move-to-trash workflow.

Why it was flagged

The skill intentionally changes the agent's behavior for deletion requests so files are trashed instead of permanently removed.

Skill content
Also use when the agent needs to rm/delete/remove any file — always trash instead of permanently deleting.
Recommendation

Install only if you want this protective behavior, and explicitly request permanent deletion only through the documented trash-emptying flow.

What this means

If the trash is emptied, files in the trash cannot be restored through this skill.

Why it was flagged

The empty action permanently deletes trash contents with rm -rf. This is disclosed and purpose-aligned, but it is irreversible.

Skill content
find "$TRASH_DIR" -mindepth 1 -not -name '.manifest.json' -exec rm -rf {} +
Recommendation

Before running /trash:empty or trash.sh empty, list the trash contents and confirm you no longer need them.

What this means

The skill may fail or behave differently if the required local tools are missing, even though the registry summary does not list them.

Why it was flagged

The registry requirement summary does not declare required binaries, while SKILL.md documents that node and POSIX utilities are needed. This is an installation/preflight clarity issue rather than hidden behavior.

Skill content
Required binaries (all must exist): none
Recommendation

Ensure node, mv, cp, rm, find, awk, date, basename, and dirname are available before relying on the skill.

What this means

If the manifest is modified incorrectly, restore operations may fail or restore files to unexpected locations.

Why it was flagged

Restore behavior depends on the persistent .manifest.json file, including original paths. This is expected for a trash feature, but corrupted or manually edited manifest entries could affect restore destinations.

Skill content
const m = JSON.parse(fs.readFileSync(process.env.TRASH_MANIFEST, "utf8")); ... const entry = m[idx]; ... spawnSync("mv", ["--", trashPath, entry.originalPath]
Recommendation

Do not manually edit .trash/.manifest.json; future hardening could re-validate manifest paths during restore.