If inputs are already valid absolute/relative paths, use them directly
If inputs are ambiguous (partial names, no extension, shorthand), resolve them:
Use project context (CLAUDE.md, known directory structure)
Use Glob to find matching files if needed
Apply common sense (e.g., "index" in a docs project → docs/index.md)
Confirm the resolved paths exist before proceeding
Run the analysis script with resolved paths:
~/.claude/bin/read-files path1 path2 ...
Follow the output instructions exactly:
READ FULL: path → Use Read tool on the file with no offset/limit
CHUNK: path → Use Read tool with the specified offset and limit for each chunk
After reading: Wait for further instructions (do not summarize or take additional actions)
1---2name: load3description: Read files in context4---5## Reading Task67**User input**: $ARGUMENTS89### Process10111. **Resolve file references first**:12 - If inputs are already valid absolute/relative paths, use them directly13 - If inputs are ambiguous (partial names, no extension, shorthand), resolve them:14 - Use project context (CLAUDE.md, known directory structure)15 - Use Glob to find matching files if needed16 - Apply common sense (e.g., "index" in a docs project → `docs/index.md`)17 - Confirm the resolved paths exist before proceeding18192. **Run the analysis script** with resolved paths:20 ```bash21 ~/.claude/bin/read-files path1 path2 ...22 ```23243. **Follow the output instructions exactly**:25 - `READ FULL: path` → Use Read tool on the file with no offset/limit26 - `CHUNK: path` → Use Read tool with the specified offset and limit for each chunk27284. **After reading**: Wait for further instructions (do not summarize or take additional actions)
Run npx skillmds@latest add lacerbi/load in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Read files in context It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
lacerbi (@lacerbi) published this skill. Their other Agent Skills are listed on their SkillMD profile.