# Review Packet for Large AI Agent Pull Requests

> Prepares an AI agent's branch for human review: test, secret and protected-path results bound to the exact commit, plus a guide to what to read first, unchecked claims and questions.

Review Packet for Large AI Agent Pull Requests is a paid AI agent skill on Agensi by Nicolas Baranov, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $15 (one-time purchase)
- Creator: [Nicolas Baranov](https://www.agensi.io/creators/creator-1633)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Version: 1.0
- Last updated: 2026-12-05
- Security: scan passed (2026-12-05); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/review-packet-for-large-ai-agent-pull-requests
- Tags: code-review, testing, security, git, ai-agents, pull-requests

## What it does

- Runs your tests itself and reports the results bound to the exact commit under review
- Flags weakened tests, keys added in any commit, and edits to protected paths
- Maps the change by area and says which files to read first, with file and line
- Lists tests the branch deleted by name, even when new tests hide it in the count
- Lists claims from commit messages that no check covers
- Writes questions for the author and says which files were not read

## Who it's for

- **Reviewers of pull requests written by AI agents:** A packet that separates what a tool checked from what the agent says, with the files to read first. Try: "Prepare this branch for review against main."
- **Tech leads facing 3,000-line agent diffs:** A map of the change and a short reading order instead of a wall of diff. Try: "This agent PR is huge. Make me a review packet and tell me where to start."
- **Developers handing an agent's branch to a teammate:** One file with the check results, the reading order and the open questions. Try: "Write a review packet for my teammate before I open the PR."

## About this skill

An agent opens a pull request with thousands of changed lines and a summary that says "all tests
pass, no behavior change". The reviewer has two sources, and neither is independent. This skill
prepares a packet with two parts that are never mixed.

### Part 1: checked by a tool

SkillLayer's gate runs once on the branch, in observation mode:

| Check | What it looks at |
|---|---|
| Tests | Runs your test command itself and reads the real exit code |
| Test integrity | Fewer tests or assertions, added skips, deleted test files (Python, JavaScript/TypeScript) |
| Secrets | Every added line of every commit, so a key deleted later is still found |
| Protected paths | Paths in your `.skilllayer-policy.yml`, read from the base commit |

`review-packet` then reports those results only if the receipt matches this exact commit and
merge base. A receipt for another commit, an edited receipt, or a missing one gives "not
confirmed", never a pass. No model is involved in this part, and the agent never edits it.

### Part 2: reviewer guide, written by your agent

Your agent reads the diff file by file and adds, clearly labelled as unchecked:
- **Size and coverage:** commits, files, lines, and which files it did not read.
- **Change map:** each area, its files and what changed.
- **Read first:** up to seven places, each with file, line and the reason.
- **Deleted tests by name**, even when Part 1's counts look fine.
- **Claims nobody checked:** statements from commit messages that no check covers.
- **Questions for the author.**

### What it does not do

- It does not approve, merge or block anything, and never calls a change safe.
- It does not find vulnerabilities or judge design. Part 2 is your agent's reading and can be
  wrong; it points at places to look.
- Key formats: AWS, GitHub, Anthropic and classic OpenAI keys, private keys, bearer tokens,
  database URLs with a password, and `api_key`/`token`/`password = "..."`. Not yet Stripe, Slack
  or Google keys, or prefixed names like `DB_PASSWORD`.
- Large changes: over 40 files or 3,000 lines, the agent asks whether to read everything or the
  15 most important files first.

### Licence

The bundled source is under the Business Source License 1.1 (full text in the package). Use is
free for non-commercial use, for an evaluation or pilot of up to 90 days per organisation, and
in an organisation where up to 10 developers use it.

## Requires

- Git
- Python 3.10+

Your test command is your own code and runs as it normally does.

## Known limitations

Part 2 is your agent's reading of the diff and can be wrong; Part 1 is the only checked part. Test integrity compares counts, so Part 2 lists deleted tests by name. Key formats: see the description. Over 40 files or 3,000 lines, the agent asks before reading everything. It does not post to pull requests unless you ask.

## Technical details

The whole tool is one file, scripts/skilllayer.py: 179 KB of Python, standard library only, cut from SkillLayer v0.3.1, with its gate and review-packet commands. It contains no network code and installs nothing. SKILL.md gives its SHA-256, and the agent checks its copy before running it; through a connector, the agent writes the file unchanged to a temporary path and deletes it afterwards unless you agree to keep a checked copy in ~/.skilllayer/tools/.

Needs Python 3.10+ and git. After your yes, the agent runs: python3 <tool> gate --base origin/main --mode warn --receipt-dir .skilllayer-receipts, then python3 <tool> review-packet --base origin/main --head HEAD --gate-receipt <receipt> --output .skilllayer-receipts/review-packet-<head>.md, then reads the diff with git and appends Part 2. Files written: the receipt, a run log and the packet, all in .skilllayer-receipts/. If SKILLLAYER_RECEIPT_KEY is set, receipts are signed and the packet checks the signature. --lang ru gives Part 1 in Russian.

## 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 Review Packet for Large AI Agent Pull Requests 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

### Does it approve or merge the pull request?

No. It writes a packet for a person to read. It never approves, merges, blocks or comments unless you ask.

### Does it send my code anywhere?

The tool has no network code. Part 2 is written by the agent you already use, from the diff it reads locally, as with any review you ask it for.

### How is this different from asking my agent to review the PR?

Part 1 comes from a tool that runs your tests and checks the commits itself, bound to the exact commit, and says "not confirmed" when it cannot check. The agent's reading is kept apart and labelled as unchecked, with file and line for each point.

### What if the receipt is from an older commit?

The packet says the receipt belongs to a different change and reports the checks as not confirmed.

### Can it handle a very large diff?

It reads file by file, starting with the riskiest files. Over 40 files or 3,000 lines it asks whether to read everything or the 15 most important files first, and it always says which files it did not read.

---

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.
