Works with the AI tools you already use

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

    Repair Child Process Reaping Bugs

    1

    Repair zombie children, kill-without-wait paths, double wait races, orphaned descendants, blocked subprocess pipes, and shutdown hangs.

    $5

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity scanned
    Repair Child Process Reaping Bugs

    Repair Child Process Reaping Bugs

    Example session with this skill installed

    Our Python worker launches ffmpeg with subprocess.Popen, captures stdout/stderr, and has a 30-second timeout. On timeout we call terminate() and raise, but we do not always call wait(). After many jobs the Linux host shows defunct ffmpeg children, and occasionally helper descendants survive. Repair the wrapper with local fake child programs and deterministic tests. Do not kill any production PID, change the timeout value, or assume one signal reaches every descendant.

    • Read your context and instructions
    • Compiled the repair child process

    Subprocess lifecycle bug found. Timeout and shutdown compete for wait/reap ownership. The repair gives one child finalizer exclusive Wait responsibility, coordinates pipe cleanup, and preserves existing exit semantics.

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

    What you get

    Prevent zombie processes by ensuring every spawn has a dedicated reap owner.Resolve shutdown deadlocks caused by unclosed stdout/stderr pipes.Fix race conditions where multiple goroutines or tasks attempt to Wait on one child.Implement safe process-group cleanup to prevent orphaned descendants.

    About this skill

    Subprocess cleanup is more than sending a kill signal. A child can exit and remain unreaped, multiple paths can compete to Wait, descendants can keep pipes open, and shutdown can hang when no path owns the full child lifecycle.

    Repair Child Process Reaping Bugs maps spawn, termination, wait/reap, process-group scope, and pipe ownership; introduces one lifecycle owner; and proves cleanup with disposable fake child programs.

    It never targets production PIDs or invents unsupported host/process-group policy.

    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