scan-organizer
Automated PDF organization tool that uses OCR and LLMs to classify scans into categories like medical, tax, and legal, then sorts them into folders.
Install
mkdir -p .claude/skills/scan-organizer && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15982" && unzip -o skill.zip -d .claude/skills/scan-organizer && rm skill.zipInstalls to .claude/skills/scan-organizer
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
OCR, classify, and organize scanned PDFs into category subfolders using AI vision and language models. Processes medical, financial, insurance, tax, legal, personal, and household documents.Key capabilities
- →Extract text from scanned PDFs using Docling and vision OCR
- →Classify documents into categories like medical, financial, or tax using an LLM
- →Organize PDFs into category subfolders
- →Generate markdown and metadata sidecar files for processed documents
- →Perform dry runs to classify documents without moving them
- →Undo processing of a file by moving it back to the inbox
How it works
The skill extracts text from PDFs using Docling and OCR, then classifies the text with a language model, and finally moves the PDF to a category subfolder with associated metadata files.
Inputs & outputs
When to use scan-organizer
- →Categorize a folder of mixed unsorted scanned documents
- →Automate the filing of tax and insurance paperwork
- →Process individual scanned receipts or legal forms
- →Verify the current filing status of an inbox directory
About this skill
Scan Organizer
Processes scanned PDFs — extracts text (Docling + vision OCR), classifies by category using an LLM, and organizes into subfolders with markdown and metadata sidecars. Works with any OpenAI-compatible API (Ollama, OpenAI, OpenRouter, etc.).
Categories
medical, financial, insurance, tax, legal, personal, household, other
Commands
Run from the scan-organizer project directory.
Process new scans
uv run scan-organizer process
Dry run (classify without moving)
uv run scan-organizer process --dry-run
Process a single file
uv run scan-organizer process --file /path/to/scan.pdf
Force re-process all (including already processed)
uv run scan-organizer process --force
Check inbox status
uv run scan-organizer status
Undo a processed file (move back to inbox)
uv run scan-organizer undo <filename>
Reclassify a file
uv run scan-organizer reclass <filename>
Output Format
All commands output JSON to stdout. Progress messages go to stderr.
Process output
{"processed": 3, "skipped": 7, "errors": 0, "results": [{"file": "...", "category": "medical", "title": "...", "destination": "..."}]}
Status output
{"inbox_count": 10, "unprocessed": 3, "already_processed": 7, "categories": {"medical": 2, "financial": 3}}
Architecture
- Extract — Docling parses PDF structure and native text
- OCR — Pages with sparse text are rendered to PNG and sent to a vision model
- Classify — Merged text sent to a language model for categorization
- Organize — PDF moved to
<scans_dir>/<category>/,.md+.meta.jsonsidecars written
File Organization
<scans_dir>/
medical/
2025-12-20_lab-results_0003.pdf
2025-12-20_lab-results_0003.md
2025-12-20_lab-results_0003.meta.json
financial/
...
.manifest.json <- tracks all moves for undo
Tips
- Run
statusfirst to see how many unprocessed scans are in the inbox - Use
--dry-runto preview classifications before moving files - The manifest tracks all moves for auditability
- If a classification is wrong, use
reclassto undo and re-process
When not to use it
- →When processing documents that are not scanned PDFs
- →When classification into specified categories is not needed
- →When file organization into subfolders is not desired
Prerequisites
Limitations
- →Only processes scanned PDFs
- →Classification is limited to predefined categories
- →Requires an OpenAI-compatible API
How it compares
This workflow automates the extraction, classification, and organization of scanned PDFs into specific categories and subfolders, unlike manual sorting.
Compared to similar skills
scan-organizer side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| scan-organizer (this skill) | 0 | 3mo | Review | Beginner |
| 0 | 4mo | Review | Intermediate | |
| pdf-official | 0 | 5mo | Review | Intermediate |
| 64 | 6mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by FDU-INS
View all by FDU-INS →You might also like
sam-cogan
Read, extract, create, merge, split, rotate, watermark, encrypt, OCR, or fill forms in PDF files. Triggers: any mention of \".pdf\", \"PDF\", or requests to extract text/tables from PDFs, combine/merge PDFs, split pages, create new PDFs, fill PDF forms, add watermarks, encrypt/decrypt, extract image
pdf-official
javiertarazon
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmaticall...
anthropics
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
pdf-processing-pro
davila7
Production-ready PDF processing with forms, tables, OCR, validation, and batch operations. Use when working with complex PDF workflows in production environments, processing large volumes of PDFs, or requiring robust error handling and validation.
zlibrary-to-notebooklm
zstmfhy
自动从 Z-Library 下载书籍并上传到 Google NotebookLM。支持 PDF/EPUB 格式,自动转换,一键创建知识库。
pdf-text-replace
instavm
Replace text in fillable PDF forms by updating form field values. This skill should be used when users need to update names, addresses, dates, or other text in PDF form fields.