Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+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.

    $5

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity 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.

    What you get

    Prevent double-decompression errors in HTTP client/middleware stacks.Enforce decompression size limits to block zip-bomb vulnerabilities.Synchronize Content-Length and ETag headers with transformed bodies.Fix resource leaks in cancelled or corrupt compressed streams.

    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 install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 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

    Listed1 month ago
    Updatedtoday

    What's inside

    Frequently Asked Questions