file_reader

file_reader is a skill for Claude Code, Codex from agentscope-ai/QwenPaw. It costs 45 tokens per session (455 once invoked), scanned A, original, Apache-2.0.

A guide for reading and summarizing text-based files such as plain text, code, JSON, CSV, and logs. It excludes PDFs, Office documents, images, audio, video, and archives.

In plain words
What is it for?
Reading local text files, checking their type, summarizing source code or configuration, reviewing structured data, and finding recent errors in large logs.
Why use it?
It helps avoid opening unsupported files the wrong way or overwhelming the reader with a large file. It also provides a way to identify a file type and extract only useful sections.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for qwenpaw. Also seen: built for qwenpaw.

Good fit Reading local text files, checking their type, summarizing source code or configuration, reviewing structured data, and finding recent errors in large logs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentscope-ai/qwenpaw/file_reader-zh
About the project

QwenPaw is a personal AI assistant that runs on a local machine or in the cloud and connects to multiple chat applications. It provides memory, file workspaces, multiple agents, skills, plugins, and integrations with language-model providers and external tools. The catalogue entries are skills that extend its capabilities.

agentscope-ai/QwenPaw · 35,089 stars · on GitHub · qwenpaw.agentscope.io

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 agentscope-ai/QwenPaw --skill file_reader-zh
Clone the repo
git clone --depth 1 https://github.com/agentscope-ai/QwenPaw

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/agentscope-ai/qwenpaw/file_reader-zh/github.svg)](https://agentmods.dev/skills/agentscope-ai/qwenpaw/file_reader-zh)
Your own site
<a href="https://agentmods.dev/skills/agentscope-ai/qwenpaw/file_reader-zh"><img src="https://agentmods.dev/badge/skills/agentscope-ai/qwenpaw/file_reader-zh/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/agentscope-ai/qwenpaw/file_reader-zh"><img src="https://agentmods.dev/badge/skills/agentscope-ai/qwenpaw/file_reader-zh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 455 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. ✓ AI security review Fable 5.1 · 6 Sept 2026 📄 Read the review Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00045 $0.00455
Opus 5 $0.00023 $0.00228
Sonnet 5 $0.00009 $0.00091
Haiku 4.5 $0.00005 $0.00046

Measured 10d ago against content hash 1921533df90e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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

Copies of this mod

1 near-identical copy found in the catalogue:

src/qwenpaw/agents/skills/file_reader-zh/SKILL.md · 59 lines

What it actually says

文件读取工具箱

当用户要求读取或总结本地文本文件时使用此技能。PDF、Office 文档、图片、音频和视频不在此技能范围内,应由其专用技能/工具处理。

快速类型检查

读取前先进行类型探测:

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

如果文件较大,避免输出全部内容;提取小部分相关内容并进行总结。

文本文件(使用 read_file)

适用于: .txt.md.json.yaml/.yml.csv/.tsv.log.sqlinitomlpyjshtmlxml 源代码。

步骤:

  1. 使用 read_file 获取内容。
  2. 总结关键部分或展示用户请求的相关片段。
  3. 对于 JSON/YAML,列出顶层键和重要字段。
  4. 对于 CSV/TSV,展示表头和前几行,然后总结各列。

大型日志文件

如果文件很大,使用 tail 窗口:

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

总结最近的错误/警告和值得注意的模式。

超出范围

以下内容不在此技能中处理(由其他技能负责):

  • PDF
  • Office (docx/xlsx/pptx)
  • 图片
  • 音频/视频

安全与行为规范

  • 绝不执行不可信的文件。
  • 优先读取所需的最小部分。
  • 如果缺少所需工具,说明限制并请用户提供其他格式。
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. 10d ago First seen · 59 lines · 45 tokens per session scan A 1921533df90e

Subscribe to this mod's changes

file_reader is a skill published in the GitHub repository agentscope-ai/QwenPaw (35,089 stars, last pushed today), licensed Apache-2.0. It adds 45 tokens to every session and 455 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

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