file_reader

Reads and summarizes local text files with MIME type detection.

Updated Aug 7, 2026
One-click install
npx skills add https://github.com/Protremix/EvolvixOS --skill file-reader-protremix
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: file_reader
Source: https://github.com/Protremix/EvolvixOS/tree/main/knowledge/experts/office-automation/skills/file_reader
Command: npx skills add https://github.com/Protremix/EvolvixOS --skill file-reader-protremix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Reading and summarizing local text files often requires guessing file types and dealing with oversized logs. This Skill provides a clear workflow for detecting file types first, then reading only the relevant portions of text-based files. ## Core Features & Use Cases - MIME Type Detection: Uses the file command to probe file types before reading, avoiding wasted effort on unsupported formats. - Structured Text Reading: Handles txt, md, json, yaml, csv, tsv, log, sql, ini, toml, and source code files, summarizing keys, columns, or key sections as appropriate. - Large Log Handling: Uses tail to inspect the last lines of large log files and summarizes recent errors and warnings. - Use Case: A user asks to review a 50MB application log. The Skill probes the type, reads only the last 200 lines, and summarizes recent errors and notable patterns instead of dumping the entire file. ## Quick Start Read and summarize the contents of the local file app.log, focusing on recent errors.

Frequently Asked Questions about file_reader

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read and summarize a local text file?▼

First probe the file type with the file command using the --mime-type flag, then use read_file to load the content. Summarize key sections or extract only the portions the user requested rather than outputting everything.

How to inspect a large log file without reading all of it?▼

Use the tail command with a line window, such as tail -n 200, to read only the most recent entries. Then summarize recent errors, warnings, and notable patterns from that window.

What file formats can this text file reader handle?▼

It handles txt, md, json, yaml, yml, csv, tsv, log, sql, ini, toml, and source code files like py, js, html, and xml. JSON and YAML files are summarized by top-level keys, and CSV/TSV files by headers and sample rows.

Can I read PDF or Word documents with this file reader?▼

No. PDF, Office documents (docx, xlsx, pptx), images, audio, and video are explicitly out of scope. These formats are handled by their own dedicated skills or tools.

Why check the MIME type before reading a file?▼

MIME type detection with the file command confirms the file is a supported text format before reading. This prevents wasted effort on binary files and routes unsupported formats to the correct specialized tool.