BUNDLE Security scanned8 skills

    Async Context & Request Lifecycle Safety

    Protect request lifecycles across async context propagation, replayable bodies, cancellation, transactions, OAuth refresh, half-closed connections, and completion races. This bundle repairs the boundaries where identity, ownership, and completion state can silently detach from the original request. Use it when requests cross tasks, retries, middleware, sockets, or token refresh and must remain traceable, bounded, and safe.

    251 views

    Works with every agent that reads SKILL.md — Claude Code, Cursor, Codex CLI, Gemini CLI, GitHub Copilot, Windsurf, OpenClaw, and more.

    ToolForge Labs
    Created by
    ToolForge Labs
    $50.99$71.92
    Save 29% · $20.93

    One payment, lifetime access. 8 skills unlock instantly in your library.

    30-day refund guarantee

    Instant unlock in your library

    Free updates from the creator

    What's included

    8 skills
    1/8
    Repair Async Context Leakage

    Repair lost or stale async context, cross-request/tenant contamination, ThreadLocal leaks, detached task inheritance, and over-broad context propagation.

    View skill
    $8.99$6.37Save 29%
    2/8
    Repair Request Body Replay Bugs

    Repair consumed request-body reuse, empty retry uploads, stream pre-consumption, unsafe replay, and unlimited buffering across HTTP retries and redirects.

    View skill
    $8.99$6.37Save 29%
    3/8
    Repair Double Completion Races

    Repair double completion, duplicate callbacks, timeout/cancel races, stale retry callbacks, duplicate response writes, and cleanup running twice.

    View skill
    $8.99$6.37Save 29%
    4/8
    Repair Half-Closed Socket Bugs

    Repair TCP half-close bugs that truncate responses, destroy both directions on EOF, omit FIN propagation, or leave writers hanging.

    View skill
    $8.99$6.37Save 29%
    5/8
    Repair Cancellation Propagation

    Repair lost cancellation signals, orphaned async work, retry-after-cancel bugs, stale completions, and unclear request-vs-durable task lifetimes.

    View skill
    $8.99$6.37Save 29%
    6/8
    Repair Transaction Scope Drift

    Repair transaction boundaries, rollback behavior, nested transaction drift, and unsafe external side effects without widening database locks.

    View skill
    $8.99$6.37Save 29%
    7/8
    Repair OAuth Refresh Races

    Repair concurrent OAuth refresh races that invalidate credentials, overwrite newer tokens, or force users to reconnect.

    View skill
    $8.99$6.37Save 29%
    8/8
    Add Observability Automatically

    Automatically add production-ready logging, metrics, health checks, and error monitoring to existing apps.

    View skill
    $8.99$6.37Save 29%

    See it in action

    Repair Async Context Leakage

    Repair Async Context Leakage

    Example session with this skill installed

    Our Node/TypeScript SaaS uses AsyncLocalStorage for requestId, tenantId, userId, and traceId. A webhook handler schedules work with setImmediate, one helper caches the current context object in module scope, and a background email task is started with void sendEmail(). Under concurrency we occasionally see a log line with the correct requestId but the wrong tenantId. One detached task also keeps userId after the HTTP response is finished. Repair the repository with synthetic tenants and deterministic concurrency tests. Do not access production logs/data, change auth policy, or copy tokens into context.

    • Read your context and instructions
    • Compiled the repair async context

    Async context leakage found. A module-level cached context can outlive its request, detached work inherits request identity, and logging can combine mismatched ownership paths. The repair removes global context reuse, makes durable metadata explicit, restores/clears context at owned boundaries, and adds deterministic cross-tenant concurrency tests. Production isolation remains unverified.

    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 skill in this bundle passes our trust checks.

    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

    Frequently asked questions

    More bundles from ToolForge Labs