review-fetch-phase

review-fetch-phase is a skill for Claude Code from prisma/prisma-next. It costs 39 tokens per session (683 once invoked), scanned A, a copy of review-fetch-phase, Apache-2.0.

A workflow for fetching the current review state of a GitHub pull request and generating saved summaries and helper files. A pull request is a proposed code change shared for review.

In plain words
What is it for?
It helps retrieve review comments and threads, validate the data, and render JSON, Markdown, and summary artifacts.
Why use it?
It creates one validated source of review information before triage or implementation begins.

Skill for Claude Code ✓ vendor

Written for Claude Code: argument-hint in frontmatter.

Good fit It helps retrieve review comments and threads, validate the data, and render JSON, Markdown, and summary artifacts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prisma/prisma-next/review-fetch-phase
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 prisma/prisma-next --skill review-fetch-phase
Clone the repo
git clone --depth 1 https://github.com/prisma/prisma-next

Made for: Claude Code.

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 review-fetch-phase

README.md
[![agentmods](https://agentmods.dev/badge/skills/prisma/prisma-next/review-fetch-phase/github.svg)](https://agentmods.dev/skills/prisma/prisma-next/review-fetch-phase)
Your own site
<a href="https://agentmods.dev/skills/prisma/prisma-next/review-fetch-phase"><img src="https://agentmods.dev/badge/skills/prisma/prisma-next/review-fetch-phase/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 review-fetch-phase

Your own site · 80×15
<a href="https://agentmods.dev/skills/prisma/prisma-next/review-fetch-phase"><img src="https://agentmods.dev/badge/skills/prisma/prisma-next/review-fetch-phase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 683 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 92% copy Near-identical to another mod 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.00039 $0.00683
Opus 5.5 $0.00016 $0.00273
Sonnet 5.5 $0.00008 $0.00137
Haiku 4.5 $0.00004 $0.00068

Measured 2mo ago against content hash f48d64fcb3e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

review-fetch-phase 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 2mo ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/extract-review-targets.mjs, scripts/fetch-review-state.mjs, scripts/guard-review-artifacts-ignored.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

92% identical to review-fetch-phase — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills-contrib/review-fetch-phase/SKILL.md · 100 lines

How it starts

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

Review Fetch Phase

Run only the state acquisition phase of the review-framework loop:

fetch canonical review state JSON (v2), validate it, and render all derived artifacts via scripts.

Run commands from this skill directory. All script paths below are relative to it.

Inputs

  • Required:
    • PR URL (for example: https://github.com/OWNER/REPO/pull/123)
  • Optional:
    • output directory

If output directory is omitted, derive:

wip/reviews/<owner>_<repo>_pr-<number>/

Behavior

  1. Validate and parse PR URL, then compute deterministic paths:
    • <output-dir>/review-state.json
    • <output-dir>/review-state.md
    • <output-dir>/summary.txt
    • <output-dir>/review-targets.json
  2. Ensure <output-dir> exists.
  3. Enforce artifact safety before generation (must be ignored by git):
node ./scripts/guard-review-artifacts-ignored.mjs --dir <output-dir>
  1. Run fetch script to produce canonical JSON:
node ./scripts/fetch-review-state.mjs --pr <PR_URL> --out-json <output-dir>/review-state.json
  1. Validate canonical JSON before deriving additional files:
node ./scripts/validate-review-state.mjs --in <output-dir>/review-state.json
  1. Render markdown from canonical JSON:
node ./scripts/render-review-state.mjs --in <output-dir>/review-state.json --out <output-dir>/review-state.md
  1. Generate text summary from canonical JSON:
node ./scripts/summarize-review-state.mjs --in <output-dir>/review-state.json --format text --out <output-dir>/summary.txt
  1. Extract deterministic triage targets for downstream bootstrap:
node ./scripts/extract-review-targets.mjs --in <output-dir>/review-state.json --out <output-dir>/review-targets.json

Target extraction includes:

  • unresolved review threads
  • pull-request reviews with body text
  • issue comments with body text

Schema contract

  • review-state.json is canonical and must be schema version 2.
  • No backward compatibility is provided for v1 artifacts.
  • Derived artifacts (review-state.md, summary.txt, review-targets.json) are regenerable from canonical JSON.
  • Review artifacts are generated files and must remain untracked in git.

Read the full file on GitHub · 100 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. 2mo ago First seen · 100 lines · 39 tokens per session scan A f48d64fcb3e2

Subscribe to this mod's changes

review-fetch-phase is a skill published in the GitHub repository prisma/prisma-next (407 stars, last pushed 5d ago), licensed Apache-2.0. It adds 39 tokens to every session and 683 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to review-fetch-phase, differing in 2 lines, and is treated as a copy.

Related

review-fetch-phase compared with skills from other repositories

review-fetch-phase next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
review-fetch-phaseprisma/prisma-nextSkill4075d agoApache-2.0A39Claude Code
autoreviewopenclaw/clawhubSkill9.6kyesterdayMITA17Claude Code, Codex
asplos-writing-stylebrycewang-stanford/Awesome-Journal-SkillsSkill1.5kyesterdayMITA65Claude Code
code-that-fits-in-your-headCodeAlive-AI/ai-driven-developmentSkill1942d agoMITA215Claude Code
code-reviewerRightNow-AI/openfangSkill18k5mo agoApache-2.0A17Claude Code, Codex
architect-revieweugenelim/agent-ready-repoSkill35todayApache-2.0A171Claude Code
review-depthjszmajda/lidSkill1222d agoMITA93Claude Code