visual-feedback-loop

visual-feedback-loop is a skill for Claude Code, Codex from vladmdgolam/agent-skills. It costs 137 tokens per session (1,275 once invoked), scanned A, original, MIT.

A feedback system for checking how a web app actually looks while it is being developed. A server asks the browser to capture the current page and saves the returned screenshot with metadata.

In plain words
What is it for?
Use it to capture screenshots of web pages, canvas scenes, charts, animations, or selected components with optional parameters, then inspect and compare the results.
Why use it?
It gives an agent access to rendered results, which helps detect visual problems that are not apparent from source code alone.

Skill for Claude CodeCodex

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

Good fit Use it to capture screenshots of web pages, canvas scenes, charts, animations, or selected components with optional parameters, then inspect and compare the results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vladmdgolam/agent-skills/visual-feedback-loop
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 vladmdgolam/agent-skills --skill visual-feedback-loop
Clone the repo
git clone --depth 1 https://github.com/vladmdgolam/agent-skills

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 visual-feedback-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/vladmdgolam/agent-skills/visual-feedback-loop/github.svg)](https://agentmods.dev/skills/vladmdgolam/agent-skills/visual-feedback-loop)
Your own site
<a href="https://agentmods.dev/skills/vladmdgolam/agent-skills/visual-feedback-loop"><img src="https://agentmods.dev/badge/skills/vladmdgolam/agent-skills/visual-feedback-loop/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 visual-feedback-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/vladmdgolam/agent-skills/visual-feedback-loop"><img src="https://agentmods.dev/badge/skills/vladmdgolam/agent-skills/visual-feedback-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 137 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,275 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00137 $0.01275
Opus 5.5 $0.00055 $0.00510
Sonnet 5.5 $0.00027 $0.00255
Haiku 4.5 $0.00014 $0.00128

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

Security

Grade A, and why

visual-feedback-loop scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl http://localhost:3000/api/dev-screenshot
skills/visual-feedback-loop/SKILL.md · 105 lines

How it starts

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

Visual Feedback Loop

Capture, inspect, and compare visual output from a running web app during iterative development.

How It Works

Agent (CLI)                     Server                            Browser
     |--- GET /api/dev-screenshot -->|--- SSE "capture" ----------->|
     |    ?param=value               |                              |-- capture canvas
     |                               |<-- POST { dataUrl } ---------|
     |                               | writes:
     |                               |   .screenshots/{UTC}.webp
     |                               |   .screenshots/{UTC}.json  (metadata)
     |                               |   .screenshots/latest.webp (convenience copy)
     |<-- { ok, path, latest } ------|

Agent can't access the browser directly. Server relays: GET triggers → SSE notifies browser → browser captures and POSTs back → GET resolves.

Usage

Capture current view:

curl http://localhost:3000/api/dev-screenshot

Capture with params (app-specific — browser client interprets them):

curl 'http://localhost:3000/api/dev-screenshot?component=header&theme=dark'
curl 'http://localhost:3000/api/dev-screenshot?letter=б&depth=0.8'

Then read the result. Response includes path (timestamped file) and latest (convenience copy):

Read .screenshots/latest.webp

Visual Regression (pixel diff)

Compare against a ground truth screenshot using ImageMagick:

magick compare -metric RMSE .screenshots/ground-truth.webp .screenshots/latest.webp .screenshots/diff.webp

RMSE output: 0.01 = ~1% difference (rendering noise), 0.03+ = visible change. Save diff image for inspection.

Metadata Sidecars

Each screenshot gets a JSON sidecar with the same UTC timestamp:

{
  "timestamp": "2026-02-25T08:22:12.655Z",
  "git": { "commit": "0a5726f", "dirty": true },
  "params": { "letter": "о", "chamferModel": "membrane", "cameraView": "front" },
  "format": "webp",
  "file": "2026-02-25T08-22-12-655Z.webp"
}

Read the full file on GitHub · 105 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. 2mo ago First seen · 105 lines · 137 tokens per session scan A e90b368dfbbc

Subscribe to this mod's changes

visual-feedback-loop is a skill published in the GitHub repository vladmdgolam/agent-skills (9 stars, last pushed 23d ago), licensed MIT. It adds 137 tokens to every session and 1,275 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

visual-feedback-loop compared with skills from other repositories

visual-feedback-loop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
visual-feedback-loopvladmdgolam/agent-skillsSkill923d agoMITA137Claude Code, Codex
webgl-holographic-foilnexu-io/open-designSkill106ktodayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill106ktodayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill106ktodayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
glance-canonical-layoutsandroid/skillsSkill10kyesterdayApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.6ktodayMITA47Claude Code