- Home
- Skills
- Workflow Automation
- auto-sort
More screenshots
Works with the AI Agents you already use
Auto Sort
by snepssen
A content-aware file organizer that identifies, sorts, and de-duplicates files with a transactional undo ledger.
Free
auto-sort
Example session with this skill installed
My Downloads folder is a mess. Show me what's in it and where you'd put everything, but don't move anything yet.
- Read your context and instructions
- Compiled the auto-sort
What's in ~/Downloads
7 items, all identified with confidence (none are bundles):
| Kind | Count | Notes |
|---|---|---|
| image | 2 | both look like camera photos; one is buried in New Folder/New Folder/ |
| document | 2 | a spreadsheet and a PDF invoice |
| video | 1 | recognised as a screen recording |
| archive | 1 | a zip of fonts |
| audio | 1 | a voice memo |
Planned moves (preview, nothing has moved)
DRY RUN run 1 ~/Downloads
move ~/Downloads/IMG_4127.jpg
-> ~/Pictures/Loose/JPEG/IMG_4127.jpg [loose images]
move ~/Downloads/Screen Recording 2026-11-18.mov
-> ~/Movies/Recordings/2026-11/Screen Recording 2026-11-18.mov [screen recordings]
move ~/Downloads/budget-2026.csv
-> ~/Documents/CSV/budget-2026.csv [documents]
move ~/Downloads/fonts.zip
-> ~/Documents/Archives/2026-11/fonts.zip [remaining archives]
move ~/Downloads/invoice-1043.pdf
-> ~/Documents/PDF/invoice-1043.pdf [documents]
move ~/Downloads/voice-memo.m4a
-> ~/Music/Samples/misc/voice-memo.m4a [sample packs]
move ~/Downloads/New Folder/New Folder/IMG_4128.jpg
-> ~/Pictures/Loose/JPEG/IMG_4128.jpg [loose images]
7 items planned, 0 skipped
Every move is written to a ledger first, is checked by content hash, never overwrites, and can be undone with undo last. After the move, the empty New Folder/New Folder is cleared away.
One to look at: the voice memo is only 2 seconds long. The starter rules file any audio under 5 seconds as a sample (kind = audio and duration < 5s), so it would go to Music/Samples instead of Music/Voice. If it's a real memo, I can run explain on it to confirm and adjust the rule before sorting.
Next steps
- Say "apply it" and I'll run the same sort with
--apply, then show what moved. - Or say "fix the voice memo first" and I'll adjust the rules, check them with
check-rules, and preview again. - If you change your mind later,
undo lastputs every file back where it was.
Connects securely to your tools. The creator never sees your data.
About this skill
Managing a cluttered Downloads folder or a disorganized backup drive usually involves manual drag-and-drop or fragile shell scripts based on file extensions. This skill gives your agent auto-sort, an open-source tool that organizes files based on their actual contents, headers, and metadata.
The skill itself is just instructions. When a task needs the tool, your agent fetches the pinned v0.9.1 release from GitHub, checks it against a fixed commit hash or SHA-256, and runs it locally.
What it does
- Content identification reads file signatures, EXIF data, and PDF text to determine file type regardless of extension.
- Rule-based sorting moves files into a structured hierarchy defined by a customizable configuration file.
- Safety-first execution records every move in a SQLite ledger, avoids overwriting files, and verifies content hashes.
- Duplicate detection identifies byte-identical copies and offers to move spares to the system Trash.
- One-command undo restores files to their original locations after verifying they have not been modified.
How it works
- Fetch. The agent downloads the pinned release into a temporary folder and verifies it.
- Scanning. It runs
scanto list folder contents, orexplainfor a deep dive into one file's metadata and origin. - Configuration.
initwrites a starter rules file;proposesuggests rules fitted to the folder. - Dry run. Every sort starts with a
--dry-runpreview of the planned moves. - Execution. The plan is applied with
--applyonly after you approve it, and can be undone withundo last.
Frameworks & tools
auto-sort is built with Python 3.8+ using only the standard library. It uses tesseract for OCR, ffprobe for media metadata, and exiftool for RAW camera formats when they are installed.
Why this beats prompting it yourself
Prompting an LLM to organize files often results in generic scripts that fail on varied file types or risk data loss via overwrites. This skill provides a transactional ledger and content-aware identification that generic code generation lacks.
Use cases
- Clean up a bloated Downloads folder into sorted categories.
- Consolidate old backups while clearing exact duplicates.
- File scanned letters, statements and bills by what the documents say they are.
- Recover from a sorting mistake with the built-in undo.
Known limitations
Needs a one-time download from GitHub when first used in a session. Moves files only after a preview you approve; it is not a backup tool. Without the optional programs, scanned pages and unusual camera or media formats are identified by file type only, and the tool says so. Duplicate detection ignores files under 4 KB. The skill does not set up auto-sort's background service; use the project's own installer for that.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 12 days ago
- Free with an Agensi account
- Accounts
GitHub
- Software
Python 3.8+
Gitcurl
- Optional
- tesseract (OCR, not needed on macOS)ffprobeexiftool
Runs on macOS, Linux and Windows. The skill fetches the open-source auto-sort v0.9.1 release from GitHub only when a task needs it, verifies it, and runs it locally.
Permissions
Allowed Hosts
Network: one download of the pinned auto-sort v0.9.1 release from github.com (git clone or release tarball), verified against a fixed commit hash or SHA-256 before anything runs. Nothing else contacts the internet. Terminal: runs that release's Python CLI. Read files: the folders you ask it to scan or sort. Write files: a temporary copy of the tool, removed afterwards; file moves happen only after you approve a preview; rules and the move ledger stay in the platform's own config and state folders. Duplicate clean-up moves spares to the system Trash, never deletes. Environment variables: only the standard config and state folder locations. No API keys.
What's inside
Frequently Asked Questions
New in Workflow Automation
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.