← 返回 Skills 市场
File Organizer
作者
dougchambers
· GitHub ↗
· v1.0.0
· MIT-0
349
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install legend-file-organizer
功能描述
File organization and batch operations for workspace management. Use when organizing files for: (1) Moving files to correct directories, (2) Batch renaming (...
使用说明 (SKILL.md)
File Organizer
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 \x3Csource> \x3Cdest>- Single filefind . -name "*.ext" -exec mv {} \x3Cdest>/ \;- Batch by extension- Always confirm destination exists
Batch Renaming
Patterns:
- Sequential numbering:
file_{001..100}.txt - Date-based:
YYYY-MM-DD_description - Type-based: Group by extension
Safe approach:
echocommands first (dry run)- Review output
- Remove
echo, execute
Organizing by Type
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 First
Always preview batch operations:
echo "Would move these files:"
find . -name "*.ext"
# Review, then execute
Safety Rules
- Never delete without explicit permission (use
trashif available) - Dry run first - Always echo/preview batch operations
- Check destinations - Confirm target directories exist
- Backup before restructure - Snapshot before major moves
- Respect workspace boundaries - Only touch ~/openclaw
When to Read references/patterns.md
Load when:
- Complex rename patterns needed
- Project structure templates required
- Advanced find commands for filtering
- Edge cases (symlinks, special characters)
安全使用建议
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 flatten directories (find ... -exec mv ... and -delete). Also note these recipes assume a Unix-like shell; adapt or avoid them on Windows. If you want stronger safety, require the agent to provide proposed commands for manual review rather than allowing automatic execution.
功能分析
Type: OpenClaw Skill
Name: legend-file-organizer
Version: 1.0.0
The skill bundle provides a collection of standard shell command patterns for file organization, batch renaming, and project scaffolding. It includes explicit safety guidelines for the AI agent, such as performing dry runs, requesting permission before deletion, and respecting workspace boundaries (~/openclaw). No indicators of malicious intent, data exfiltration, or unauthorized execution were found in SKILL.md or references/patterns.md.
能力评估
Purpose & Capability
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.
Instruction Scope
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.
Install Mechanism
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.
Credentials
The skill requests no environment variables, credentials, or config paths. That is proportionate to its stated purpose.
Persistence & Privilege
always is false and the skill does not request elevated persistence or modify other skills or system-wide agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install legend-file-organizer - 安装完成后,直接呼叫该 Skill 的名称或使用
/legend-file-organizer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
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.
元数据
常见问题
File Organizer 是什么?
File organization and batch operations for workspace management. Use when organizing files for: (1) Moving files to correct directories, (2) Batch renaming (... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 349 次。
如何安装 File Organizer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install legend-file-organizer」即可一键安装,无需额外配置。
File Organizer 是免费的吗?
是的,File Organizer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
File Organizer 支持哪些平台?
File Organizer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 File Organizer?
由 dougchambers(@dougchambes)开发并维护,当前版本 v1.0.0。
推荐 Skills