Skip to content
Skill

Document intake routing

Sorts each page of a multi-document intake packet by type before extraction

Document intake routing 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 Document intake routing

This skill guides an agent through splitting a long intake PDF, such as a mailroom bundle, loan file or claim packet, into pages and labelling each one with a document type and a page role. Pages are extracted as text, redacted for common sensitive patterns like SSNs, card numbers, emails and credentials, and sent to a hosted classifier over HTTP. Two passes run over the same pages, one for document type and one for page role, so each label is scored on its own.

The workflow ends in a confidence gate. Pages scoring 0.9 or higher go to the extractor for their type, pages in the middle band are extracted but queued for review or re-run on a stronger model, and low-confidence pages are sent to a person. The skill also explains when not to use the hosted service, such as confidential packets, and suggests substituting a local model that returns calibrated scores.

The skill expects a PDF with a text layer, Python with pdfplumber or pdftotext, and network access to the classifier endpoint. Image-only scans need OCR first.

When your agent uses it

Label each page of an intake packet with a document type and a page role before extraction runs, so only confident pages reach an extractor and the rest reach a person. Use when a mailroom, loan file, claim packet or vendor upload arrives as one long PDF. Triggers on "route these scanned forms", "which form type is each page", "split this intake packet", "sort these scans by form type".

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/document-intake-routing 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/document-intake-routing &&
cp -R "$tmp/skills/document-intake-routing" ~/.claude/skills/document-intake-routing &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/document-intake-routing inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/document-intake-routing 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/document-intake-routing &&
cp -R "$tmp/skills/document-intake-routing" ~/.agents/skills/document-intake-routing &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/document-intake-routing inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/document-intake-routing 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/document-intake-routing &&
cp -R "$tmp/skills/document-intake-routing" ~/.cursor/skills/document-intake-routing &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/document-intake-routing inside it instead.

Cursor docs on skills

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/document-intake-routing

Or copy the folder to ~/.gemini/skills/document-intake-routing yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/document-intake-routing:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mrmps/classifier-dev.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/document-intake-routing &&
cp -R "$tmp/skills/document-intake-routing" ~/.copilot/skills/document-intake-routing &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/document-intake-routing inside it instead.

VS Code docs on skills

Get the folder:

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

Then copy classifier-dev/skills/document-intake-routing into your agent's skills folder as document-intake-routing. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Per-page text extraction
Reads each PDF page's text and drops blank pages before classification.
Sensitive data redaction
Replaces credentials, emails, card numbers, SSNs and long numeric runs before any text leaves the machine.
Two-pass labelling
Classifies document type and page role in separate requests to keep label probabilities clean.
Confidence-based routing
Sends high-confidence pages to extraction and uncertain pages to human review.
Local model alternative
Describes how to replace the hosted classifier with a self-run model when data cannot leave the network.

Good for

  • Split a scanned loan file into its individual forms
  • Identify which form type each page of a claim packet is
  • Sort a vendor upload of mixed invoices and statements
  • Flag pages that need a person to review before extraction

Document intake routing FAQ

What does the skill need to run?

A PDF with a text layer, Python with pdfplumber or pdftotext, and network access to the classifier.dev endpoint. Image-only scans must be OCR'd first.

Does Document intake routing send my documents to a third party?

Only redacted page text is sent to classifier.dev, which the skill notes is still a third-party service. For confidential packets it recommends a local model instead.

Does Document intake routing extract fields from the forms?

No. It only classifies pages by type and role; extraction is a separate step that runs afterward.

How do I install Document intake routing in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/document-intake-routing to use it in all your projects, or to .claude/skills/document-intake-routing in one project.

Does Document intake routing 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 Document intake routing?

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 Document intake routing?

The closest alternatives to Document intake routing are Downloads and inbox sorter, Baidu document parser, Qianfanocr document intelligence, Convert PDF to md and Headline filter map reduce.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from mrmps/classifier-dev

  1. Sorts many texts into your own labels in one call, with a confidence per answer

    • Open source
    • 440 GitHub stars
    • Developer tools
  2. Lets a browser or desktop agent pick its next action from on-screen elements

    • Open source
    • 440 GitHub stars
    • Browser automation
  3. Gates user posts against a written content policy using per-category scores

    • Open source
    • 440 GitHub stars
    • Security
  4. Sorts a downloads folder into invoice, receipt and contract folders with an undo log

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

    • Open source
    • 440 GitHub stars
    • Files and documents