Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+20 more

    Repair Content-Encoding Bugs

    1

    Repair HTTP Content-Encoding bugs that double-decompress, decode in the wrong order, trust compressed size, lose trailers, corrupt streaming bodies, or leave headers inconsistent after transformation.

    $2.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Repair Content-Encoding Bugs

    Repair Content-Encoding Bugs

    Example session with this skill installed

    Our Python client library transparently decompresses gzip, then our wrapper sees Content-Encoding and decompresses again. For stacked gzip, br it also applies decoders in the wrong order. Repair with local byte fixtures and streaming chunks. Preserve accepted encodings, limits, backpressure, timeout, cache, signature, and exception behavior.

    • Read your context and instructions
    • Compiled the repair content-encoding bugs

    Encoding-state defect found. Transport-level auto-decoding is not represented in wrapper metadata, so the body can be decoded twice, while stacked encodings are consumed in forward instead of reverse application order. The repair makes transformation ownership explicit, enforces decoded-byte and ratio limits at every layer, keeps negotiation/backpressure/cache/signature/error policy unchanged, and validates chunk boundaries, corruption, cancellation, and metadata consistency.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    The problem

    HTTP body transformations often fail when libraries and wrappers disagree on state ownership. This leads to double-decoding errors, "decompression bombs" bypassing size limits, and stale headers that claim content is encoded when it has already been stripped.

    What it does

    • Identifies and repairs ordered decoder stack failures for gzip, br, deflate, and zstd.
    • Enforces bounded decoding limits to prevent resource exhaustion from high expansion ratios.
    • Syncs representation metadata like Content-Length, ETag, and signatures with the actual transformation state.
    • Fixes streaming backpressure and cleanup leaks in corrupt or cancelled streams.
    • Generates deterministic local fixtures to replicate encoding edge cases without hitting production APIs.

    Frameworks & tools

    Works with any language or framework using standard HTTP encoding layers. Specifically addresses implementations involving gzip, brotli (br), deflate, and zstd. Uses Read, Edit, and Bash tools for repository-level patching.

    Why this beats prompting it yourself

    Manually fixing encoding bugs often results in "whack-a-mole" where fixing a decoder breaks the Content-Length or ETag. This skill follows a strict resource register and synchronization workflow to ensure all metadata layers are updated atomically and safely.

    Use cases

    • Fixing double-decompression bugs where both a client and a middleware try to unzip a response.
    • Patching security vulnerabilities where compressed input exceeds memory limits.
    • Correcting order-of-operation errors in stacked HTTP encodings.
    • Updating stale ETag and Content-Length headers after body transformation.

    Known limitations

    Does not modify content negotiation logic or public security limits. Cannot access live production environments, secrets, or remote caches.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    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

    Listed2 months ago

    What's inside

    Frequently Asked Questions