read-file

read-file is a skill for Claude Code, Codex from stephen94125/peon-lib. It costs 41 tokens per session (209 once invoked), scanned A, original, Apache-2.0.

A file-reading skill that retrieves and displays the contents of a path supplied by the user.

In plain words
What is it for?
Use it to open, view, or summarize a specific file from the project or filesystem.
Why use it?
It gives a consistent way to inspect files while handling relative paths, large files, binary data, and permission errors clearly.

Skill for Claude CodeCodex

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

Good fit Use it to open, view, or summarize a specific file from the project or filesystem.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stephen94125/peon-lib/read-file
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 stephen94125/peon-lib --skill read-file
Clone the repo
git clone --depth 1 https://github.com/stephen94125/peon-lib

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/stephen94125/peon-lib/read-file/github.svg)](https://agentmods.dev/skills/stephen94125/peon-lib/read-file)
Your own site
<a href="https://agentmods.dev/skills/stephen94125/peon-lib/read-file"><img src="https://agentmods.dev/badge/skills/stephen94125/peon-lib/read-file/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 read-file

Your own site · 80×15
<a href="https://agentmods.dev/skills/stephen94125/peon-lib/read-file"><img src="https://agentmods.dev/badge/skills/stephen94125/peon-lib/read-file.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 209 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 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.00041 $0.00209
Opus 5.5 $0.00016 $0.00084
Sonnet 5.5 $0.00008 $0.00042
Haiku 4.5 $0.00004 $0.00021

Measured 2mo ago against content hash 34aa858c5741, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

read-file 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 2mo 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.

skills/read-file/SKILL.md · 25 lines

What it actually says

Read File

When the user provides a file path, use the read_file tool to retrieve its contents.

When to use this skill

  • User says "open", "read", "view", "show", or "display" followed by a path.
  • User pastes a path and asks to inspect or summarize the file.

How to read a file

Call the read_file tool with the path exactly as provided by the user. If the path is relative, resolve it against the current working directory.

Gotchas

  • Binary files (images, PDFs, executables) will return garbled output — warn the user.
  • Very large files may be truncated — inform the user if so.
  • Permission errors should be surfaced clearly with the exact path that was denied.
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. 2mo ago First seen · 25 lines · 41 tokens per session scan A 34aa858c5741

Subscribe to this mod's changes

read-file is a skill published in the GitHub repository stephen94125/peon-lib (2 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 41 tokens to every session and 209 once invoked, about $0.0002 per session on Opus 5.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-31.

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

Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when the user wants to create, inspect, check formatting, find issues, add charts, or modify Office documents.

iOfficeAI/OfficeCLI · 56 tokens

zeroclaw-docs

Use when a user asks how ZeroClaw itself works or requests setup, configuration, diagnostics, capability discovery, extension, or operation of the current ZeroClaw installation. Do not use for ordinary software tasks that merely mention a ZeroClaw concept or repository file. Verify the installed build through live…

zeroclaw-labs/zeroclaw · 80 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

officecli-data-dashboard

Use this skill to build a multi-element Excel dashboard — Dashboard sheet on open, multiple formula-driven KPI cards, multiple charts, sparklines, and conditional formatting — from CSV or tabular input. Trigger on: 'dashboard', 'KPI dashboard', 'analytics dashboard', 'executive dashboard', 'metrics dashboard', 'CSV to…

iOfficeAI/OfficeCLI · 159 tokens