agentsclimarketplace

Document organizer

Skill cxcscmu/SkillLearnBench/skills/b4-skill-creator-claude-opus-4-6/organize-messy-files/document-organizer

Organizes mixed document files (PDF, PPTX, DOCX) into subject-based folders by analyzing content. Use this skill when sorting, categorizing, or organizing documents into topic folders.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill document-organizer

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.4 KB, 307 tokens by cl100k_base, as published. Nobody here has run it

Document Organizer

Sorts documents of various formats into predefined subject folders based on content analysis.

Workflow

  1. Inventory all files in the source directory
  2. Extract text from each file format:
    • PDF: use PyPDF2 to extract text from first pages
    • DOCX: use python-docx to read paragraphs
    • PPTX: use python-pptx to read slide text
  3. Classify each file using keyword-based scoring (see pdf-classifier skill)
  4. Move files to target folders using shutil.move()
  5. Verify all files are moved, none left behind

Target Folder Structure

papers/
├── LLM/
├── trapped_ion_and_qc/
├── black_hole/
├── DNA/
└── music_history/

Key Principles

  • Never rename files — preserve original filenames
  • Never modify file content
  • Each file goes to exactly one folder
  • If a file doesn't clearly match any of the first 4 categories, assign it to music_history (the catch-all)
  • Process all file types (PDF, DOCX, PPTX) with format-appropriate text extraction

Python Dependencies

  • PyPDF2 for PDFs
  • python-docx for DOCX files
  • python-pptx for PPTX files
  • All available via pip if not already installed

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.