Omniscio

OmniscioSubagent examplesFrontend reviewer

A frontend reviewer subagent

Most UI bugs are not in the code a reviewer reads; they are in the state the code never rendered. The loading skeleton, the empty list, the request that failed, the name that is sixty characters long. A human reviewer catches them when they remember, and a delegated one catches them when the checklist says so.

Checked against Anthropic's Claude Code documentation on November 25, 2026. By the Omniscio team. Updated .

When Claude delegates to it

Claude decides from three things: your request, the subagent's description, and the current context. The description below names components, styles and templates and adds "use proactively", the phrase Anthropic suggests when you want the agent reached for without being asked.

You can name it in the request: "use the frontend-reviewer subagent on my last commit". Anthropic's rule is that the request, the description and the context all decide, so naming it is the strongest signal rather than a guarantee. The transcript then shows a delegation row with the agent's name and a short task description, and the findings arrive under it.

It does not see your conversation. Say which commit, files or feature to review in the request, or leave Bash in its tools so it can run git diff itself.

The file

Save this as .claude/agents/frontend-reviewer.md in the project's .claude/agents/ folder. The states and the checks in the body are the part worth editing for your product, because they are what your team keeps forgetting.

---
name: frontend-reviewer
description: Reviews a UI change for missing states, accessibility errors and layout regressions, and reports findings with file and line. Use proactively after any change to components, styles or templates.
tools: Read, Grep, Glob, Bash
model: inherit
---

You review user interface changes. You do not change code.

Start by seeing the change:
1. Run `git diff` and `git diff --staged`. If the request names a commit, use that instead.
2. Read each changed component in full, not only the changed lines, and read the styles that
   apply to it.

Then check, in this order:
1. States. For every list, form and fetch: is there a loading state, an empty state, an error
   state, and a layout that survives very long text and no text at all? Name the one that is
   missing rather than saying "states".
2. Accessibility. Every image has alternative text or is marked decorative. Every input has a
   label. Every interactive element is reachable and operable by keyboard, in a sensible order.
   Nothing carries meaning by colour alone. Headings run in order.
3. Layout. What happens at the narrowest width you support, at the widest, and at 200% zoom?
   Name the element that breaks.
4. Behaviour a user will notice: focus lost after a dialog closes, a button that stays disabled,
   a scroll position that jumps.

Rules:
- Report only what you can point at. Every finding gets the file, the line, what the user sees,
  and the smallest fix.
- Do not report formatting, naming or taste. Another tool already covers those.
- If the change is clean, say what you inspected and found clean, so a clean review is
  distinguishable from a review that never happened.

Report findings ordered by what a user would hit first.

What each field does

name

The identifier, at most 256 characters and with no colon in it; by convention lowercase with hyphens, and usually the same as the filename. Hooks receive this same value as agent_type, so a hook written against it follows the name.

description

The routing rule, and the only part of the file loaded into every session whether or not the agent runs. Two sentences: what it reviews, and when. Anthropic suggests "use proactively" for an agent you want reached for on its own.

tools

An allowlist. Read, Grep and Glob let it read the components and find the styles that apply to them. Bash exists for one reason: a subagent starts with no conversation history, so it has to run git diff to know what changed.

That is also the hole. Anthropic says directly that allowing Bash leaves a subagent able to change files even with no Edit and no Write. For a reviewer that must not be able to touch the repository, drop Bash and paste the diff into your request instead. Do not delete the tools line to achieve that: a subagent with no tools field inherits every tool available to subagents.

model

The model aliases are sonnet, opus, haiku and fable, a full model ID, or inherit. Without the field, a subagent runs on the session's model. inherit says so out loud and keeps the review on whatever the session uses, which is usually what you want for a judgement call.

Project file or user file

This one belongs in the project. The states, the breakpoints and the accessibility rules are yours, and a user-level copy would impose one product's checklist on every other project you open. A project definition also outranks a user definition of the same name, so the repository's version is the one that runs.

  • .claude/agents/ is the project's, and is usually committed so the whole team reviews the same way.
  • ~/.claude/agents/ is yours and follows you into every project.
  • Both are scanned recursively, and two files that declare the same name inside one directory means only one of them loads; /doctor reports the pair.

Confirm Claude picked it up

  1. No restart. Claude Code watches both agent directories and picks an edit up within a few seconds; the exceptions are a folder added with --add-dir and a session started with --disable-slash-commands.
  2. Ask for it by name on a change you know: "use the frontend-reviewer subagent on the settings page".
  3. /tasks shows the run and the model it is on, which confirms the model line (v2.1.242 or later).
  4. /agents prints a reminder to manage subagents through Claude or by editing the folders; the wizard that listed them was v2.1.197 and earlier.
  5. The transcript shows the delegation as one row, with the findings under it.

When it goes wrong

  • It never fires. The description named a role instead of a moment. "Reviews user interface changes" gives Claude nothing to match; "after any change to components, styles or templates" does.
  • It reviews the whole app. It has no history, and without Bash it cannot see the diff. Name the files, or leave Bash in.
  • It asks what changed. Its context is its own prompt, the delegation message, your CLAUDE.md files, a git status snapshot and any preloaded skills, plus a roster of its sibling agents when it can message them — never your conversation.
  • It refuses to launch. A tools list where no entry resolves is usually refused with an error naming the entries. An empty list, or one disallowedTools empties, launches with no tools instead.
  • It reports taste as defects. The rules at the end of the body are the guard: file and line, what a user sees, or nothing. Trim the prompt, not the reviewer, if it still argues about spacing.

Adapting it to your product

  1. Name your states, not the generic four. A dashboard and a checkout form forget different ones.
  2. Write the breakpoints you actually support, and the narrowest device that matters.
  3. Add one accessibility rule your team broke recently. "Every dialog returns focus to the button that opened it" is checkable; "be accessible" is not.
  4. Keep the clean-review line. A reviewer that says what it inspected is how you tell "nothing found" from "nothing run".

The other files are on the subagent examples page, and the subagents guide covers what a subagent inherits and what it costs.

Sources

  • Anthropic's Create custom subagents, for the file format, the frontmatter reference, delegation, the tool rules and what a subagent receives at startup, read November 25, 2026.
  • Anthropic's error reference, for the zero-tools refusal and its exceptions, read November 25, 2026.
  • Anthropic's commands reference, for /agents and /tasks, read November 25, 2026.

The agent file and its checklist were written for this site. The fields and their behaviour are Anthropic's and were read from the pages above on the same day. The agent was not run against a live repository here.

Common questions

What does a frontend reviewer subagent check?

The states a change usually forgets — loading, empty, error, very long text — then accessibility (labels, roles, focus order, alternative text), then layout at the narrowest and widest width you support. It reports with file and line and changes nothing.

Can a subagent take screenshots of my UI?

Only with a tool that does it: a browser tool, or a script your project already has, run through Bash. Reading the image back needs an image-capable model, so most teams have the agent read the component and its states, and look at the screenshot themselves.

Why does my frontend agent review the whole app?

It starts with no conversation history and cannot see your change. Give it Bash so it can run git diff, or name the files and the commit in the request.

Should the frontend reviewer be allowed to edit files?

Usually not. A reviewer that edits stops being a second opinion. Keep its tools to reading and searching; leave Bash in for the diff, and drop it too if the agent must not be able to write at all.

A review before the screenshot breaks

Omniscio is a desktop app for running Claude Code and other coding agents side by side, with one list of sessions and one inbox, so an agent only interrupts you when a decision needs you.

The features page lists what is in it today, pricing covers the plans, and you can download it for Windows, macOS or Linux.