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 CSS for likely problems, and organize checks across layout, typography, color, components, and responsiveness.

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/github.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/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 frontend-inspector

Your own site · 80×15
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/frontend-inspector"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/frontend-inspector.svg" alt="Reviewed on agentmods" width="80" 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.5 $0.00014 $0.00219
Sonnet 5.5 $0.00007 $0.00110
Haiku 4.5 $0.00004 $0.00055

Measured 2mo ago against content hash d4566c9eaee2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 2mo 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 5mo ago), licensed MIT. It adds 36 tokens to every session and 548 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-09-03.

Related

frontend-inspector compared with skills from other repositories

frontend-inspector next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
frontend-inspectorJansenAnalytics/claudexSkill55mo agoMITA36Claude Code, Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill51ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
prototype-webnexu-io/html-anythingSkill17k2d agoApache-2.0A24Claude Code, Codex
open-design-setupcompozy/compozySkill2.9ktodayMITA67Claude Code, Codex
frontend-visual-qadaymade/claude-code-skillsSkill1.6kyesterdayMITA94Claude Code, Codex