What problem does it solve?
This Skill helps you inspect uploaded files correctly when only the file path is available, avoiding the common mistake of reading every file as plain text and wasting context on binary or oversized content.
Core Features & Use Cases
- Smart file dispatch: Chooses the right first-reading method based on file type, from PDFs and Office documents to spreadsheets, archives, images, JSON, and logs.
- Size-aware reading: Encourages statting, sampling, and previewing files before loading them fully, which is essential for large CSVs, notebooks, and logs.
- Safe archive handling: Lists archive contents first and avoids accidental extraction unless explicitly requested.
- Use case: A user uploads a PDF, spreadsheet, or ZIP file and asks what is inside; this Skill tells the agent exactly how to read it efficiently and safely.
Quick Start
Use the file-reading skill to inspect the uploaded file at /mnt/user-data/uploads/ by choosing the correct reading method for its extension and reading only as much as needed to answer the user’s question.