frontend-inspector

frontend-inspector is a skill for Claude Code, Codex from JansenAnalytics/claudex. It costs 36 tokens per session (548 once invoked), scanned A, original, MIT.

A frontend review tool that examines screenshots and source files for visual problems such as poor alignment, overflow, layering errors, inconsistent spacing, and weak color contrast. It also checks common CSS issues and responsive interface concerns.

In plain words
What is it for?
Use it to review screenshots before sharing a frontend, inspect HTML and CSS for likely problems, and organize checks across layout, typography, color, components, and responsiveness.
Why use it?
It helps find interface defects that may be hard to notice from code alone or during casual browser use.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/analyze-screenshot.sh screenshot.png.

Good fit Use it to review screenshots before sharing a frontend, inspect HTML and…

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/JansenAnalytics/claudex
agentmods
npx agentmods add skills/jansenanalytics/claudex/frontend-inspector

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 frontend-inspector

README.md
[![agentmods](https://agentmods.dev/badge/skills/jansenanalytics/claudex/frontend-inspector.svg)](https://agentmods.dev/skills/jansenanalytics/claudex/frontend-inspector)
Your own site
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/frontend-inspector"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/frontend-inspector.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 548 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.00036 $0.00548
Opus 5 $0.00018 $0.00274
Sonnet 5 $0.00007 $0.00110
Haiku 4.5 $0.00004 $0.00055

Measured 3d ago against content hash d4566c9eaee2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

frontend-inspector 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 3d 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.

skills/frontend-inspector/SKILL.md · 83 lines

How it starts

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

frontend-inspector

Analyze frontend screenshots using vision model analysis and automated checks: detect layout bugs, alignment issues, overflow, z-index problems, spacing inconsistencies, color contrast issues.

When to Use

  • Reviewing UI implementations before presenting to stakeholders
  • Checking visual quality of built pages
  • Finding CSS bugs from screenshots or source code
  • Self-reviewing frontend work before presenting to the user
  • Auditing CSS codebases for common anti-patterns

Scripts

analyze-screenshot.sh

Generates a structured vision-model analysis prompt and checklist for a screenshot.

bash scripts/analyze-screenshot.sh screenshot.png

Output: A Markdown document with:

  • The image path for vision model input
  • Structured analysis categories (Layout, Typography, Color, Components, Responsiveness)
  • A checklist template to fill in during review

Use the output as a prompt when analyzing the screenshot with a vision model.

css-issue-detector.py

Static analysis of HTML/CSS files for common issues.

python3 scripts/css-issue-detector.py --input page.html --output report.json

Arguments:

  • --input — HTML file to analyze (required)
  • --output — JSON report output path (default: stdout)

Detects:

  • !important overuse (>10 occurrences = warning)
  • Deeply nested selectors (>4 levels)
  • Magic numbers (hardcoded px values that could be variables)
  • Missing responsive breakpoints (no media queries)
  • z-index wars (z-index > 100)

Output: JSON report with issues grouped by category, each with severity (info/warning/error).

layout-checklist.sh

Generates a page-type-specific review checklist.

bash scripts/layout-checklist.sh --type dashboard

Supported types: dashboard, form, landing, table, card-grid

Output: Markdown checklist with type-specific items to verify.

References

  • references/common-visual-bugs.md — 30+ common frontend visual bugs catalog
  • references/vision-prompt-templates.md — Ready-to-use prompts for vision model screenshot analysis

Read the full file on GitHub · 83 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. 3d ago First seen · 83 lines · 36 tokens per session scan A d4566c9eaee2

Subscribe to this mod's changes

frontend-inspector is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 2mo ago), licensed MIT. It adds 36 tokens to every session and 548 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

reveal-hover-effect

Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…

MengTo/Skills · 66 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

better-colors

Helps you build a color system and answer anything about color in your project. You can generate palettes, use semantic tokens, convert between formats, check contrast and more.

jakubkrehel/skills · 38 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens