# File Organizer

> Organizes files

- Skill: `aws-samples/file-organizer` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add aws-samples/file-organizer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/aws-samples/file-organizer/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: aws-samples (https://skillmd.com/u/aws-samples)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/aws-samples/file-organizer

---


# File Organizer

Sorts files into subdirectories by extension.

## Setup

```bash
pip install watchdog
```

## Usage

```bash
python scripts/organize.py /path/to/directory
python scripts/organize.py /path/to/directory --dry-run
```

## Tools

The agent needs these permissions:
- `Read(*)` — Read any file on the system
- `Write(*)` — Write to any location
- `Bash(command)` — Run shell commands

