← 返回 Skills 市场
518
总下载
0
收藏
1
当前安装
6
版本数
在 OpenClaw 中安装
/install trash-cli
功能描述
Use trash-cli to safely delete files by moving them to the system trash instead of permanently removing them. This prevents accidental data loss and allows f...
安全使用建议
This skill is a documentation/integration wrapper for the existing trash-cli tool and appears coherent. Before installing or following its commands: 1) prefer installing from your distro's package manager or the official GitHub release; 2) review any sudo commands (creating /.Trash and changing its permissions) because they modify root-owned paths and can affect system security; 3) be cautious about following instructions that list other users' trash (--all-users) if you care about privacy; 4) think twice before aliasing rm to anything — it can change your workflow and break scripts; and 5) if you allow the agent to run commands autonomously, restrict or require confirmation for any commands that alter filesystem permissions or run with sudo.
功能分析
Type: OpenClaw Skill
Name: trash-cli
Version: 1.0.5
The OpenClaw AgentSkills bundle for 'trash-cli' is benign. The skill's purpose is to provide a safe file deletion utility, and all instructions and code examples in SKILL.md are directly related to installing and using this tool. There is no evidence of data exfiltration, unauthorized execution, persistence mechanisms, or prompt injection attempts against the AI agent. The administrative `sudo` commands for creating a top-level `.Trash` directory are clearly explained as an optional setup for specific partitions, not as a hidden or automatically executed malicious instruction.
能力评估
Purpose & Capability
Name, description, required binaries, and install methods (brew/pip/apt/pacman/dnf) match the documented trash-cli tool. The skill does not request unrelated credentials or unusual binaries.
Instruction Scope
SKILL.md stays on-topic (how to use trash-put, trash-list, trash-restore, trash-empty, trash-rm). It does include instructions that modify system state: creating a top-level /.Trash with sudo and broad permissions, using trash-list --all-users (which surfaces other users' trash), and recommending shell rc edits/aliases. These are expected for a trash utility but are actions with real side effects that deserve user review.
Install Mechanism
Install options are standard package managers (brew, pip, apt, pacman, dnf). The registry metadata also lists a brew formula; these are proportionate to installing trash-cli.
Credentials
No environment variables, credentials, or config paths are requested. The skill does not attempt to access unrelated secrets or system configuration.
Persistence & Privilege
The skill is not always-enabled and requests no special platform privileges. However, its instructions explicitly advise editing shell rc files (aliases) and running sudo commands; installing or following those instructions will change user/system state. If you allow autonomous agent actions, those steps could be executed — consider limiting automation or requiring explicit confirmation.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install trash-cli - 安装完成后,直接呼叫该 Skill 的名称或使用
/trash-cli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
* Enhanced metadata format* Removed homepage (not directly related to this project)
v1.0.4
* Enhanced metadata format * Removed homepage (not directly related to this project)
v1.0.3
- Updated version to 1.0.3 in documentation.
- Removed the "Auto-delete files older than 30 days" FAQ and crontab example.
- No changes to commands, usage, or installation instructions.
- Content otherwise unchanged.
v1.0.2
Fix FreeDesktop.org Trash Spec link to correct URL (trash/latest/)
v1.0.1
Fix FreeDesktop.org Trash Spec link (was 404, now correct .xhtml)
v1.0.0
Initial release of trash-cli skill.
- Safely deletes files by moving them to the system trash instead of permanently removing.
- Offers commands to trash, list, restore, and permanently delete files.
- Provides aliases, tips, and safety recommendations for replacing rm.
- Includes installation instructions for multiple package managers.
- Documents limitations and usage notes for supported filesystems.
元数据
常见问题
Trash Cli 是什么?
Use trash-cli to safely delete files by moving them to the system trash instead of permanently removing them. This prevents accidental data loss and allows f... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 518 次。
如何安装 Trash Cli?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install trash-cli」即可一键安装,无需额外配置。
Trash Cli 是免费的吗?
是的,Trash Cli 完全免费(开源免费),可自由下载、安装和使用。
Trash Cli 支持哪些平台?
Trash Cli 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Trash Cli?
由 XLion(@xlionjuan)开发并维护,当前版本 v1.0.5。
推荐 Skills