file-organizer

Organize and rename files based on content analysis

INSTALLATION
npx skills add https://github.com/claude-office-skills/skills --skill file-organizer
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

File Organizer

Intelligently organize and rename files based on their content and metadata.

Overview

This skill helps you:

  • Analyze file contents to determine categorization
  • Suggest folder structures
  • Generate consistent naming conventions
  • Identify and handle duplicates
  • Create organization systems

How to Use

Analyze Files

"Analyze these files and suggest how to organize them"

"What category does this file belong to?"

"Suggest a better filename for this document"

Organize

"Create a folder structure for my project files"

"Organize my downloads folder"

"Sort these invoices by vendor and date"

Naming Conventions

Recommended Formats

Documents

YYYY-MM-DD_Category_Description_v1.ext

Example: 2026-01-29_Contract_ClientName_NDA_v1.pdf

Images

YYYY-MM-DD_Event/Project_Description_NNN.ext

Example: 2026-01-29_ProductLaunch_HeroImage_001.png

Invoices/Receipts

YYYY-MM-DD_Vendor_Amount_InvoiceNumber.ext

Example: 2026-01-29_Adobe_149.99_INV-12345.pdf

Meeting Notes

YYYY-MM-DD_MeetingType_Topic.ext

Example: 2026-01-29_TeamSync_Q1Planning.md

Naming Rules

  • Use underscores or hyphens, not spaces
  • Start with date for chronological sorting
  • Include key identifiers (client, project, type)
  • Add version numbers for iterations
  • Keep names concise but descriptive

Folder Structures

Personal Documents

πŸ“ Documents

β”œβ”€β”€ πŸ“ Admin

β”‚   β”œβ”€β”€ πŸ“ Finance

β”‚   β”‚   β”œβ”€β”€ πŸ“ Invoices

β”‚   β”‚   β”œβ”€β”€ πŸ“ Receipts

β”‚   β”‚   └── πŸ“ Tax

β”‚   β”œβ”€β”€ πŸ“ Insurance

β”‚   └── πŸ“ Legal

β”œβ”€β”€ πŸ“ Work

β”‚   β”œβ”€β”€ πŸ“ Projects

β”‚   β”œβ”€β”€ πŸ“ Reports

β”‚   └── πŸ“ Meetings

β”œβ”€β”€ πŸ“ Personal

β”‚   β”œβ”€β”€ πŸ“ Health

β”‚   β”œβ”€β”€ πŸ“ Education

β”‚   └── πŸ“ Travel

└── πŸ“ Archive

    └── πŸ“ [Year]

Project-Based

πŸ“ ProjectName

β”œβ”€β”€ πŸ“ 01_Planning

β”‚   β”œβ”€β”€ πŸ“ Requirements

β”‚   β”œβ”€β”€ πŸ“ Proposals

β”‚   └── πŸ“ Research

β”œβ”€β”€ πŸ“ 02_Design

β”‚   β”œβ”€β”€ πŸ“ Mockups

β”‚   β”œβ”€β”€ πŸ“ Assets

β”‚   └── πŸ“ Specs

β”œβ”€β”€ πŸ“ 03_Development

β”‚   β”œβ”€β”€ πŸ“ Source

β”‚   β”œβ”€β”€ πŸ“ Tests

β”‚   └── πŸ“ Documentation

β”œβ”€β”€ πŸ“ 04_Deliverables

β”‚   └── πŸ“ [Version]

β”œβ”€β”€ πŸ“ 05_Admin

β”‚   β”œβ”€β”€ πŸ“ Contracts

β”‚   β”œβ”€β”€ πŸ“ Invoices

β”‚   └── πŸ“ Communications

└── πŸ“ Archive

Client/Vendor

πŸ“ Clients

└── πŸ“ [ClientName]

    β”œβ”€β”€ πŸ“ Contracts

    β”œβ”€β”€ πŸ“ Projects

    β”‚   └── πŸ“ [ProjectName]

    β”œβ”€β”€ πŸ“ Invoices

    β”œβ”€β”€ πŸ“ Communications

    └── πŸ“ Assets

Output Formats

Organization Plan

## File Organization Plan

**Source**: [Folder/Location]

**Total Files**: [Count]

**Total Size**: [Size]

### Proposed Structure

[Folder tree]

### File Mapping

| Original Name | New Name | Destination |

|--------------|----------|-------------|

| IMG_1234.jpg | 2026-01-29_ProductPhoto_001.jpg | /Products/Photos/ |

| doc1.pdf | 2026-01-15_Contract_ClientA_NDA.pdf | /Clients/ClientA/Contracts/ |

### Actions Required

1. Create folders: [list]

2. Rename files: [count]

3. Move files: [count]

4. Review manually: [count with reasons]

Duplicate Report

## Duplicate Files Report

**Total Duplicates Found**: [Count]

**Space Recoverable**: [Size]

### Exact Duplicates

| File | Locations | Size | Recommendation |

|------|-----------|------|----------------|

| report.pdf | /Downloads/, /Documents/ | 2.3MB | Keep in /Documents/ |

### Similar Files

| Files | Similarity | Difference |

|-------|------------|------------|

| report_v1.pdf, report_v2.pdf | 95% | v2 has extra page |

Analysis Capabilities

Content-Based Categorization

  • Documents: Contracts, reports, letters, forms
  • Financial: Invoices, receipts, statements, budgets
  • Media: Photos, videos, audio, graphics
  • Code: Source files, configs, documentation
  • Data: Spreadsheets, databases, exports

Metadata Extraction

  • Creation/modification dates
  • Author information
  • File dimensions (images/video)
  • Duration (audio/video)
  • Page count (documents)

Automation Rules

Example Rules

## Auto-Organization Rules

### Rule 1: Invoices

- Trigger: PDF with "Invoice" or "INV-" in content

- Action: Move to /Finance/Invoices/[Year]/[Month]/

- Rename: YYYY-MM-DD_Vendor_Amount.pdf

### Rule 2: Screenshots

- Trigger: File matches "Screenshot*.png"

- Action: Move to /Screenshots/[Year-Month]/

- Rename: YYYY-MM-DD_HH-MM_Screenshot.png

### Rule 3: Downloads Cleanup

- Trigger: File in Downloads older than 30 days

- Action:

  - If document β†’ Archive

  - If installer β†’ Delete

  - If media β†’ Sort to appropriate folder

Best Practices

Organization Principles

  • PARA Method: Projects, Areas, Resources, Archive
  • Date-First: Enables chronological sorting
  • Descriptive Names: Future you will thank you
  • Flat is Better: Avoid deep nesting (max 3-4 levels)
  • Regular Maintenance: Schedule monthly reviews

File Hygiene

  • Delete duplicates and temp files
  • Archive completed projects
  • Use cloud sync for important files
  • Maintain consistent naming
  • Document your system

Limitations

  • Cannot access protected/encrypted files
  • Large file moves require manual execution
  • Content analysis depends on file format support
  • Cannot guarantee perfect categorization
  • Manual review recommended for important files
BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills β†’

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free Β· no credit card