Diff Risk Triage (Free, Offline PR Risk Score)

    1

    Scores a git diff 0-100 for review risk and tells you which files to read first: migrations, CI, auth paths, deleted tests, risky added lines.

    Free

    1 useSecurity scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    About this skill

    A first-pass map for a reviewer: where is this change most likely to hurt, and what should be read before anything else. It ranks attention; it does not find bugs and never approves a change.

    Either run inside the repo with no arguments (staged + unstaged changes versus HEAD), pass --base main to compare against a branch or commit, or give a saved unified diff with --diff FILE (or - for stdin). Only git diff is run; nothing is checked out or modified.

    This skill bundles one standard-library Python file, scripts/diff_risk_triage.py (sha256 a0d742be5af8df811272e7916479545a04266754dabc7ba3a24e7be006d37f03). If it is not already on disk:

    1. Write the bundled script text verbatim to a temp file outside the user's project, e.g. T=$(mktemp --suffix=.py).
    2. Check sha256sum "$T" equals a0d742be5af8df811272e7916479545a04266754dabc7ba3a24e7be006d37f03. If it differs, rewrite it; never edit it.
    3. Run python3 "$T" [--diff FILE|-] [--base main] [--repo "/path"] [--json] with each user path as a separately quoted argument.
    4. Delete the temp file. Do not save the script into the project.

    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 any payment.

    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

    1 use

    Times used to date

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    • Free with an Agensi account

    Requires

    Python
    Git

    Permissions

    Terminal / Shell
    Read Files
    Listed1 month ago

    What's inside

    Frequently Asked Questions

    Scores a git diff 0-100 for review risk and tells you which files to read first: migrations, CI, auth paths, deleted tests, risky added lines.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Diff Risk Triage (Free, Offline PR Risk Score) on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Code Quality & Review

    Free