file-organizer

File organization and batch operations for workspace management. Use when organizing files for: (1) Moving files to correct directories, (2) Batch renaming (patterns, numbering, dates), (3) Creating directory structures, (4) Organizing by type/extension, (5) Cleaning scattered files, (6) Project scaffolding, or (7) Restructuring project layouts.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "file-organizer" with this command: npx skills add dougchambes/legend-file-organizer

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 <source> <dest> - Single file
  • find . -name "*.ext" -exec mv {} <dest>/ \; - 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:

  1. echo commands first (dry run)
  2. Review output
  3. 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

  1. Never delete without explicit permission (use trash if available)
  2. Dry run first - Always echo/preview batch operations
  3. Check destinations - Confirm target directories exist
  4. Backup before restructure - Snapshot before major moves
  5. 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)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Gigo Lobster Resume

🦞 GIGO · gigo-lobster-resume: 续跑入口:v2 stable 当前会清理旧 checkpoint 并从头重跑;保留此 slug 作为旧 checkpoint 兼容入口。 Triggers: 继续试吃 / 恢复评测 / resume tasting / continue lobster...

Registry SourceRecently Updated
General

YiHui CONTEXT MODE

context-mode is an MCP server that saves 98% of your context window by sandboxing tool outputs. It routes large file reads, shell outputs, and web fetches th...

Registry SourceRecently Updated
General

xinyi-drink

Use when users ask about 新一好喝/新一咖啡 drinks, stores, menu, activities, Skill用户大礼包, today drink recommendations, afternoon tea, feeling sleepy, or personalized...

Registry SourceRecently Updated
General

vedic-destiny

吠陀命盘分析中文入口。用于完整命盘研判、命主盘 Rashi chart 与九分盘 Navamsha chart 联读、既往事件回看、出生时间稳定度判断、事业主题、婚姻主题、时空盘专题,以及基于 Jagannatha Hora PDF、星盘截图或文本命盘数据的系统拆盘。当用户提到完整星盘、事业方向、婚姻问题、关系窗...

Registry SourceRecently Updated