Extract HEAL matrix content from PowerPoint slides and save as formatted text files matching N2 HEAL format
Use this skill to extract HEAL content (Highlights, Emerging Issues, Lowlights, Priorities, Actions) from PowerPoint presentations and save them as properly formatted text files. Works with both:
/extract-pptx-heal gloria 16
/extract-pptx-heal shafts-winders 16
/extract-pptx-heal n3 16
python extract_pptx_heal.py gloria 16
python extract_pptx_heal.py shafts-winders 16
python extract_pptx_heal.py --site=gloria --week=16
gloria, shafts-winders, or n3 (required)python-pptx library (already installed globally)Week {N}/ directory matching naming conventionThe script:
Week {N}/ directoryThe script creates a single text file:
Format: {Site} HEAL Page Week{N}.txt
Examples:
Gloria HEAL Page Week16.txtShafts and Winders HEAL Page Week16.txtN3 HEAL Page Week16.txtLocation: Week {N}/ directory (same as source PPTX)
File Format: Plain text with line-numbered entries
Structure:
Highlights
⢠Item 1
⢠Item 2
Lowlights
⢠Item 1
Emerging Issues
⢠Item 1
Priorities
⢠Item 1
⢠Item 2
Actions
⢠Item 1
Line Numbers: Read tool displays automatically (e.g., "1ā", "2ā")
Section Detection:
HEAL page (003).pptx - AutoRecovered.pptx (or latest HEAL page PPTX)SHAFTS AND WINDERS_HEAL_{N}_WEEK_*.pptxN3 HEAL Page*.pptx (pending)Highlights
⢠TMM availability increase from 82% to 86%
⢠DT0152 transported safely to Broncho
⢠DT0106 transmission was replaced safely
Lowlights
⢠DT availability 71%
⢠DT0152 Line boring
⢠DT0105 Nerospec
Emerging Issues
Priorities
⢠Steel cord belt splice scanning...
⢠Stabilis to submit proposal...
Highlights
⢠WTFitter Team repaired hot water issue at Nch3 B-Level
⢠BM Team replaced bolts on guides at Bunton
Emerging Issues
⢠Low compliment of Fitters and Riggers
⢠Massive impact of providing Changehouses maintenance
Lowlights
⢠Positions taking considerable time to fill
Priorities
⢠Shaft Repair Work with Solrock Team
⢠Employee Engagement/Resignations
The script performs these quality checks:
| Issue | Solution |
|---|---|
| "File not found" error | Check PPTX file is in Week {N}/ directory with correct naming |
| Empty sections extracted | Verify PPTX table structure matches expected layout; check for formatting differences |
| Encoding errors | Script uses UTF-8; ensure Windows locale supports special characters |
| Partial content extracted | Some PPTX files have mixed layouts; verify table structure in SKILL documentation |