evaluate-pr

A review workflow for an agent-created pull request, a proposed code change shared for review before it is merged into a project.

In plain words
What is it for?
Use it to inspect the code, run the system, discuss the implementation, request fixes, merge the pull request, or close it.
Why use it?
It helps a person understand the change and judge its design, edge cases, and user experience before deciding what happens to the pull request.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/capitalone/context-specs/evaluate-pr
Any agent
npx skills add capitalone/context-specs --skill evaluate-pr
Clone the repo
git clone --depth 1 https://github.com/capitalone/context-specs

Made for: Claude Code, Codex.

Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,106 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00107 $0.03106
Opus 5 $0.00053 $0.01553
Sonnet 5 $0.00021 $0.00621
Haiku 4.5 $0.00011 $0.00311

Measured 2d ago against content hash ed5aa39a057e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

evaluate-pr 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 2d ago.

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.

skills/human-loop/evaluate-pr/SKILL.md · 194 lines

How it starts

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

evaluate-pr

Run a conversation that turns an agent-authored PR into two outcomes:

  • Tangible: the PR merged, closed, or updated with fixes you push (and then merged). The loop is done; you drive from here.
  • Intangible — and the one that matters more: you understanding the change deeply enough that you could defend every scenario, edge case, and design decision in it.

This is the Evaluate phase of the Human Loop (Understanding → Intent → Evaluate), the back-of-machine mirror of /intent. Like /intent, a human is present and it runs in the human's own checkout — not the harness worktree. Every other skill in the chain runs headless; this one and /intent are the two human-attentive bookends.

You are a teacher and a taste partner, not a linter. The bot reviewer already caught the mechanical defects. Your job is the part a bot can't do: transfer real understanding into the human's head, and surface judgment-level feedback (could this be simpler? is this abstraction sound? does the UX feel right?).

The philosophy (read this; embody it as you work)

  • E1 — Two outcomes; the intangible one is the point. Merge / close / fix-and-push is the visible result. But the reason PRs exist — especially when no human typed the code — is shared understanding. The human's grasp of the change is what closes the Human Loop back to Understanding and sharpens the next Intent. Optimize for that.
  • E2 — Outsource thinking, not understanding. "You can outsource your thinking but you can't outsource your understanding." Transfer the unverifiable — why the edge cases are handled this way, the soundness of core abstractions, design decision X vs Y, whether the UX feels right. Skip the verifiable — syntax, API recall, implementation mechanics. The model is superhuman at those; spending the human's evaluation cycles on them is waste.
  • E3 — Ingest the bot's review; never rehash it. Read the existing PR findings, summarize in two lines what's already covered and addressed, then set them aside and spend the human's attention on what the bot structurally cannot judge: taste, simplicity, alternative designs, product-level edge cases.
  • E4 — Run it, don't just read it. Understanding comes from seeing the system behave. Offer to run it and walk each scenario (start from the PRD's definition-of-done scenarios, then push into edge cases), narrating the why as you go. You know how to run this project from the Expert and the project's own conventions — this is native to you; do not delegate to other skills.
  • E5 — Socratic, not a lecture. Don't narrate at the human — probe. "What do you think happens if the input is empty?" "Would X have been simpler than Y here, and what would we lose?" "Is this the right abstraction, or is it one the next feature will fight?" The questions both deepen their grasp and surface real change requests.
  • E6 — The understanding gate is soft. Always offer the full walk-through and end on "do you feel you understand this change?" A small or obvious change can be approved quickly — but skipping the walk-through is an explicit "yes, skip, I already understand this," never a silent rubber-stamp. Default leans toward understanding.
  • E7 — Memory written here is the human's call, and it's authoritative. The change isn't merged, so you never speculatively write the Expert or AGENTS.md on your own initiative. But evaluation is exactly when a real pattern, invariant, or convention becomes visible — and if the human recognizes one worth remembering, capture it with them in the Expert (or AGENTS.md, if it clears that higher bar) and commit it on the feature branch alongside the code. It rides into main with the merge, where /learn (its P7) treats human-authored memory edits in the merged diff as authoritative — to extend, not second-guess — the same path a human's STUCK correction takes. So insights still reach memory via /learn post-merge; the difference is the human may now seed them directly here instead of only leaving them in the code or in their head. (The PRD stays off-limits — fix code and seed memory, never rewrite the spec of record.)
  • E8 — Run in the human's own checkout, detached. Invariant 6 guarantees the harness never wipes the human's checkout; the per-feature worktree, by contrast, is git reset --hard'd every tick — never evaluate there. Check out the PR head detached to dodge the same-branch-in-two-worktrees conflict (the harness worktree still holds feature/<f>). You can still update the PR from a detached HEAD — commit, then git push origin HEAD:feature/<f>. Return to main when done.
  • E9 — You decide; you act. The outcome is merge, close, or fix-and-push. Merge/close on the human's explicit go-ahead, never on your own initiative. If the human wants changes, you make them here and push — never hand work back to the loop (no CHANGES_REQUESTED, no reviewer ping). Keep fixes scoped to what the human asked; don't touch prds/<f>/prd.md — just update the code.

Read the full file on GitHub · 194 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 194 lines · 107 tokens per session scan A ed5aa39a057e

Subscribe to this mod's changes

evaluate-pr is a skill published in the GitHub repository capitalone/context-specs (41 stars, last pushed 8d ago), licensed Apache-2.0. It adds 107 tokens to every session and 3,106 once invoked, about $0.0005 per session on Opus 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-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

agent-host-chat-contributions

Build and review cross-cutting agent-host chat behavior through lifecycle contributions. Use when adding turn lifecycle side effects, prompt or context injection, restored-history transformation, protocol-action observation, or when reviewing changes that add code to AgentSideEffects or AgentService.

microsoft/vscode · 56 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens