# Scope2Patch: Security Code Review

> Review who can read or change a resource in a pull request. Get a code location, a small patch, and unit tests that check both denied and permitted behavior.

Scope2Patch: Security Code Review is a paid AI agent skill on Agensi by ahilqq, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9.99 (one-time purchase)
- Creator: [ahilqq](https://www.agensi.io/creators/ahilqq)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0.0
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/scope2patch-security-code-review
- Tags: code-quality-review, security, testing-debugging

## What it does

- Trace a permission decision from the signed-in user to the resource being read or changed
- Get a small patch tied to a specific function and the access rule it should enforce
- Check that the fix blocks an unauthorized change without locking out a legitimate editor

## Who it's for

- **Software engineering:** Check that a change enforces the right role on the right resource. Try: "Review the access decision in this diff against our workspace membership policy."

## About this skill

A role check can look correct and still consult the wrong workspace. Give Scope2Patch the changed code and the intended access rule. It follows the decision through the service or repository, shows where the behavior differs from the rule, and proposes a patch in the project's style. The review tells you which tests actually ran and what remains uncertain. This source-review edition includes a worked example with four offline tests.

## Requires

- Optional: Python 3.7

Provide a code diff or relevant source and the intended permission rule.

## Known limitations

Reviews only the supplied code and policy. It cannot establish deployed behavior, validate unseen checks, or certify an entire application. No live application testing is included.

## Technical details

Source and diff review with offline unit tests. The example uses the Python standard library and in-memory collaborators. Includes the upstream MIT notice.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Scope2Patch: Security Code Review skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does Scope2Patch: Security Code Review do?

Review who can read or change a resource in a pull request. Get a code location, a small patch, and unit tests that check both denied and permitted behavior.

### Which AI agents support Scope2Patch: Security Code Review?

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.

### How do I use Scope2Patch: Security Code Review?

Connect your AI agent to Agensi through MCP, then ask it to use Scope2Patch: Security Code Review 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.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
