Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    Repair Monotonic Clock Bugs

    1

    Repair wall-clock misuse in elapsed durations, deadlines, retry delays, local TTLs, leases, and latency metrics while preserving real UTC timestamps.

    $2.99

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    Security scanned
    Repair Monotonic Clock Bugs

    Repair Monotonic Clock Bugs

    Example session with this skill installed

    Our Go service measures request latency with time.Now(), stores start.UnixMilli(), then later subtracts it from another wall-clock UnixMilli value. The same helper calculates an in-process timeout deadline. In a fake-clock test, moving wall time backward by 90 seconds produces negative latency and extends the deadline. Repair locally while preserving all current timeout values and persisted audit timestamps. Do not change the machine clock or NTP configuration.

    • Read your context and instructions
    • Compiled the repair monotonic clock

    Clock-domain bug found. Wall Unix timestamps are used for elapsed latency and in-process deadlines, so a backward clock step produces negative duration and extends the timeout. The repair uses monotonic elapsed/deadline primitives while preserving UTC audit timestamps and all existing duration values.

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

    About this skill

    Wall time can jump. NTP corrections, VM resume, manual clock changes, or test rewinds can make elapsed durations negative, extend timeouts, or expire process-local cache entries too early. The fix is not to replace every timestamp with a monotonic clock.

    Repair Monotonic Clock Bugs classifies each time value by meaning, moves only in-process elapsed/deadline math to monotonic sources, preserves UTC wall timestamps for audit and external protocols, prevents mixed-clock subtraction, and proves behavior with deterministic forward/backward clock-jump tests.

    Configured timeout and TTL values remain unchanged.

    How to use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    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
    Updated1 day ago

    What's inside

    Frequently Asked Questions