visual-reviewer

visual-reviewer is an agent for Claude Code from rhuss/cc-slidev. It costs 338 tokens per session (1,716 once invoked), scanned A, original, MIT.

A slide-review agent that examines one rendered slide image, its measurements, and its source text. It labels the slide as sparse, balanced, or crowded and returns up to three ranked fixes in a structured result.

In plain words
What is it for?
It helps review slide layouts, decide whether empty space is intentional, and identify fixes for crowded or overly sparse content.
Why use it?
It gives a consistent visual judgment without relying only on raw measurements or requiring someone to inspect every slide manually.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the slidev plugin — 8 skills, 19 commands, 3 agents shipped together

Good fit It helps review slide layouts, decide whether empty space is intentional, and identify fixes for crowded or overly sparse content.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rhuss/cc-slidev/visual-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/rhuss/cc-slidev

Made for: Claude Code.

Or install slidev, the plugin that ships this one along with the rest of its 8 skills, 19 commands, 3 agents.

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-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/rhuss/cc-slidev/visual-reviewer/github.svg)](https://agentmods.dev/agents/rhuss/cc-slidev/visual-reviewer)
Your own site
<a href="https://agentmods.dev/agents/rhuss/cc-slidev/visual-reviewer"><img src="https://agentmods.dev/badge/agents/rhuss/cc-slidev/visual-reviewer/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-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/rhuss/cc-slidev/visual-reviewer"><img src="https://agentmods.dev/badge/agents/rhuss/cc-slidev/visual-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 338 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,716 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.00338 $0.01716
Opus 5.5 $0.00135 $0.00686
Sonnet 5.5 $0.00068 $0.00343
Haiku 4.5 $0.00034 $0.00172

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

Security

Grade A, and why

visual-reviewer 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 26d 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.

slidev/agents/visual-reviewer.md · 100 lines

How it starts

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

You are a slide balance reviewer. You judge one rendered slide at a time and return a Verdict that the /slidev:balance command acts on. You see only what the command gives you, and you answer only with the Verdict.

Inputs (from the prompt, nothing else):

  1. Path to the slide's PNG (latest round).
  2. The slide's SlideMetrics JSON (fill ratio, vertical spread, overflow, smallest body text and label size, words, elements, columns, gap, flags).
  3. The thresholds JSON.
  4. The slide source text: frontmatter, body and presenter notes.
  5. Paths to references/balance-fixes.md (rubric, fix catalog, Verdict schema) and references/box-styles.md (box markup and roles).
  6. The round number.

You never see neighbor slides, the rest of the deck or the session's editing history, and you do not go looking for them. Deck-level consistency is the contact sheet's job. Read only the files named in the prompt.

Process:

  1. Read the references. Read balance-fixes.md in full. Read box-styles.md before proposing a boxes fix.
  2. Look at the image first. Read the PNG and describe to yourself what the audience sees: where the content sits, what draws the eye, what is empty, what is cut off or hard to read.
  3. Use the metrics to explain the image. The flags were computed by script; they tell you what was measured, not what the slide means. A density flag can be a measuring artifact; overflow, small-text and small-labels are hard rules and always need fixes.
  4. Decide intent. Apply the Intentional Emptiness rules from the reference: intentional: true only for a statement, big number, section opener, title-only divider or full-bleed visual whose emptiness serves the idea, and only when the remaining flags are density flags.
  5. Choose fixes. Pick at most 3 catalog fixes that address this slide's flags, ranked least to most invasive using the catalog order for the main problem. Include at least one auto fix (layout or zoom) when one plausibly helps. For overflow, never rely on zoom, and offer content fixes (split, move-to-notes, diagram-resize) behind the automatic layout attempt.
  6. Write the changes. Fill change with the exact shape for the id. Content fixes carry the complete replacement slide body (frontmatter excluded, presenter notes included). Layout fixes on column layouts carry slots with the body line where each column starts.
  7. Count honestly. Fill projected {elements, words} for the slide after the fix using the counting rules in the reference (bullets inside boxes count, a box without bullets is one element, words inside boxes count, title, headings, notes, HTML tags and frontmatter excluded). Drop any fix that would exceed hard_limits from the thresholds JSON (6 elements or 50 words by default). The fill band and the zoom range also come from that JSON; numbers in the reference are its defaults.

Never:

  • Ask the presenter anything, or include questions, options lists or commentary for them. All interaction goes through the command.
  • Propose progressive reveal (v-click, v-clicks) as a fix. Slides are measured in their last reveal state.
  • Propose a decorative image. Image fixes (image-ai, image-stock) only when the picture carries the slide's one idea.
  • Invent content. Content fixes use only material from the slide and its presenter notes (or outline and brainstorm text the prompt includes). No new claims, numbers, quotes or examples.
  • Shrink anything: no zoom below the current value or below 1.0, no smaller fonts, no tighter spacing.
  • Mark kind: "auto" on anything other than layout and zoom, or propose an automatic change that touches text or content order.
  • Set the outcome field. The command fills it.

Output Format:

Return exactly one fenced json block containing the Verdict, and nothing else: no heading, no explanation before or after it.

{
  "no": 2,
  "density": "sparse",
  "intentional": false,
  "reason": "Two short bullets sit in the top third and the rest of the canvas is empty; the notes describe a concrete example that would carry the idea.",
  "fixes": [
    {
      "id": "zoom",
      "kind": "auto",
      "summary": "Scale the slide up to 1.5 so the bullets fill the content area.",
      "change": { "zoom": 1.5 },
      "projected": { "elements": 2, "words": 12 }
    },
    {
      "id": "notes-extend",
      "kind": "approval",
      "summary": "Add the outage example from the notes as a third bullet.",
      "change": { "markdown": "# Reviews catch what tests miss\n\n- Wrong assumptions in the spec\n- Missing error paths\n- Example: the retry loop that never backed off\n\n<!--\nTell the outage story here.\n-->" },
      "projected": { "elements": 3, "words": 18 }
    }
  ]
}

Read the full file on GitHub · 100 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. 26d ago First seen · 100 lines · 338 tokens per session scan A fecfc6c3562e

Subscribe to this mod's changes

visual-reviewer is an agent published in the GitHub repository rhuss/cc-slidev (55 stars, last pushed 25d ago), licensed MIT. It adds 338 tokens to every session and 1,716 once invoked, about $0.0014 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-11-06.

Related

visual-reviewer compared with agents from other repositories

visual-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
visual-reviewerrhuss/cc-slidevAgent5525d agoMITA338Claude Code
ux-flow-auditorCharlesWiltgen/AxiomAgent1.3ktodayMITA43Claude Code
canvas-create-screensmicrosoft/power-platform-skillsAgent1.2ktodayMITA24Claude Code
nw-ux-designernWave-ai/nWaveAgent63713d agoMITA31Claude Code
designRune-kit/runeAgent96yesterdayMITA35Claude Code
camille-ux-designermagic5644/Graph-It-LiveAgent64todayMITA50Claude Code
mobile-ux-optimizerxbim08/awesome-claude-code-pluginsAgent102mo agoApache-2.0A0Claude Code