Tool · pi · badlogic

read

pi/readRead · primarysourcechecked 2026-09-02
How this differs from most implementations
  • Giant single linepoints at bash sed fallbackvs per-line cap in 4 of 6

Derived by comparing every recorded value against the other implementations of the same capability. Differing is not a defect unless the row is marked an invariant.

Observed · Read

compare all →
Output shape
Dedicated read toolreadsrc
Line numberingnonesrc
Output wrapperplainsrc
Limits
Default line cap2000src
Byte / char cap50 KBsrc
Per-line cap
Whichever hits firstlines or bytessrc
Pagination
Offset base1-indexedsrc
Announces truncationinvariantholdssrc
[Showing X-Y of N. Use offset=Z]
Continuation hint[Showing X-Y of N. Use offset=Z]src
Reports total linesyessrc
Out-of-range offset?
Non-text
Binary content never enters context silentlyinvariant?
Binary files?
Imagesattachment, auto-resize 2000²src
PDFs?
Notebooks?
Giant single linepoints at bash sed fallbacksrc
Errors
Missing path?
Path is a directory?
Empty file?
Non-vision modelexplicit note in outputsrc
Correctness
Mixed line endings?
Staleness check before writeinvariantfailssrc
Line-number contamination guard
n/a (no numbers)
Side effects
Injects nearby instruction filescompact AGENTS.md/CLAUDE.mdsrc

Other tools in pi