Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/tzaeb-read-file-4c21ab
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
read-file- Description
- Read the contents of a file at a given path. Use when the user asks to view, inspect, or read a file.
- License
- MIT
- Instructions
- 31 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Read File
## Instructions
Read file contents using Python's built-in `open()`. Always use UTF-8 encoding with error handling for binary files.
```python
with open("path/to/file.txt", encoding="utf-8", errors="replace") as f:
content = f.read()
print(content)
```
For large files, read only what's needed:
```python
with open("path/to/file.txt", encoding="utf-8", errors="replace") as f:
for i, line in enumerate(f, 1):
print(f"{i:4d} | {line}", end="")
if i >= 100:
print(f"\n... (truncated, file has more lines)")
break
```
## Guidelines
- Always print the content so the user can see it
- Use `errors="replace"` to handle binary/non-UTF8 files gracefully
- For very large files, show the first ~100 lines and note the truncation
- Show line numbers when displaying code filesFrom tzaeb/skills_example, MIT.
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 5, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/tzaeb/skills_example
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from tzaeb
- 0.413score
summarize-csv
tzaeb
Summarize CSV files with statistics and previews.
SkillDFreshness: DClaude Code +9 - 0.409score
run-command
tzaeb
Run commands (git, build tools, tests, package managers, etc).
SkillDFreshness: DClaude Code +9 - 0.409score
list-directory
tzaeb
List files and directories at a given path.
SkillDFreshness: DClaude Code +9 - 0.409score
search-files
tzaeb
Search for text patterns across files using regex.
SkillDFreshness: DClaude Code +9 - 0.409score
run-command
tzaeb
Run shell commands (git, build tools, tests, package managers, etc).
SkillDFreshness: DClaude Code +9 - 0.408score
write-file
tzaeb
Write or create files with given content.
SkillDFreshness: DClaude Code +9
Cite this page
read-file skill. Agent Mart. https://agentmart.dev/skills/tzaeb-read-file-4c21ab (last updated 2026-10-24)