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.
git clone --depth 1 https://github.com/heristop/leclapnpx agentmods add skills/heristop/leclap/pr-evidenceWrote 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.
[](https://agentmods.dev/skills/heristop/leclap/pr-evidence)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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:
- Snapshots: before/after stills of every screen the change affects.
- 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 oforigin/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
pkillthe user's servers or anypnpm dev/viteyou 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.mjsandcamera-warmup/capture.mjs. Theirmake-media.shsiblings 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.
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.
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.
- today Changed · +4 lines d6405a9f8ebf
- yesterday Changed 580bb13e19e4
- 28d ago Changed e3e9d2ebe2c3
- 1mo ago First seen · 127 lines · 71 tokens per session scan A 25ba3f917b91
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.
pr-evidence compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pr-evidenceheristop/leclap | Skill | 36 | today | MIT | A | 71 | Claude Code, Codex |
| qiaomu-cutjoeseesun/qiaomu-cut-skill | Skill | 390 | 1mo ago | MIT | B | 218 | Codex |
| triage-contributor-prprisma/orm | Skill | 48k | today | Apache-2.0 | A | 131 | Claude Code |
| review-implement-phaseprisma/orm | Skill | 48k | today | Apache-2.0 | A | 38 | Claude Code |
| review-triage-phaseprisma/orm | Skill | 48k | today | Apache-2.0 | A | 36 | Claude Code |
| no-bare-castsprisma/orm | Skill | 48k | today | Apache-2.0 | A | 52 | Claude Code, Codex |
| doc-reviewprisma/orm | Skill | 48k | today | Apache-2.0 | A | 95 | Claude Code, Codex |