File Organizer — 文件整理工具
v1.0.0文件整理 and 批量操作 for 工作区管理. Use when organizing files for: (1) Moving files to correct directories, (2) Batch renaming (...
0· 216·1 当前·1 累计
安全扫描
OpenClaw
安全
high confidenceThe skill is an instruction-only file-organization helper whose requirements and instructions align with its stated purpose; it contains potentially destructive shell recipes but includes safety guidance and requests no credentials or installs.
评估建议
This skill is coherent and appears safe in intent, but it is instruction-only: if you let an agent execute these commands they will run shell utilities on your files. Before installing or running, (1) ensure you have backups (tar or git snapshot), (2) test on a small sample or a disposable directory, (3) run dry-runs (echo/find) and inspect outputs, (4) confirm you are in the intended working directory (the docs recommend limiting to ~/openclaw), and (5) be cautious with commands that delete or ...详细分析 ▾
ℹ 用途与能力
The name/description (file organization and batch ops) matches the included instructions and templates. The SKILL.md assumes standard POSIX utilities (mv, find, xargs, mkdir, tar, git, stat, date) but the skill metadata does not declare required binaries — this is not necessarily malicious but users should be aware the skill expects a Unix-like shell environment.
ℹ 指令范围
Instructions stay within the file-organization domain (moving, renaming, scaffolding). Many commands are destructive (e.g., find . -type f -exec mv {} . \;, find . -type f -empty -delete, batch mv operations) and the docs correctly recommend dry runs, backups, and respecting workspace boundaries. No instructions reference unrelated files, external endpoints, or hidden data exfiltration. Because the skill is instruction-only, the agent following it could execute these shell commands — the risk is operational (data loss) rather than covert exfiltration.
✓ 安装机制
No install spec or code files are present. As an instruction-only skill it writes nothing to disk and does not download external code, which minimizes supply-chain risk.
✓ 凭证需求
The skill requests no environment variables, credentials, or config paths. That is proportionate to its stated purpose.
✓ 持久化与权限
always is false and the skill does not request elevated persistence or modify other skills or system-wide agent settings.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.02026/3/21
Initial release of File Organizer for workspace management. - Provides tools for moving, renaming, and organizing files in batches. - Supports project scaffolding with standard directory structures. - Enables file grouping by type, extension, and date. - Enforces safety through dry runs and explicit confirmations before actions. - Includes best practices for backups, workspace boundaries, and handling edge cases. - References/patterns.md available for complex renaming and advanced usage.
● 无害
安装命令 点击复制
官方npx clawhub@latest install legend-file-organizer
镜像加速npx clawhub@latest install legend-file-organizer --registry https://cn.clawhub-mirror.com
技能文档
Manages file organization through safe, predictable batch operations.
Core Workflows
Directory Structure
Create standard project layouts:project/
├── src/ - Source code
├── docs/ - Documentation
├── tests/ - Test files
├── assets/ - Images, fonts, media
├── scripts/ - Build scripts, utilities
└── config/ - Configuration files
Moving Files
mv- Single file查找 . -name ".ext" -exec mv {}- Batch 由 扩展/ \; - Always confirm destination exists
Batch Renaming
Patterns:- Sequential numbering:
file_{001..100}.txt - 日期-based:
YYYY-MM-DD_description - 类型-based: 分组 由 扩展
Safe approach:
echocommands 第一个 (dry run)- Review 输出
- 移除
echo, execute
Organizing 由 类型
Group files by extension into folders:mkdir -p images docs code
find . -name ".png" -o -name ".jpg" | xargs -I {} mv {} images/
find . -name ".md" -o -name ".txt" | xargs -I {} mv {} docs/
find . -name ".py" -o -name ".js" | xargs -I {} mv {} code/
Finding Scattered Files
find . -type f -name ".ext" # Find by extension
find . -type f -mtime -7 # Modified in last 7 days
find . -type f -size +100M # Large files
Dry Runs 第一个
Always preview batch operations:echo "Would move these files:"
find . -name "*.ext"
# Review, then execute
Safety Rules
- Never 删除 没有 explicit 权限 (使用
trash如果 可用) - Dry run 第一个 - Always echo/预览 batch operations
- Check destinations - Confirm target directories exist
- 备份 之前 restructure - Snapshot 之前 major moves
- Respect workspace boundaries - 仅 touch ~/openclaw
当...时 到 读取 references/patterns.md
Load when:
- Complex 重命名 patterns needed
- Project structure templates 必填
- Advanced 查找 commands 对于 filtering
- Edge cases (symlinks, special characters)
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制