
# DOCX reading, creation, and review guidance ## Reading DOCXs - Use `soffice -env:UserInstallation=file:///tmp/lo_profile_$$ --headless --convert-to pdf --outdir $OUTDIR $INPUT_DOCX` to convert DOCXs to PDFs. - The `-env:UserInstallation=file:///tmp/lo_profile_$$` flag is important. Otherwise, it will time out. - Then Convert the PDF to page images so you can visually inspect the result: - `pdftoppm -png $OUTDIR/$BASENAME.pdf $OUTDIR/$BASENAME` - Then open the PNGs and read the images. - O
# Spreadsheet Skill (Create • Edit • Analyze • Visualize) Use this skill when you need to work with spreadsheets (.xlsx, .csv, .tsv) to do any of the following: - Create a new workbook/sheet with proper formulas, cell/number formatting, and structured layout - Read or analyze tabular data (filter, aggregate, pivot, compute metrics) directly in a sheet - Modify an existing workbook without breaking existing formulas or references - Visualize data with in-sheet charts/tables and sensible formatti
# PDF reading, creation, and review guidance ## Reading PDFs - Use `pdftoppm -png $OUTDIR/$BASENAME.pdf $OUTDIR/$BASENAME` to convert PDFs to PNGs. - Then open the PNGs and read the images. - `pdfplumber` is also installed and can be used to read PDFs. It can be used as a complementary tool to `pdftoppm` but not replacing it. - Only do python printing as a last resort because you will miss important details with text extraction (e.g. figures, tables, diagrams). ## Primary tooling for creating