verify-pixels

verify-pixels is a skill for Claude Code, Codex from playcanvas/create-playcanvas. It costs 29 tokens per session (397 once invoked), scanned A, original, MIT.

A testing guide for PlayCanvas graphics changes that should leave every rendered pixel unchanged. It uses repeatable frames and direct pixel comparisons instead of visual inspection.

In plain words
What is it for?
It helps verify draw-call optimizations, hardware instancing, shader or material refactors, and asset-pipeline changes across different poses and animation phases.
Why use it?
It removes uncertainty caused by animation, timing, screenshots, and changing render conditions. You can check that an optimization or refactor produces exactly the same image.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps verify draw-call optimizations, hardware instancing, shader or material refactors, and asset-pipeline changes across different poses and animation phases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/playcanvas/create-playcanvas/verify-pixels
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 playcanvas/create-playcanvas --skill verify-pixels
Clone the repo
git clone --depth 1 https://github.com/playcanvas/create-playcanvas

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 verify-pixels

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/playcanvas/create-playcanvas/verify-pixels"><img src="https://agentmods.dev/badge/skills/playcanvas/create-playcanvas/verify-pixels.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 397 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00029 $0.00397
Opus 5.5 $0.00012 $0.00159
Sonnet 5.5 $0.00006 $0.00079
Haiku 4.5 $0.00003 $0.00040

Measured 23d ago against content hash 1b02b1ce87e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

verify-pixels 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 23d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/verify-pixels/SKILL.md · 37 lines

What it actually says

Prove pixels unchanged

Choose the gate

  • Byte-exact: the change keeps the same decoded data and the same shading math, so every pixel must match.
  • Side-by-side review: the change alters sampled values, random order, precision, or where math runs. Report it as "not byte-gateable" and show old and new at each pose; do not invent thresholds.

Make frames deterministic

  • Load every asset and match camera, canvas size, lighting, and animation time between builds. Seed incidental randomness.
  • Drive animated shaders from one app-owned time value, not Date.now() or performance.now().
  • app.timeScale = 0 makes dt zero, but update still runs; anything counting frames or reading wall-clock time still advances.
  • Set app.autoRender = false, then app.renderNextFrame = true before each frame to capture.

Capture and compare

  • WebGL: await (device as WebglGraphicsDevice).readPixelsAsync(x, y, w, h, pixels). WebGPU: render into a RenderTarget and read its colorBuffer with Texture#read(). Avoid colour conversion and lossy encoding.
  • Capture the unmodified build twice first. The captures must match exactly, or the harness itself is noisy.
  • Cover every touched surface in at least two poses, plus a mid-animation phase where relevant.
  • Report the count, for example "0 of 65536 pixels differ", or the count and where the differences are. "Looks the same" is not a result.

Keep harness code out of the shipped bundle; attach it through inspect-runtime.

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. 23d ago Changed 1b02b1ce87e1
  2. 24d ago Changed · -34 lines · -20 tokens per session 1aff22710d7b
  3. 26d ago Changed · +20 lines · +3 tokens per session 0583c6ffc189
  4. 1mo ago First seen · 51 lines · 46 tokens per session scan A b59c7450d676

Subscribe to this mod's changes

verify-pixels is a skill published in the GitHub repository playcanvas/create-playcanvas (61 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 397 once invoked, about $0.0001 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-08-30.