File Organizer

VerifiedCaution

Intelligently organizes files and folders by understanding context, finding duplicates, and suggesting better organizational structures.

Sby Skills Guide Bot
ProductivityBeginner
7/26/2026
Claude CodeCursorCodex
#file-management#cleanup#duplicate-detection#folder-structure#organization

Recommended for

Automated summary

This skill helps reorganize cluttered directories by analyzing their contents, spotting duplicates, and proposing a logical folder structure before applying any moves.

Strengths

  • Audits the current state with concrete shell commands (file types, sizes, distributions)
  • Finds duplicates by md5 hash, filename, and file size
  • Presents a detailed organization plan and asks for confirmation before deleting anything
  • Asks scoping questions about the target directory, exclusions, and how aggressive the cleanup should be

Limitations

  • No undo or rollback procedure is described once files are moved or deleted
  • Duplicate detection is basic: exact hash, name, or size only, with no fuzzy content matching
  • The provided instructions are truncated, leaving the file-move section incomplete
When to use it

Use it when a Downloads or Documents folder has become unmanageable and you want a proposed structure that is applied only after approval.

When not to use it

Avoid it on system directories or sensitive production folders where a wrong move would be hard to reverse.

Security analysis

Caution
Quality score86/100

The skill is not malicious or exfiltrating, and it explicitly requires confirmation before deletion and suggests logging moves. However, it operates directly on user files with shell commands and can move or delete data, so it should be treated as a powerful but legitimate filesystem utility rather than fully safe.

Findings
  • •Instructs the agent to run shell commands (find, du, md5, mkdir, mv) against user-chosen directories, including file moves and duplicate deletion.
  • •Filesystem mutation can cause data loss if approvals are skipped or commands are run against the wrong path.
  • •No allowed-tools are declared, but the skill relies on bash-style execution.
How this analysis is made

Examples

Clean up Downloads
My Downloads folder is a mess — analyze it, find duplicates, and propose a folder structure before moving anything.
Archive old projects
Help me clean up ~/Projects: identify old inactive projects and suggest an Archive structure, showing me the plan first.
Duplicate hunt
Find duplicate files in ~/Documents by hash and tell me which copies to keep, but don't delete anything without my confirmation.

name: file-organizer description: "Intelligently organizes files and folders by understanding context, finding duplicates, and suggesting better organizational structures. Use when user wants to clean up directories, organize downlo..." risk: unknown source: community date_added: "2026-02-27"

File Organizer

When to Use This Skill

  • Your Downloads folder is a chaotic mess
  • You can't find files because they're scattered everywhere
  • You have duplicate files taking up space
  • Your folder structure doesn't make sense anymore
  • You want to establish better organization habits
  • You're starting a new project and need a good structure
  • You're cleaning up before archiving old projects

What This Skill Does

  1. Analyzes Current Structure: Reviews your folders and files to understand what you have
  2. Finds Duplicates: Identifies duplicate files across your system
  3. Suggests Organization: Proposes logical folder structures based on your content
  4. Automates Cleanup: Moves, renames, and organizes files with your approval
  5. Maintains Context: Makes smart decisions based on file types, dates, and content
  6. Reduces Clutter: Identifies old files you probably don't need anymore

Instructions

When a user requests file organization help:

  1. Understand the Scope

    Ask clarifying questions:

    • Which directory needs organization? (Downloads, Documents, entire home folder?)
    • What's the main problem? (Can't find things, duplicates, too messy, no structure?)
    • Any files or folders to avoid? (Current projects, sensitive data?)
    • How aggressively to organize? (Conservative vs. comprehensive cleanup)
  2. Analyze Current State

    Review the target directory:

    # Get overview of current structure
    ls -la [target_directory]
    
    # Check file types and sizes
    find [target_directory] -type f -exec file {} \; | head -20
    
    # Identify largest files
    du -sh [target_directory]/* | sort -rh | head -20
    
    # Count file types
    find [target_directory] -type f | sed 's/.*\.//' | sort | uniq -c | sort -rn
    

    Summarize findings:

    • Total files and folders
    • File type breakdown
    • Size distribution
    • Date ranges
    • Obvious organization issues
  3. Identify Organization Patterns

    Based on the files, determine logical groupings:

    By Type:

    • Documents (PDFs, DOCX, TXT)
    • Images (JPG, PNG, SVG)
    • Videos (MP4, MOV)
    • Archives (ZIP, TAR, DMG)
    • Code/Projects (directories with code)
    • Spreadsheets (XLSX, CSV)
    • Presentations (PPTX, KEY)

    By Purpose:

    • Work vs. Personal
    • Active vs. Archive
    • Project-specific
    • Reference materials
    • Temporary/scratch files

    By Date:

    • Current year/month
    • Previous years
    • Very old (archive candidates)
  4. Find Duplicates

    When requested, search for duplicates:

    # Find exact duplicates by hash
    find [directory] -type f -exec md5 {} \; | sort | uniq -d
    
    # Find files with similar names
    find [directory] -type f -printf '%f\n' | sort | uniq -d
    
    # Find similar-sized files
    find [directory] -type f -printf '%s %p\n' | sort -n
    

    For each set of duplicates:

    • Show all file paths
    • Display sizes and modification dates
    • Recommend which to keep (usually newest or best-named)
    • Important: Always ask for confirmation before deleting
  5. Propose Organization Plan

    Present a clear plan before making changes:

    # Organization Plan for [Directory]
    
    ## Current State
    
    - X files across Y folders
    - [Size] total
    - File types: [breakdown]
    - Issues: [list problems]
    
    ## Proposed Structure
    
    [Directory]/
    ├── Work/
    │ ├── Projects/
    │ ├── Documents/
    │ └── Archive/
    ├── Personal/
    │ ├── Photos/
    │ ├── Documents/
    │ └── Media/
    └── Downloads/
    ├── To-Sort/
    └── Archive/
    
    ## Changes I'll Make
    
    1. **Create new folders**: [list]
    2. **Move files**:
       - X PDFs → Work/Documents/
       - Y images → Personal/Photos/
       - Z old files → Archive/
    3. **Rename files**: [any renaming patterns]
    4. **Delete**: [duplicates or trash files]
    
    ## Files Needing Your Decision
    
    - [List any files you're unsure about]
    
    Ready to proceed? (yes/no/modify)
    
  6. Execute Organization

    After approval, organize systematically:

    # Create folder structure
    mkdir -p "path/to/new/folders"
    
    # Move files with clear logging
    mv "old/path/file.pdf" "new/path/file.pdf"
    
    # Rename files with consistent patterns
    # Example: "YYYY-MM-DD - Description.ext"
    

    Important Rules:

    • Always confirm before deleting anything
    • Log all moves for potential undo
    • Preserve original modification dates
    • Handle filename conflicts gracefully
    • Stop and ask if you encounter unexpected situations
  7. Provide Summary and Maintenance Tips

    After organizing:

    # Organization Complete! ✨
    
    ## What Changed
    
    - Created [X] new folders
    - Organized [Y] files
    - Freed [Z] GB by removing duplicates
    - Archived [W] old files
    
    ## New Structure
    
    [Show the new folder tree]
    
    ## Maintenance Tips
    
    To keep this organized:
    
    1. **Weekly**: Sort new downloads
    2. **Monthly**: Review and archive completed projects
    3. **Quarterly**: Check for new duplicates
    4. **Yearly**: Archive old files
    
    ## Quick Commands for You
    
    # Find files modified this week
    
    find . -type f -mtime -7
    
    # Sort downloads by type
    
    [custom command for their setup]
    
    # Find duplicates
    
    [custom command]
    

    Want to organize another folder?

Best Practices

Folder Naming

  • Use clear, descriptive names
  • Avoid spaces (use hyphens or underscores)
  • Be specific: "client-proposals" not "docs"
  • Use prefixes for ordering: "01-current", "02-archive"

File Naming

  • Include dates: "2024-10-17-meeting-notes.md"
  • Be descriptive: "q3-financial-report.xlsx"
  • Avoid version numbers in names (use version control instead)
  • Remove download artifacts: "document-final-v2 (1).pdf" → "document.pdf"

When to Archive

  • Projects not touched in 6+ months
  • Completed work that might be referenced later
  • Old versions after migration to new systems
  • Files you're hesitant to delete (archive first)

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/file-organizer-ms1aw5rc/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/file-organizer-ms1aw5rc' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/file-organizer-ms1aw5rc/download' --output '.skill-downloads/file-organizer-ms1aw5rc/SKILL.md.part' && mv '.skill-downloads/file-organizer-ms1aw5rc/SKILL.md.part' '.skill-downloads/file-organizer-ms1aw5rc/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/file-organizer-ms1aw5rc/SKILL.md' && test -s '.skill-downloads/file-organizer-ms1aw5rc/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/file-organizer' && cp -R '.skill-downloads/file-organizer-ms1aw5rc' '.claude/skills/file-organizer'

Cursor
test -f '.skill-downloads/file-organizer-ms1aw5rc/SKILL.md' && test -s '.skill-downloads/file-organizer-ms1aw5rc/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/file-organizer' && cp -R '.skill-downloads/file-organizer-ms1aw5rc' '.cursor/skills/file-organizer'

Codex
test -f '.skill-downloads/file-organizer-ms1aw5rc/SKILL.md' && test -s '.skill-downloads/file-organizer-ms1aw5rc/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/file-organizer' && cp -R '.skill-downloads/file-organizer-ms1aw5rc' '.agents/skills/file-organizer'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/file-organizer-ms1aw5rc'

openskills read 'file-organizer-ms1aw5rc'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/file-organizer-ms1aw5rc/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills