Works with the AI Agents you already use

    Catch - What Did Your AI Agent Just Break?

    by Soham Bhole

    1

    Runs the exact tests your AI agent's diff could break, tells new failures from pre-existing ones, and flags hallucinated dependencies, before you commit.

    Free

    Security scanned
    Catch - What Did Your AI Agent Just Break?

    Catch - What Did Your AI Agent Just Break?

    Example session with this skill installed

    I've made changes to my Flask app with Claude Code, stage them and check
    whether anything broke before I commit.

    • Read your context and instructions
    • Compiled the catch - what

    Summary

    Staged 3 changed files and ran Catch. It mapped the diff through the import
    graph to 14 affected tests, ran them in 1.9s, re-ran the 2 failures against
    the pre-diff baseline — and confirmed both are NEW regressions caused by
    your changes. It also flagged one new dependency as likely hallucinated.
    Do not commit yet.

    CheckResultDetail
    Affected tests14 runmapped from src/auth/token.py via import graph
    New failures2both trace to refresh() in your diff
    Pre-existing failures3dimmed, not blocking
    New dependencies1 dangerouspy-token-utils: 4 days old, 12 downloads

    ✗ NEW FAILURES (2)
    tests/test_auth.py::test_token_refresh
    → your diff touches src/auth/token.py:refresh()
    → AssertionError: token expiry not updated
    tests/test_api.py::test_login_flow
    → called from src/api/routes.py:login()
    ⚠ SUSPICIOUS DEPENDENCIES (1)
    py-token-utils → registered 4 days ago, 12 downloads
    → did you mean: pyjwt?
    RESULT: FAIL — exit code 1

    Next steps

    • Revert the refresh() change or update the expiry logic — both failures
      point at the same function.
    • Replace py-token-utils with pyjwt (almost certainly the intended package).
    • Re-run catch — commit only when it exits 0.

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

    About this skill

    Your AI agent wrote it. Catch proves whether it broke anything.

    AI coding agents are fast, and 66% of developers say the output is "almost right, but not quite." The failures that hurt most aren't syntax errors; they're silent regressions in code the agent never touched, and invented dependency names that don't exist on PyPI (or worse, were just registered by an attacker -"slopsquatting").

    Catch is the missing step between "the agent wrote code" and "you commit it."

    What it does

    Run catch after staging changes (or let your agent run it — this skill teaches Claude Code, Cursor, and Codex to check their own work before opening PRs). In seconds you get:

    1. Impact mapping - an AST import graph of your repo traces your diff to the exact tests that exercise the changed code. Not the whole suite: the ~14 tests that matter.
    2. New-failure detection -affected tests run against your working tree, and any failures are re-run against the pre-diff baseline in a temporary git worktree. Failures that existed before your change are shown dimmed and never block you. Only NEW failures fail the check.
    3. Dependency vetting -every new import is checked live against PyPI: does it exist, how old is it, how many downloads? Hallucinated packages and brand-new low-download packages are flagged, with "did you mean" suggestions.

    Exit code 0 = clean, 1 = problems. Wire it into pre-commit, pre-push, or CI (included GitHub Action posts the report as a PR comment).

    Why not just ask the AI to review its own code?

    The model that wrote the bug shares the assumptions that caused it - LLM review of LLM code is correlated guessing, and it's different every run. Your test suite is deterministic ground truth. Catch runs it.

    Proven on a real bug

    Catch flags, in ~2 seconds, the exact test behind Flask's SECRET_KEY_FALLBACKS key-ordering regression, a bug that lived ~4 months in one of the world's most-used Python packages. Full reproduction methodology in the demo/ folder.

    What's included

    • catch CLI (pip install catchdev)
    • GitHub Action with PR-comment reports
    • pre-commit / pre-push hook
    • This agent skill, your agent checks its own work before committing

    Python projects today (pytest). Jest/JS support is on the public roadmap. MIT licensed. No telemetry. Your code never leaves your machine.

    Requires changes to be staged in Git. Only detects regressions in existing tests; it does not author new test cases.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 14 days ago

    • Free with an Agensi account

    Accounts
    Pypistats
    Software
    PythonGitpytest

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables

    Allowed Hosts

    pypi.org
    pypistats.org
    Listed14 days ago

    What's inside

    Frequently Asked Questions

    Catch compares your staged changes against the repository's baseline to isolate only the new errors caused by your current work, ensuring you aren't blamed for pre-existing technical debt.

    The skill is compatible with any AI agent or terminal environment that has access to Git and your local language-specific test runners (like Jest, Pytest, or Maven).

    Catch performs a security check on new entries in manifests like package.json or requirements.txt to flag typosquatting, "hallucinated" packages, or known malicious dependencies before they are committed.

    Yes, Catch is designed to be integrated into local pre-commit hooks or CI/CD pipelines to act as an automated gatekeeper for code quality.

    The skill supports most major programming languages, provided your project has a defined test suite that can be triggered via command line.

    v0.1.0 is Python + pytest. Jest support is the top item on the public roadmap.

    New in Testing & Debugging

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.

    Free