- Home
- Skills
- Agents & Orchestration
- Repair Partial Read Truncation Bugs
More screenshots
Works with the AI tools you already use
Repair Partial Read Truncation Bugs
Repair partial reads, truncated frames, stream-chunk/message confusion, early EOF acceptance, and stale decoder state.
$8.99
Repair Partial Read Truncation Bugs
Example session with this skill installed
Our Go TCP client reads a 4-byte length header with conn.Read(header) once, then allocates the payload and calls conn.Read(payload) once. Under packet fragmentation we occasionally decode truncated protobuf messages. Repair locally with a deterministic fragmenting reader and loopback sockets. Preserve the existing frame format and maximum-frame setting. Do not connect to production or invent new framing.
- Read your context and instructions
- Compiled the repair partial read
Partial-read bug found. Header and payload readers assume one read returns the requested length. The repair uses exact-length reads, explicit truncation errors, preserves the existing frame limit, and adds deterministic fragmented/coalesced input tests.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
A read call is not a message boundary. TCP, TLS, files, and async streams may return fewer bytes than requested, split one frame across many chunks, or coalesce several frames together. Code that assumes one read returns everything can silently feed truncated data into parsers.
This skill fixes exact-length reads and incremental framing, distinguishes clean EOF from truncation, preserves bounded streaming, and adds deterministic fragmentation/coalescing tests.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 1 month ago
- Passed all security checks, Safe to install