Extract text from PDFs by checking each tool’s output and switching methods when needed. Guides agents from file reading to pdftotext and PyMuPDF, then checks readability, missing sections, and records extraction failures.
- Extract text from local or downloaded PDFs
- Switch tools when file reading returns binary data
- Check extracted text for readability and missing sections
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Recover PDF or DOCX generation when execute_code_sandbox fails with unclear errors. Use run_shell to execute Python directly, check required libraries, report specific failures, and verify that the output file was created.
- Retry PDF generation after an unclear sandbox error
- Generate DOCX files by running Python through the shell
- Check and install missing document libraries
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Extract PDF text when read_file returns unreadable binary content or little usable output. Try pdftotext with layout preservation, then use pdfplumber as an alternative when the command is unavailable or produces insufficient text.
- Extracting text after read_file returns binary content
- Retrying PDF extraction with empty or very short output
- Extracting text while preserving the PDF layout
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Check generated PDFs against a page limit or target count, then adjust layout and regenerate as needed. Provides a repeatable workflow for tuning margins, images, tables, and text while respecting readability limits.
- Keep a report within a page limit
- Fit a map PDF onto one page
- Correct overflow caused by images or tables
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Build complex Excel files in four stages: extraction, preparation, calculation, and formatted output. Intermediate CSV files let agents and reviewers inspect data, validate forecasts, locate errors, and rerun individual stages without repeating the entire workflow.
- Combining multiple data sources into an Excel file
- Checking intermediate values in sales forecasts
- Locating errors in data preparation or calculations
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Extract text from local or downloaded PDFs using a sequence of tools. Try file reading, then pdftotext before a Python fallback, check readability, and document failures while clearly separating extracted content from knowledge-based additions.
- Extract text from a local PDF
- Download a PDF from a URL and extract its text
- Switch tools when PDF reading fails
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Recover from Pandoc PDF generation failures by checking installed PDF engines and retrying alternatives. The guide matches engines to Unicode text, simple Latin documents, or HTML-based layouts, and includes an automated fallback script.
- Retrying failed Pandoc PDF conversions
- Choosing an engine for Japanese or other Unicode text
- Automating PDF engine fallback in document pipelines
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Troubleshoot PDF creation by trying pandoc, then reportlab, then fpdf2. Check tool availability, install missing Python libraries as needed, run generation with an explicit working directory, and verify that the output file exists.
- Converting Markdown or HTML to PDF
- Trying another tool after PDF generation fails
- Checking PDF tools and installing missing libraries
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Diagnose PDF conversion failures in pandoc by checking installed conversion engines, capturing full error logs, and investigating missing fonts or packages. Follow a structured sequence of retries and fallback methods to find a working conversion route.
- Investigate an unknown error during PDF conversion
- Check which PDF engines are installed
- Find missing fonts or LaTeX packages
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Extract readable PDF text when read_file returns binary or image data. Check the filetype parameter, run pdftotext, a command-line text extractor, and inspect output and errors, with temporary file output as an alternative.
- Extracting PDF text after binary data is returned
- Checking read_file parameter names during troubleshooting
- Saving extracted text when direct output has issues
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Extract PDF text using a sequence of tools when one method fails. Validate downloaded files, check whether the extracted text is substantial, record the successful method, and investigate alternative sources if extraction remains unsuccessful.
- Extracting text from regulatory documents and handbooks
- Checking whether a PDF download returned an error page
- Trying another tool after empty or garbled text extraction
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Create a related Excel workbook, PNG diagram, and PDF report in one workflow. It allocates execution attempts across stages, checks output files, and provides retries or simpler versions when generation encounters errors.
- Preparing a comparison table, diagram, and report together
- Creating a PDF that references spreadsheet findings and diagrams
- Allocating execution attempts across several output formats
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Extract readable text from PDFs when normal file reading returns garbled or unusable content. The workflow switches between extraction tools, checks the results, and includes optical character recognition for scanned pages when needed.
- Recovering readable text from garbled PDF output
- Preparing PDF text for data processing
- Extracting text from scanned PDFs
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Extract text from local PDF files with pdftotext or PyMuPDF, a Python library for reading PDFs. Convert individual files or batches into text files that an agent can read for summarization, analysis, or further data extraction.
- Converting local PDFs to text for summarization
- Extracting text from multiple PDFs in one batch
- Reading PDFs that appear as binary data in read_file
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Continue Excel file creation and editing when execute_code_sandbox repeatedly fails with openpyxl errors. Use run_shell to run Python directly, then check that the workbook was saved with the expected sheets and content.
- Continuing Excel creation after sandbox errors
- Editing existing workbooks and adjusting column widths
- Checking saved workbook sheets and content
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Download PDFs from web URLs or process local files, verify their format, and extract text with pdftotext. If extraction fails or looks poor, try PyMuPDF, check the results, and document any remaining source limitations.
- Download a PDF from a web URL and extract its text
- Convert a local PDF into a text file
- Try another method after failed or garbled extraction
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Generate PDF checklists, reports, and scorecards with Python. Organizes content into sections and tables, supports scoring criteria and status colors, and includes steps to locate and verify the generated files.
- Creating PDF checklists with status and notes columns
- Preparing scorecards with weights and scores
- Turning findings into a report with multiple sections
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Retrieve PDFs from web sources and extract their text through an ordered sequence: direct reading, pdftotext, then PyMuPDF. Includes file validation, extraction checks, and guidance for documenting inaccessible sources and distinguishing supplementary content.
- Retrieving and reading PDFs from government websites
- Extracting text from technical manuals
- Handling PDF extraction failures in automated workflows
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Download PDFs or process local files, extract their text, and turn processed data into structured PDF reports with ReportLab. Includes alternative extraction methods and text output when PDF generation fails.
- Extracting text from technical manuals
- Processing PDFs downloaded from websites
- Creating PDF reports with sections and tables
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Turn unstructured clinical encounter summaries into SOAP notes, a four-part format for medical records. Organize symptoms and findings, include diagnoses with ICD-10 classification codes, and document treatment steps, follow-up timing, and reasons to return for care.
- Converting unstructured clinical summaries into SOAP notes
- Documenting diagnoses with ICD-10 codes and supporting reasoning
- Organizing treatment details, dosages, and timelines
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Extract text from PDFs when the first reading attempt fails or produces poor results. The skill tries command-line tools, Python libraries, then OCR, which recognizes text in images, while checking output quality and recording successful methods.
- Retrying PDF extraction after errors or empty output
- Reading scanned documents with OCR
- Extracting text and tables from structured PDFs
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Create Excel files with openpyxl, a Python spreadsheet library, by switching to shell execution when sandbox tools fail. Examples cover cell styling, formulas, merged cells, multiple sheets, error reporting, and checking that the output file exists.
- Retrying Excel creation after sandbox failures
- Creating spreadsheets with styles and formulas
- Building workbooks with multiple sheets
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Generate Word, PDF, and HTML documents from one Markdown source. The workflow checks available tools, replaces problematic characters for PDF conversion, tries alternative conversion engines when needed, and checks that output files were created.
- Exporting one report as Word, PDF, and HTML
- Handling PDF conversion errors caused by special characters
- Generating PDFs without pandoc or LaTeX
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026
Inspect unfamiliar Excel workbooks before building extraction scripts. Map sheets, headers, columns, and row patterns, then use those findings to distinguish actual records from summaries and blank rows when extracting data.
- Inspecting Excel files received from external sources
- Extracting records from sheets with merged cells
- Investigating missing or unexpected extraction results
HKUDS/OpenSpace☆ 7.8KUpdated Aug 13, 2026