workspace-trash
Installation
SKILL.md
Workspace Trash
Never permanently delete workspace files. Always use trash instead of rm.
Dependencies
- Node.js (
node) — required for manifest (JSON) management - POSIX utilities —
mv,cp,rm,find,awk,date,basename,dirname
Configuration
| Variable | Default | Description |
|---|---|---|
OPENCLAW_HOME |
$HOME/.openclaw |
OpenClaw root directory. Only files under this path can be trashed. |
OPENCLAW_WORKSPACE |
$OPENCLAW_HOME/workspace |
Primary workspace directory. Trash lives at $OPENCLAW_WORKSPACE/.trash/. |
These variables are standard OpenClaw environment variables and are typically already set. The script uses safe defaults if unset.