Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    Evidence-First Debugger

    1

    Debug with evidence, not guesses: ranked hypotheses, a minimal fix, and a regression test for every bug.

    Free

    Security scanned
    Evidence-First Debugger

    Evidence-First Debugger

    Example session with this skill installed

    My test test_parse_date fails with ValueError: day is out of range for month
    when the input is "2024-02-30". Debug it.

    • Read your context and instructions
    • Compiled the evidence-first debugger

    Summary

    Root cause: parse_date validates the month and day separately, so
    "2024-02-30" passes both checks and only fails later inside datetime.

    Evidence

    ObservationSource
    Error raised at utils/dates.py:42stack trace
    Day checked only against range 1-31utils/dates.py:30-36
    Only Feb 29-30 and 31-day-month edge cases fail6 inputs tried

    Ranked hypotheses

    1. Day validated without considering the month (confirmed by experiment)
    2. Leap-year handling bug (rejected: 2024-02-29 parses correctly)
    3. Locale or format issue (rejected: ISO format is parsed correctly)

    Minimal fix

    Validate with calendar.monthrange(year, month)[1] instead of a fixed 31.

    Regression test

    test_parse_date_rejects_feb_30 and test_parse_date_accepts_leap_day.
    Both verified to fail before the fix and pass after.

    Next steps

    Audit other callers of the old range check in utils/.

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

    About this skill

    Evidence-First Debugger makes your agent debug the way a careful engineer does, instead of guessing and patching.

    What it does

    1. Reproduces the failure and captures the exact error, inputs, and environment.
    2. Collects evidence (stack traces, logs, failing tests, relevant code paths).
    3. Lists ranked hypotheses, each with the evidence for and against it.
    4. Runs the cheapest experiment that separates the top hypotheses.
    5. Applies the smallest fix that addresses the confirmed root cause.
    6. Adds a regression test that fails before the fix and passes after.

    Why use it

    • Stops the "change five things and hope" loop
    • Keeps diffs small and reviewable
    • Leaves behind a test so the bug stays fixed

    Best for

    Failing tests, runtime exceptions, flaky behavior, and unexpected output in Python, JavaScript, and other codebases an agent can run locally.

    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

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 1 day ago

    • Free to download with an account

    Requires

    Python
    Git

    Listed1 day ago

    What's inside

    Frequently Asked Questions