ap-review

ap-review is a skill for Claude Code, Codex from agentproto/ts. It costs 91 tokens per session (1,143 once invoked), scanned A, original, Apache-2.0.

A review workflow that runs the checks defined in a repository's REVIEW.md file and records a verdict for a branch. It can report whether the review passed, blocked, or could not fully complete, and can link the result to a GitHub pull request.

In plain words
What is it for?
Use it to start and monitor repository reviews, inspect failed checks, cancel runs, read recorded attestations, export results, and attach a result to a pull request.
Why use it?
It gives a repeatable review gate instead of relying on an unrecorded manual check, while distinguishing failures from timeouts or incomplete runs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to start and monitor repository reviews, inspect failed checks, cancel runs, read recorded attestations, export results, and attach a result to a pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentproto/ts/ap-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add agentproto/ts --skill ap-review
Clone the repo
git clone --depth 1 https://github.com/agentproto/ts

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ap-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentproto/ts/ap-review/github.svg)](https://agentmods.dev/skills/agentproto/ts/ap-review)
Your own site
<a href="https://agentmods.dev/skills/agentproto/ts/ap-review"><img src="https://agentmods.dev/badge/skills/agentproto/ts/ap-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ap-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentproto/ts/ap-review"><img src="https://agentmods.dev/badge/skills/agentproto/ts/ap-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,143 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.01143
Opus 5.5 $0.00036 $0.00457
Sonnet 5.5 $0.00018 $0.00229
Haiku 4.5 $0.00009 $0.00114

Measured yesterday against content hash 20ff2ca43852, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ap-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/skill-pack-agentproto/src/skills/ap-review/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ap-review

MCP profile: full only

The six review_* tools exist only on the daemon's full MCP profile. In a session narrowed to core, orchestrator, apps or admin they are not in tools/list at all. If a review tool is "missing", check the profile of the connection that is asking.

A review runs the checks that the repo's own REVIEW.md declares: command lanes run as sh -c subprocesses and agent lanes as child reviewer sessions. Only run it on a repo whose REVIEW.md you trust.

Tools

Task: launch a review and read its verdict

  1. Call review_run with cwd and wait: false. It returns runId at once; the default wait: true blocks until the whole review ends.
  2. Poll review_status with the runId (the CLI polls the same way). While status is running you only get the lanes settled so far.
  3. When status is done, read verdict first: pass, block or incomplete. Then read attestation.lanes: each lane has a status (pass, fail, skipped, timeout) and, for a failed agent lane, its findings.
  4. block means a blocking lane failed: fix the findings. incomplete means a lane timed out or could not run: it is not a rejection and not a pass; fix the cause (a reviewer preset, a timeout) and run again with nocache: true if you need every lane to run fresh.
  5. status: "failed" carries an error (bad REVIEW.md, unresolvable range) and no verdict. status: "cancelled" also has none.

To stop a run, call review_cancel: it records nothing in the ledger.

  1. review_ledger with cwd (add binding or range) lists attestations newest first. Take the row's runId. For a review still in flight, add includeRunning: true.
  2. review_export with that runId writes the full attestation as JSON. Give it an outPath, or let the manifest's verdict.exportDir decide. This is the file agentproto review verify checks in CI.
  3. review_pr with the runId follows the review to its GitHub pull request through the daemon host's gh, records the link, and returns the PR's state, reviews and checks. Without a runId, pass prUrl or cwd.
  4. If you already know the PR when you start a review, pass pr to review_run and the link is recorded from the start.

Read the full file on GitHub · 86 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 86 lines · 91 tokens per session scan A 20ff2ca43852

Subscribe to this mod's changes

ap-review is a skill published in the GitHub repository agentproto/ts (11 stars, last pushed today), licensed Apache-2.0. It adds 91 tokens to every session and 1,143 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-01.

Related

ap-review compared with skills from other repositories

ap-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ap-reviewagentproto/tsSkill11todayApache-2.0A91Claude Code, Codex
code-review-recent-changessammcj/agentic-codingSkill175todayApache-2.0A66Claude Code
code-reviewsammcj/agentic-codingSkill175todayApache-2.0A20Claude Code, Codex
code-simplificationsammcj/agentic-codingSkill175todayApache-2.0A42Claude Code, Codex
self-reviewsammcj/agentic-codingSkill175todayApache-2.0A24Claude Code
improve-codebase-architecturesammcj/agentic-codingSkill175todayApache-2.0A66Claude Code, Codex
resolve-drive-promnigent-ai/omnigentSkill12ktodayApache-2.0A21Claude Code, Codex