- Home
- Skills
- Code Quality & Review
- Diff Risk Triage (Free, Offline PR Risk Score)
Diff Risk Triage (Free, Offline PR Risk Score)
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
Works with the AI Agents you already use
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:
- Write the bundled script text verbatim to a temp file outside the user's project, e.g.
T=$(mktemp --suffix=.py). - Check
sha256sum "$T"equalsa0d742be5af8df811272e7916479545a04266754dabc7ba3a24e7be006d37f03. If it differs, rewrite it; never edit it. - Run
python3 "$T" [--diff FILE|-] [--base main] [--repo "/path"] [--json]with each user path as a separately quoted argument. - Delete the temp file. Do not save the script into the project.
How to use
- 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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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