name: file-cleaner description: A specialized skill for safely cleaning up temporary files and directories. Use this when you need to remove temp files, clear caches, or delete logs to free up space or maintain hygiene. Restricted to 'temp/', 'logs/', and 'cache/' directories for safety.
7w4.net提供免费和付费技能下载。
Safely removes files and directories. Built with strict safety checks to prevent accidental deletion of critical workspace files.
node skills/file-cleaner/index.js <path>
Clean a specific temp directory:
node skills/file-cleaner/index.js temp/my-experiment
Clean a log file:
node skills/file-cleaner/index.js logs/debug.log
temp/, logs/, or cache/.skills/, or other protected paths.这个 Skill 质量还不错,核心功能安全可靠。能有效防止误删重要文件,文档说明清楚,错误提示友好。主要不足是缺乏测试覆盖,可能存在未发现的边界情况隐患。对于普通用户来说,这个工具简单易用,能安全清理临时文件,但使用前建议先确认要删除的文件路径是否正确。