# Downloads and inbox sorter

> Downloads and inbox sorter is an open-source agent skill for files and documents. Sorts a downloads folder into invoice, receipt and contract folders with an undo log. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/mrmps/classifier-dev/tree/main/skills/downloads-and-inbox-sorter
- **Repository:** https://github.com/mrmps/classifier-dev
- **GitHub stars:** 440
- **License:** MIT
- **Skill name:** downloads-and-inbox-sorter
- **Collection:** https://github.com/mrmps/classifier-dev
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents)
- **Listing updated:** 2026-12-04

## About

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".

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/mrmps/classifier-dev/tree/HEAD/skills/downloads-and-inbox-sorter)
- [License: MIT](https://github.com/mrmps/classifier-dev/tree/HEAD/skills/downloads-and-inbox-sorter)

## Features

- **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

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/downloads-and-inbox-sorter` to use it in all your projects:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/downloads-and-inbox-sorter` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/downloads-and-inbox-sorter` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/mrmps/classifier-dev.git --path skills/downloads-and-inbox-sorter
```

Or copy the folder to `~/.gemini/skills/downloads-and-inbox-sorter` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/downloads-and-inbox-sorter`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/mrmps/classifier-dev.git
```

Then 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.

## 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.

## Alternatives

- [Document intake routing](https://ai-powered.com/skills/document-intake-routing): Document intake routing is an open-source agent skill for files and documents.
- [Convert PDF to md](https://ai-powered.com/skills/convert-pdf-to-md): Convert PDF to md is an open-source agent skill for files and documents.
- [Import](https://ai-powered.com/skills/import): Import is an open-source agent skill for files and documents.
- [Medical bill organizer](https://ai-powered.com/skills/medical-bill-organizer): Medical bill organizer is an open-source agent skill for files and documents.
- [PDF tools](https://ai-powered.com/skills/pdf-tools-vulnex): PDF tools is an open-source agent skill for files and documents.
- [Tabular cleanup](https://ai-powered.com/skills/tabular-cleanup): Tabular cleanup is an open-source agent skill for files and documents.
- [Ni book downloader](https://ai-powered.com/skills/ni-book-downloader): Ni book downloader is an open-source agent skill for files and documents.
- [Soia pkm clip drive](https://ai-powered.com/skills/soia-pkm-clip-drive): Soia pkm clip drive is an open-source agent skill for files and documents.

---
Source: https://ai-powered.com/skills/downloads-and-inbox-sorter
