Saltar al contenido
Skillpedia
Varios37 mil · #7577

file_reader

Qué hace

Esta skill lee archivos de texto plano y resume lo que contienen. Está pensada para cualquiera que quiera los puntos clave de un archivo de datos o de registro sin leer cada línea.

Cuándo usarla

  • ✓Cuando quieres un resumen de un archivo CSV, JSON o YAML.
  • ✓Cuando necesitas los errores más recientes de un archivo de log grande.
  • ✓Cuando quieres que se explique el contenido clave de un archivo de código fuente o de configuración.

Link de la skill

https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/file_reader-en/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/file_reader-en/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Resume las columnas principales y las primeras filas de este CSV de ventas.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Primero comprueba el tipo de archivo y luego lee solo la parte que hace falta. En los archivos estructurados muestra los campos o columnas de primer nivel, y en los logs grandes mira las líneas más recientes.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

File Reader Toolbox

Use this skill when the user asks to read or summarize local text-based files. PDFs, Office documents, images, audio, and video are out of scope for this skill and should be handled by their dedicated skills/tools.

Quick Type Check

Use a type probe before reading:

file -b --mime-type "/path/to/file"

If the file is large, avoid dumping the whole content; extract a small, relevant portion and summarize.

Text-Based Files (use read_file)

Preferred for: .txt, .md, .json, .yaml/.yml, .csv/.tsv, .log, .sql, ini, toml, py, js, html, xml source code.

Steps:

  1. Use read_file to fetch content.
  2. Summarize key sections or show the relevant slice requested by the user.
  3. For JSON/YAML, list top-level keys and important fields.
  4. For CSV/TSV, show header + first few rows, then summarize columns.

Large Logs

If the file is huge, use a tail window:

tail -n 200 "/path/to/file.log"

Summarize the last errors/warnings and notable patterns.

Out of Scope

Do not handle the following in this skill (they are covered by other skills):

  • PDF
  • Office (docx/xlsx/pptx)
  • Images
  • Audio/Video

Safety and Behavior

  • Never execute untrusted files.
  • Prefer reading the smallest portion necessary.
  • If a tool is missing, explain the limitation and ask the user for an alternate format.
Preguntas frecuentes

¿Puede leer PDF o archivos de Word?

No. Esos formatos los gestionan otras skills.

¿Ejecutará el archivo que le doy?

No. La skill nunca ejecuta archivos no confiables y solo los lee.

¿Qué pasa con los archivos muy grandes?

Lee la porción útil más pequeña posible, como las últimas 200 líneas de un log.

Detalles

Descripción original del autor

Read and summarize text-based file types only. Prefer read_file for text formats; use execute_shell_command for type detection when needed. PDF/Office/images/archives are handled by other skills.

repo: agentscope-ai/QwenPaw

Popularidad

Estrellas en GitHub
37 mil
Posición en el ranking
#7577
Licencia
Apache-2.0
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas