file_reader

file_reader is a skill for Claude Code, Codex from hyqibot/token-free-openclaw. It costs 41 tokens per session (423 once invoked), scanned A, a copy of file_reader, Apache-2.0.

A guide for reading and summarizing text-based local files such as Markdown, JSON, CSV, YAML, logs, and source code.

In plain words
What is it for?
Use it to inspect supported files, summarize large logs or documents, and report important keys, columns, sections, errors, or patterns.
Why use it?
It helps identify file types and extract relevant content without treating PDFs, office documents, images, archives, or media as plain text.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect supported files, summarize large logs or documents, and report important keys, columns, sections, errors, or patterns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hyqibot/token-free-openclaw/file_reader
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hyqibot/token-free-openclaw --skill file_reader
Clone the repo
git clone --depth 1 https://github.com/hyqibot/token-free-openclaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for file_reader

README.md
[![agentmods](https://agentmods.dev/badge/skills/hyqibot/token-free-openclaw/file_reader/github.svg)](https://agentmods.dev/skills/hyqibot/token-free-openclaw/file_reader)
Your own site
<a href="https://agentmods.dev/skills/hyqibot/token-free-openclaw/file_reader"><img src="https://agentmods.dev/badge/skills/hyqibot/token-free-openclaw/file_reader/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for file_reader

Your own site · 80×15
<a href="https://agentmods.dev/skills/hyqibot/token-free-openclaw/file_reader"><img src="https://agentmods.dev/badge/skills/hyqibot/token-free-openclaw/file_reader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 423 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 95% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.00423
Opus 5 $0.00020 $0.00211
Sonnet 5 $0.00008 $0.00085
Haiku 4.5 $0.00004 $0.00042

Measured 9d ago against content hash 80b0fe23c90d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

file_reader scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

95% identical to file_reader — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

copaw/agents/skills/file_reader/SKILL.md · 59 lines

What it actually says

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.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 59 lines · 41 tokens per session scan A 80b0fe23c90d

Subscribe to this mod's changes

file_reader is a skill published in the GitHub repository hyqibot/token-free-openclaw (122 stars, last pushed 17d ago), licensed Apache-2.0. It adds 41 tokens to every session and 423 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to file_reader, differing in 4 lines, and is treated as a copy.

Related

Other skills, from other repositories

morph-ppt

Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style continuous motion, shapes that grow / move / rotate as the slide advances. Trigger on: 'morph', 'morph transition', 'smooth transition', 'continuous animation across slides', 'Keynote-style…

iOfficeAI/OfficeCLI · 169 tokens

officecli-academic-paper

Use this skill to build academic-style .docx output: journal / conference / thesis chapters carrying formal citation style (APA, Chicago, IEEE, MLA), numbered equations, figure & table cross-references, footnotes/endnotes, bibliography, or multi-column journal layout. Trigger on: 'research paper', 'journal paper'…

iOfficeAI/OfficeCLI · 141 tokens

officecli-docx

Use this skill any time a .docx file is involved -- as input, output, or both. This includes: creating Word documents, reports, letters, memos, or proposals; reading, parsing, or extracting text from any .docx file; editing, modifying, or updating existing documents; working with templates, tracked changes, comments…

iOfficeAI/OfficeCLI · 114 tokens

officecli-financial-model

Use this skill when the user wants to build a financial model — 3-statement model, DCF valuation, LBO, SaaS unit economics, sensitivity / scenario analysis, debt schedule, or fundraising projections — in Excel. Trigger on: 'financial model', '3-statement model', 'P&L + BS + CF', 'DCF', 'WACC', 'NPV', 'terminal value'…

iOfficeAI/OfficeCLI · 222 tokens

officecli-pptx

Use this skill any time a .pptx file is involved -- as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file; editing, modifying, or updating existing presentations; combining or splitting slide files; working with…

iOfficeAI/OfficeCLI · 106 tokens

officecli-word-form

Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document'…

iOfficeAI/OfficeCLI · 224 tokens