
Downloads and inbox sorter
Sorts a downloads folder into invoice, receipt and contract folders with an undo log
Downloads and inbox sorter is an open-source agent skill for files and documents. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 440
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Downloads and inbox sorter
This skill files a messy downloads or scanned-mail folder by sending each file's name and first 2,000 characters of text to the classifier.dev API. It sorts files into invoice, receipt, contract, identity document, screenshot and installer folders, and leaves anything it cannot place or scores under 0.8 where it is.
The bundled Python script defaults to a dry run that prints what it would do. Passing an apply flag moves the files and appends each move to a hidden log, so an undo flag can restore the previous run. PDF text is extracted with pdftotext when it is installed; otherwise PDFs are judged on filename alone.
It expects Python 3 with no extra packages, an optional poppler install for PDF text, and network access to classifier.dev. Filenames and text excerpts leave the machine, so point it only at folders without keys or credentials.
When your agent uses it
File a downloads or scanned-mail folder by classifying each file from its name plus the first 2,000 characters of text into invoice, receipt, contract, identity document, screenshot, installer or none of these, and moving only the confident ones. Dry run first, an undo log for every move, and anything under 0.8 stays put. Use on "sort my downloads", "file these PDFs", "organise the invoices and receipts".
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (6 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/downloads-and-inbox-sorter to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mrmps/classifier-dev.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/downloads-and-inbox-sorter &&
cp -R "$tmp/skills/downloads-and-inbox-sorter" ~/.claude/skills/downloads-and-inbox-sorter &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/downloads-and-inbox-sorter inside it instead.
Copy the skill folder to ~/.agents/skills/downloads-and-inbox-sorter to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mrmps/classifier-dev.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/downloads-and-inbox-sorter &&
cp -R "$tmp/skills/downloads-and-inbox-sorter" ~/.agents/skills/downloads-and-inbox-sorter &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/downloads-and-inbox-sorter inside it instead.
Copy the skill folder to ~/.cursor/skills/downloads-and-inbox-sorter to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mrmps/classifier-dev.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/downloads-and-inbox-sorter &&
cp -R "$tmp/skills/downloads-and-inbox-sorter" ~/.cursor/skills/downloads-and-inbox-sorter &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/downloads-and-inbox-sorter inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/mrmps/classifier-dev.git --path skills/downloads-and-inbox-sorterOr copy the folder to ~/.gemini/skills/downloads-and-inbox-sorter yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/downloads-and-inbox-sorter:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mrmps/classifier-dev.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/downloads-and-inbox-sorter &&
cp -R "$tmp/skills/downloads-and-inbox-sorter" ~/.copilot/skills/downloads-and-inbox-sorter &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/downloads-and-inbox-sorter inside it instead.
Get the folder:
git clone --depth 1 https://github.com/mrmps/classifier-dev.gitThen copy classifier-dev/skills/downloads-and-inbox-sorter into your agent's skills folder as downloads-and-inbox-sorter. Agents that support SKILL.md read one folder per skill.
What it does
- Dry run by default
- Shows the planned moves with confidence scores before any file is touched.
- Reversible moves
- Every move is logged so the last run can be undone with one flag.
- Confidence threshold
- Files scoring under 0.8 or labelled none of these stay where they are.
- PDF text extraction
- Uses pdftotext on the first page of PDFs when poppler is installed.
- Binary file guard
- Skips text extraction for files whose bytes are mostly non-printable.
Good for
- Sort my downloads folder into invoices, receipts and contracts
- File these scanned PDFs by document type
- Organise the invoices and receipts from this month
- Move old installers out of Downloads
Downloads and inbox sorter FAQ
What does the skill need to run?
Python 3 with no dependencies, network access to classifier.dev, and optionally poppler's pdftotext for PDF text.
Does Downloads and inbox sorter move files without asking?
No. It runs as a dry run by default and only moves files when the apply flag is passed.
Can I undo a sort?
Yes. Each move is appended to a log file, and the undo flag puts the files back from the last run.
What gets sent to the service?
The filename and up to 2,000 characters of each file, including the first page of scanned identity documents if that label is kept.
How do I install Downloads and inbox sorter in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/downloads-and-inbox-sorter to use it in all your projects, or to .claude/skills/downloads-and-inbox-sorter in one project.
Does Downloads and inbox sorter run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Downloads and inbox sorter?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Downloads and inbox sorter?
The closest alternatives to Downloads and inbox sorter are Document intake routing, Convert PDF to md, Import, Medical bill organizer and PDF tools.
Where this comes from
- Description: from the skill's own SKILL.md.
More from mrmps/classifier-dev

Sorts many texts into your own labels in one call, with a confidence per answer
- Open source
- 440 GitHub stars
- Developer tools

Trims a long agent session by keeping, dropping or pointing to each context chunk
- Open source
- 440 GitHub stars
- Developer tools

Lets a browser or desktop agent pick its next action from on-screen elements
- Open source
- 440 GitHub stars
- Browser automation

Gates user posts against a written content policy using per-category scores
- Open source
- 440 GitHub stars
- Security

Sorts each page of a multi-document intake packet by type before extraction
- Open source
- 440 GitHub stars
- Files and documents

Pre-filters long headline and feed lists against a written brief before reading
- Open source
- 440 GitHub stars
- Files and documents






