More screenshots

    Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    Repair File Descriptor Leaks

    1

    Repair file descriptor and handle leaks from files, streams, watchers, pipes, subprocesses, early returns, retries, errors, and cancellations.

    $8.99

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity scanned
    Repair File Descriptor Leaks

    Repair File Descriptor Leaks

    Example session with this skill installed

    Our Node/TypeScript service processes uploaded ZIPs. It opens an input stream, unzip parser, output streams, and sometimes a helper subprocess. If one entry fails validation, the function returns early. After hundreds of failed generated uploads, local tests reproduce EMFILE and open handles keep rising. Repair using temporary ZIPs and disposable subprocesses. Do not access customer files, change ulimit, or inspect production descriptors.

    • Read your context and instructions
    • Compiled the repair file descriptor

    Descriptor leak found. The repair centralizes ownership and cleanup and adds repeated-failure tests returning local handle counts to baseline. Production descriptor usage remains unverified.

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

    What you get

    Identify unclosed sockets in error handling and retry logic.Implement structured cleanup for subprocess stdio and pipes.Fix filesystem watcher accumulation in long-running services.Generate deterministic leak tests using loopback sockets and temp files.

    About this skill

    File descriptor leaks often hide until a process has handled hundreds of failures. A stream stays open after an early return, a watcher is recreated without stopping the old one, or subprocess pipes remain open.

    This skill maps ownership, repairs acquire/use/release lifecycles, makes cleanup deterministic, and proves local descriptor stability with repeated 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 22 days ago

    • Passed all security checks, Safe to install

    Listed22 days ago
    Updated7 days ago

    Frequently Asked Questions