extracting-resumes
Skill8 starsChanged 12 months agoMITView on GitHub
Extracts PDF/DOCX resumes to structured YAML format. Use when the user has a resume file to convert, mentions importing an existing resume, or starts a resume workflow with a document.
In this repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- coaching-resume-contentSkill
- generating-cover-lettersSkill
- formatting-resumesSkill
- optimizing-resumesSkill
- reviewing-resumesSkill
- managing-resume-versionsSkill
- creating-resume-templatesSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 13 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Run the PDF extraction script to extract all text content:
- Distinctive: line 32
Run the DOCX extraction script:
- Distinctive: line 46
After extracting text, parse it into structured YAML format following the resume schema.
- Distinctive: line 50
Read the extracted text carefully
- Distinctive: line 54
Use consistent formatting for dates, bullet points, and sections
- Distinctive: line 67
After creating the initial YAML:
- Distinctive: line 69
Verify all sections from the original resume are captured
- Distinctive: line 70
Check that contact information is complete and accurate
- Distinctive: line 71
Ensure dates are in consistent format
- Distinctive: line 104
If critical information is missing, read the original PDF/DOCX directly
- Distinctive: line 111
Use "Present" for current positions
- Distinctive: line 115
After extracting resume to YAML:
- Distinctive: line 117
Edit and refine: Use a text editor to make manual corrections to the YAML
- Very specific: line 118
Optimize content: Use the optimizing-resumes skill to improve bullets, add metrics, and tailor for specific roles
- Very specific: line 119
Format for output: Use the formatting-resumes skill to convert YAML to professionally formatted PDF
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Resume Extractor
Overview
Extract resume content from PDF or DOCX files and convert to structured YAML format for easy editing and manipulation. This skill provides the foundation for resume optimization and formatting workflows.
Workflow
1. Extract Text from Resume
For PDF resumes:
Run the PDF extraction script to extract all text content:
uv run scripts/extract_pdf.py resume.pdfSave extracted text to a file for further processing:
uv run scripts/extract_pdf.py resume.pdf --output extracted_text.txtFor DOCX resumes:
Run the DOCX extraction script:
uv run scripts/extract_docx.py resume.docxSave extracted text:
uv run scripts/extract_docx.py resume.docx --output extracted_text.txt2. Parse Extracted Text to YAML
After extracting text, parse it into structured YAML format following the resume schema. This step requires LLM assistance to understand the structure and map content to the appropriate YAML fields.
Parsing instructions:
- Read the extracted text carefully
- Identify major sections (contact, summary, experience, education, skills, etc.)
- Map content to the YAML schema defined in
references/resume_schema.yaml - Preserve all important information while organizing it logically
- Use consistent formatting for dates, bullet points, and sections
- Include metrics and quantifiable achievements exactly as written
Schema reference:
See references/resume_schema.yaml for the complete YAML structure including:
- Required: contact. Recommended: summary, experience, skills, education
- Optional fields (certifications, projects, publications, awards, languages, volunteer)
- Formatting guidelines and examples
- Best practices for YAML syntax
3. Validate and Refine
After creating the initial YAML:
- Verify all sections from the original resume are captured
- Check that contact information is complete and accurate
- Ensure dates are in consistent format
- Confirm achievement bullets start with action verbs
- Validate YAML syntax (proper indentation, quotes, structure)
Common validation checks:
- Are company names, titles, and dates accurate?
- Are all technical skills captured in appropriate categories?
- Is the professional summary complete?
- Are there any missing sections from the original?
- Does the YAML parse without syntax errors?
4. Save YAML Resume
Save the parsed YAML to a file with a descriptive name:
# Example filename: firstname_lastname_resume.yamlTips for Quality Extraction
Handling complex layouts:
- PDF resumes with multi-column layouts may extract text in unexpected order
- Review extracted text carefully and reorganize during YAML parsing
- Tables in PDFs may require manual reconstruction
Preserving formatting:
- Bold, italic, and other formatting is lost during text extraction
- Focus on capturing content structure rather than visual styling
- Formatting will be reapplied during the Typst generation step
Dealing with incomplete extraction:
- If critical information is missing, read the original PDF/DOCX directly
- Some PDFs use images for text (not extractable) - may need manual entry
- Scanned PDFs require OCR preprocessing
Date format normalization:
- Original resumes may use inconsistent date formats
- Standardize to one format during YAML creation (e.g., "Jan 2020 - Dec 2022")
- Use "Present" for current positions
Next Steps
After extracting resume to YAML:
- Edit and refine: Use a text editor to make manual corrections to the YAML
- Optimize content: Use the
optimizing-resumesskill to improve bullets, add metrics, and tailor for specific roles - Format for output: Use the
formatting-resumesskill to convert YAML to professionally formatted PDF
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

