OpenParable
Skip to content
← Back to skills

File Reading

Documents
file-reading

File Reading is an Agent Skill for documents published in the decocms/studio repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Route a file to the right reader by extension (pptx, docx, xlsx, pdf, and plain text). Use as the entry point when asked to read or summarize an uploaded file of unknown type.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/decocms/studio/blob/HEAD/packages/sandbox/image/skills/file-reading/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/file-reading, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

file-reading — router by file type

When asked to read or summarize a file, dispatch by extension to the appropriate skill under org/public/core/:

ExtensionSkillScript
.pptxpptxpython org/public/core/pptx/extract.py
.docxdocxpython org/public/core/docx/extract.py
.xlsxxlsxpython org/public/core/xlsx/extract.py
.pdfpdfpython org/public/core/pdf/extract.py
.txt, .md—cat
.csv—cat (or column -t -s, for alignment)
.json—cat (or jq . if structure matters)

For extensions not listed, read the corresponding SKILL.md under org/public/core/ if one exists, otherwise fall back to file <path> to identify the format and proceed manually.