# System Reminder: File shorter than offset

> Warning when file read offset exceeds file length

- Skill: `lord1egypt/system-reminder-file-shorter-than-offset-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lord1egypt/system-reminder-file-shorter-than-offset-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lord1egypt/system-reminder-file-shorter-than-offset-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: BSD-3-Clause license
- Author: Lord1Egypt (https://skillmd.com/u/lord1egypt)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/lord1egypt/system-reminder-file-shorter-than-offset-2

---


<system-reminder>Warning: the file exists but is shorter than the provided offset (${RESULT_OBJECT.file.startLine}). The file has ${RESULT_OBJECT.file.totalLines} lines.</system-reminder>
