- Home
- Skills
- Agents & Orchestration
- Repair Partial Read Truncation Bugs
More screenshots
Works with the AI Agents you already use
Repair Partial Read Truncation Bugs
Repair partial reads, truncated frames, stream-chunk/message confusion, early EOF acceptance, and stale decoder state.
$1
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.
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.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.
Cannot infer undocumented framing rules, prove remote peer correctness, determine production fragmentation patterns, or define retry safety without an existing contract.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 months ago
Permissions
Use generated bytes, loopback sockets, temp files, and deterministic fragmenting readers on a clean branch. Keep production traffic and customer files out of scope.