proof-looping

A workflow for proving that an AI agent works inside a real application. It uses benchmarks, browser checks, independent judging, evidence, and repeated testing across the app's user-interface surfaces.

In plain words
What is it for?
For setting up a proof loop, mapping an app and its agent harness, testing user-interface and internal execution paths, and adding completion checks to CI, the system that runs automated project checks.
Why use it?
It helps catch false claims that a task succeeded, such as an app's demo content making an authentication-gated task appear complete.

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/homenshum/nodebenchai/proof-looping
Any agent
npx skills add HomenShum/NodeBenchAI --skill proof-looping
Clone the repo
git clone --depth 1 https://github.com/HomenShum/NodeBenchAI

Made for: Claude Code, Codex.

Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,472 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.00118 $0.01472
Opus 5 $0.00059 $0.00736
Sonnet 5 $0.00024 $0.00294
Haiku 4.5 $0.00012 $0.00147

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

Security

Grade A, and why

proof-looping 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.

.claude/skills/proof-looping/SKILL.md · 85 lines

How it starts

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

proof-looping — "Make no mistake, but for real this time"

No "done" without proof — and the proof is scored by an independent judge, never a deterministic heuristic alone. (In the reference run, a deterministic check false-PASSED an auth-gated task twice, fooled by the app's own demo/template content; only an independent visual judge + a content-match to the task caught it. Preventing that exact lie is why this skill exists.)

Covers six keywords: agent harness · benchmark · UI · prod agent · loop engineering · agentic RL.

The loop (8 phases)

  1. Set up proofloop — drop surface-bench.mjs (UI breadth) + proofloop-run.ts (harness depth), add proofloop:ui / proofloop:engine npm scripts, an AGENTS.md completion gate, and a CI job. Enforcement lives in CI/branch-protection, NOT in the agent's good intentions.
  2. Ingest codebase + agent harness — map the REAL runtime: the loop (classify → plan → tool → execute → synthesize), the model seam (how tool/model calls are injected — e.g. a callTool("call_llm") callback), routes, and any existing eval infra. Ground in real files (read them); never assert a file/flag you didn't open.
  3. Intake UI + its mental model — enumerate every surface (router paths + the agent-readable screen registry, e.g. data-screen-id), the user's job on each, and the interactive affordances (composer input, submit, completion signal). One dominant job per surface.
  4. Research design references — pull the top web-design exemplars for the app's category; turn them into the visual-judge rubric (first-pixel-is-action, one job per screen, no overflow, visible loading/empty/error, screenshot-worthy output).
  5. Research benchmark — find the benchmark matching the deliverable shape, not the hype: spreadsheet edits → SpreadsheetBench; coding repair → SWE-bench; tool-use → BankerToolBench; research-with-sources → GAIA / FRAMES / SimpleQA or the app's own persona/tri-search evals. Picking a benchmark for the wrong shape is the most common waste.
  6. Pick benchmark — choose it, then write the task set + per-task acceptance criteria (a concrete expect per surface/task — a blanket "page has >200 chars" rule will mis-grade a graceful 404 and pass a blank demo). Keep a held-out split; no answer-keys.
  7. Set up LOCAL env with benchmark tasks — run the app locally so YOU control auth, seed data, and model. This is deliberate: prod auth is often OAuth = a real wall, and benchmarking prod pollutes it. Local lets every task run repeatably, browser-verified, with a seeded/test session and the model you choose (point the harness's model seam at your target model for parity).
  8. Run it · ship it · prod-proof it · loop itproofloop:ui drives every surface in a real browser (screenshot + video + console + deterministic UI-contract checks + visual judge + interactive submit→result task); proofloop:engine runs the real harness on your model and exports an (s,a,o,r) trace. Gate: a surface counts only if render PASS && task PASS && visual ≥ 1. Promote every failure to a regression check. Loop until the gate is green; the traces become agentic-RL reward data.

Read the full file on GitHub · 85 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. 2d ago First seen · 85 lines · 118 tokens per session scan A d7d8e792ebe4

Subscribe to this mod's changes

proof-looping is a skill published in the GitHub repository HomenShum/NodeBenchAI (14 stars, last pushed 19d ago), licensed MIT. It adds 118 tokens to every session and 1,472 once invoked, about $0.0006 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

playwright-cli

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

VoltAgent/voltagent · 52 tokens

browser-testing-with-screenshots

Use when testing web applications with visual verification - automates Chrome browser interactions, element selection, and screenshot capture for confirming UI functionality.

AgentWorkforce/relay · 32 tokens

agent-browser

Use the host-side agent-browser CLI for local browser smoke tests, screenshots, snapshots, and simple UI validation against forwarded localhost URLs.

superagent-ai/grok-cli · 31 tokens

playwright-e2e-testing

Author and maintain versioned Playwright (@playwright/test) TypeScript UI specs for browser user flows. Use when asked to create, run, debug, or refactor E2E tests, form/navigation/auth flows, responsive checks, UI mocking, fixtures, Page Objects, or visual comparisons. Use api-testing for standalone REST/GraphQL…

fugazi/test-automation-skills-agents · 103 tokens

webapp-selenium-testing

Author and maintain versioned Selenium WebDriver tests with Java and JUnit 5. Use for creating, debugging, or running Selenium specs, implementing Page Objects, handling explicit waits, capturing screenshots, or setting up Maven test projects. Supports Chrome, Firefox, and Edge. Keywords: Selenium WebDriver, Java…

fugazi/test-automation-skills-agents · 84 tokens

loom-e2e-testing

End-to-end testing for web applications with Playwright, Cypress, Selenium, and Puppeteer. Use for setting up E2E tests, debugging failures, improving reliability, and implementing browser automation with Page Object Model, selector strategies, network interception, visual regression, and flaky-test prevention.

cosmix/loom · 63 tokens