Loading...
Loading...
Document Intelligent Organizer - Batch convert office documents to Markdown, generate summaries with local models, and classify with three-dimensional soft links
npx skill4agent add crazynomad/skills doc-mindmap| Format | Extension | Description |
|---|---|---|
| PDF document | ||
| 📊 PPT | .pptx | PowerPoint presentation |
| 📝 Word | .docx | Word document |
| 📈 Excel | .xlsx, .xls | Spreadsheet |
| 📈 CSV | .csv | Comma-separated values |
| 🌐 HTML | .html, .htm | Web page |
| 📚 EPUB | .epub | E-book |
| 📋 JSON | .json | JSON data |
| 📋 XML | .xml | XML data |
python scripts/doc_converter.py ~/Documents/reports --previewpython scripts/doc_converter.py ~/Documents/reports --convert --confirmpython scripts/doc_converter.py file1.pdf file2.pptx --convert --confirmpython scripts/doc_converter.py ~/Documents/reports --summarize
python scripts/doc_converter.py ~/Documents/reports --summarize --model qwen3:8bpython scripts/doc_converter.py ~/Documents/reports --organizepython scripts/doc_converter.py ~/Documents/reports --organize --renamepython scripts/doc_converter.py ~/Documents/reports --convert --confirm --summarize --organize
# With optimized filenames
python scripts/doc_converter.py ~/Documents/reports --convert --confirm --summarize --organize --renamepython scripts/doc_converter.py ~/Documents --preview --json| Argument | Description |
|---|---|
| File or directory path (supports multiple) |
| Preview mode, list documents + duplicate detection |
| Execute batch conversion (automatically skip duplicate files) |
| Generate summaries using Ollama local models (requires --convert first) |
| Three-dimensional classification and generate symlink directories (requires --summarize first) |
| Soft links use AI-suggested optimized filenames (works with --organize) |
| Ollama model name (default: qwen2.5:3b) |
| Confirm execution (security mechanism) |
| Output in JSON format |
.summaries/{source}/
└── .summaries/
├── converted/ # .md files converted by markitdown
│ ├── report.pdf.md
│ ├── slides.pptx.md
│ └── data.xlsx.md
├── briefs/ # Summaries generated by Ollama
│ ├── report.pdf.brief.md
│ ├── slides.pptx.brief.md
│ └── data.xlsx.brief.md
├── schemes/ # Symlink classification directories
│ ├── by-topic/ # Classified by topic
│ │ ├── AI Technology/
│ │ │ └── AI-Driven Product Management Guide.pptx -> ../../../../slides.pptx # --rename
│ │ └── Data Governance/
│ │ └── C-End Data Governance Plan.pdf -> ../../../../report.pdf # --rename
│ ├── by-usage/ # Classified by usage
│ │ ├── Training Materials/
│ │ └── Client Delivery Solutions/
│ └── by-client/ # Classified by client
│ ├── Volvo/
│ └── General Solutions/
├── mindmap.md # Mindmap classification generated by Claude
└── index.csv # Conversion index (includes MD5, duplicate markers)pip install 'markitdown[all]'brew install ollamaollama pull qwen2.5:3bpip install requestspython doc-mindmap/scripts/doc_converter.py <path> --previewpython doc-mindmap/scripts/doc_converter.py <path> --convert --confirmpython doc-mindmap/scripts/doc_converter.py <path> --summarizepython doc-mindmap/scripts/doc_converter.py <path> --convert --confirm --summarize# First run without --rename to show classification results and suggested filenames
python doc-mindmap/scripts/doc_converter.py <path> --organizepython doc-mindmap/scripts/doc_converter.py <path> --organize --rename.summaries/schemes/--renamecp -a <.summaries/schemes> ~/Desktop/Document-Classification-$(date +%Y%m%d)open ~/Desktop/Document-Classification-$(date +%Y%m%d).summaries/briefs/.summaries/mindmap.md