pr-evidence

pr-evidence is a skill for Claude Code, Codex from heristop/leclap. It costs 71 tokens per session (4,077 once invoked), scanned A, original, MIT.

A pull-request evidence guide for visible changes in the LeClap web or mobile apps. It requires before-and-after screenshots and a before-and-after video made with the project's own rendering engine.

In plain words
What is it for?
Deciding when evidence is required, capturing matching screens and states, rendering the evidence video, and embedding the media in a pull-request description.
Why use it?
It gives reviewers a direct visual comparison and makes skipped evidence explicit when a change has no visible effect.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node packages/leclap-cli/dist/index.js validate evidence-house --content <work>/content.json.

Good fit Deciding when evidence is required, capturing matching screens and states, rendering the evidence video, and embedding the media in a pull-request description.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/heristop/leclap
agentmods
npx agentmods add skills/heristop/leclap/pr-evidence

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 pr-evidence

README.md
[![agentmods](https://agentmods.dev/badge/skills/heristop/leclap/pr-evidence/github.svg)](https://agentmods.dev/skills/heristop/leclap/pr-evidence)
Your own site
<a href="https://agentmods.dev/skills/heristop/leclap/pr-evidence"><img src="https://agentmods.dev/badge/skills/heristop/leclap/pr-evidence/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 pr-evidence

Your own site · 80×15
<a href="https://agentmods.dev/skills/heristop/leclap/pr-evidence"><img src="https://agentmods.dev/badge/skills/heristop/leclap/pr-evidence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,077 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.00071 $0.04077
Opus 5.5 $0.00028 $0.01631
Sonnet 5.5 $0.00014 $0.00815
Haiku 4.5 $0.00007 $0.00408

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

Security

Grade A, and why

pr-evidence 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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (attach-video.js), 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.

.agents/skills/pr-evidence/SKILL.md · 131 lines

How it starts

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

PR evidence for app changes

The rule

A pull request that touches apps/leclap-web/** or apps/leclap-expo/** ships with two kinds of evidence in its description:

  1. Snapshots: before/after stills of every screen the change affects.
  2. A video made by LeClap: a short before/after evidence clip, rendered by this repo's own engine. It is not a raw screen recording, and it is never a GIF.

Check the trigger against the base branch, not your memory of the diff:

git diff --name-only origin/main...HEAD | grep -E '^apps/leclap-(web|expo)/' && echo "evidence required"

The only exemption is a change with no visible effect, such as tests, types, lint or build config. Even then the description says so in one line (No visible change: <why>), so a reviewer knows the evidence was skipped on purpose rather than forgotten.

1. Decide what to prove

  • Before is the branch's base, git merge-base origin/main HEAD, not the tip of origin/main, which may carry unrelated changes; after is the branch. Show the same screen, state, data and viewport on both sides, or the comparison proves nothing.
  • Pick the moment that shows the change: the broken state, the fixed state, the new control in use. Avoid navigation or loading screens.
  • Use real content, not lorem ipsum or empty states, unless the empty state is the change.

2. Capture

Work from two worktrees, one on the merge base and one on the branch, so both sides run the real code. A fresh worktree needs the engine dist and the staged assets before the apps run; see the monorepo-dev-workflow skill.

Web (apps/leclap-web)

  • Run your own Vite dev server on a free port in each worktree. Never stop, restart or pkill the user's servers or any pnpm dev/vite you didn't start: it kills their live preview.
  • Drive the pages with a standalone Playwright script, not the Playwright MCP, which throttles to about 2 fps and can return stale frames. Models to copy: .github/pr-media/{typed-fields,open-in-builder,webmcp}/record.mjs and camera-warmup/capture.mjs. Their make-media.sh siblings also write an animated WebP (-loop 0): don't copy that step, the video replaces it.
  • Viewports: 1440×900 and 390×844, at device scale factor 2.
  • Themes: light and dark where the surface supports both. The studio is dark-only (StudioSurface.tsx), so shoot it once.
  • Record the flow with recordVideo: { dir, size: { width: 1024, height: 768 } } on the browser context. That gives the capture the video is built from: a 1024×768 capture fills each 4:3 pane exactly, any other shape is letterboxed, and Playwright's default 800×800 gets upscaled.

Read the full file on GitHub · 131 lines

Files

What ships with it

1 file 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. today Changed · +4 lines d6405a9f8ebf
  2. yesterday Changed 580bb13e19e4
  3. 28d ago Changed e3e9d2ebe2c3
  4. 1mo ago First seen · 127 lines · 71 tokens per session scan A 25ba3f917b91

Subscribe to this mod's changes

pr-evidence is a skill published in the GitHub repository heristop/leclap (36 stars, last pushed today), licensed MIT. It adds 71 tokens to every session and 4,077 once invoked, about $0.0003 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-10-13.

Related

pr-evidence compared with skills from other repositories

pr-evidence next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pr-evidenceheristop/leclapSkill36todayMITA71Claude Code, Codex
qiaomu-cutjoeseesun/qiaomu-cut-skillSkill3901mo agoMITB218Codex
triage-contributor-prprisma/ormSkill48ktodayApache-2.0A131Claude Code
review-implement-phaseprisma/ormSkill48ktodayApache-2.0A38Claude Code
review-triage-phaseprisma/ormSkill48ktodayApache-2.0A36Claude Code
no-bare-castsprisma/ormSkill48ktodayApache-2.0A52Claude Code, Codex
doc-reviewprisma/ormSkill48ktodayApache-2.0A95Claude Code, Codex