More screenshots

    Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseOpenClawOpenClaw+21 more

    Repair Resumable Upload Offset Bugs

    1

    Repair resumable-upload bugs where client/server offsets diverge, chunks are duplicated or skipped, expired sessions are reused, or completion accepts the wrong byte sequence.

    $8.99

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    Security scanned
    Repair Resumable Upload Offset Bugs

    Repair Resumable Upload Offset Bugs

    Example session with this skill installed

    Our mobile client resumes from its last local offset after a timeout. The server may have committed that chunk already, so the retry can append it twice. Repair the protocol without changing allowed chunk sizes or storage provider.

    • Read your context and instructions
    • Compiled the repair resumable upload

    The client offset is treated as authority even after ambiguous failures. The repair makes the server's committed offset/session generation authoritative, validates each chunk against that state, safely acknowledges exact retries, rejects conflicting ranges, and verifies final length/hash with tests around lost responses and concurrent resumes.

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

    What you get

    Synchronize authoritative committed offsets across distributed components.Prevent race conditions in concurrent chunked upload writers.Automate cleanup of expired or failed upload session state.Implement deterministic byte-range validation for upload retries.

    About this skill

    The problem

    Resumable upload implementations often suffer from inconsistent offset tracking, race conditions during concurrent chunk writes, and leaking temporary files. Developers struggle to synchronize session identity, state ownership, and integrity checks across complex storage layers.

    What it does

    • Identifies and patches authoritative committed offset mismatches across repository components.
    • Enforces strict chunk range validation to prevent data corruption during retries.
    • Implements deterministic session generation and lease management for concurrent writers.
    • Standardizes temporary file cleanup and session expiry logic without weakening security policies.
    • Generates regression tests using local byte-range fixtures and loopback endpoints.

    Frameworks & tools

    Works with repository-level code using Read, Edit, and Bash tools. Applicable to any stack implementing chunked or resumable upload protocols.

    Why this beats prompting it yourself

    General prompts often miss the subtle race conditions and trust boundaries inherent in multi-part uploads. This skill follows a rigorous method to map state transitions and bind callbacks to the specific generations that created them, ensuring fixes don't just "look right" but handle edge cases like identical chunk retries and terminal failures correctly.

    Use cases

    • Fixing "offset mismatch" errors in S3-compatible or custom storage backends.
    • Resolving data integrity issues caused by out-of-order chunk processing.
    • Automating the cleanup of orphaned upload sessions and partial files.
    • Adding redacted observability to upload pipelines without logging customer data.

    Known limitations

    Cannot interact with production services or live cloud environments. It focuses on local repository repairs and deterministic testing fixtures.

    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

    What's inside

    Frequently Asked Questions