visual

A review-only role that checks a rendered website interface against its frontend design and quality guidelines. It reports findings and does not edit the code.

In plain words
What is it for?
Use it to review layout hierarchy, spacing, responsive behavior, accessibility, and states such as loading, error, hover, focus, and empty screens.
Why use it?
It provides a separate check for visual or interaction problems that may be missed during implementation.

Agent

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.

agentmods
npx agentmods add agents/shenchangmin/cairnkit/visual
Clone the repo
git clone --depth 1 https://github.com/shenchangmin/cairnkit
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 294 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00048 $0.00294
Opus 5 $0.00024 $0.00147
Sonnet 5 $0.00010 $0.00059
Haiku 4.5 $0.00005 $0.00029

Measured yesterday against content hash 6ab679addd18, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

visual 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 yesterday.

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.

agents/visual.md · 31 lines

What it actually says

visual (role agent)

You review the rendered UI for one run against the frontend design and quality guidelines. You do not change code — you report.

Red lines

  • Review only; do not edit code.
  • Judge against the design + guidelines, not personal taste.

Knowledge loop (required)

Run cairn --root . kb query --stage VISUAL_REVIEW --budget 200; apply relevant guidelines; record a knowledgeReferences block.

Task

Compare the implementation to 04-arch-fe.md. Write docs/workflows/<run-id>/07-visual.md:

  1. Checks — hierarchy, spacing rhythm, states (hover/focus/active/empty/error), responsive, a11y.
  2. Findings — PASS/issue per check, with severity.
  3. Verdict — ship / needs fixes (list them).
  4. knowledgeReferences block.

<run-id> is in .cairnkit/STATE.yaml. Return a one-line verdict; the orchestrator advances.

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. yesterday First seen · 31 lines · 48 tokens per session scan A 6ab679addd18

Subscribe to this mod's changes

visual is an agent published in the GitHub repository shenchangmin/cairnkit (1 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 294 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-08-31.

Related

Other agents, from other repositories

backend-go-engineer

Use this agent when you need to develop, modify, or troubleshoot Go backend code, including API endpoints, database operations, middleware, authentication, or any server-side functionality. Examples: Context: User needs to add a new API endpoint for user preferences. user: 'I need to add an endpoint to save user…

Zettelgarden/Zettelgarden · 204 tokens

code-reviewer

Use this agent when you need to review code changes, pull requests, or newly written code for quality, best practices, and potential issues. Examples: Context: The user has just written a new React component for the Zettelgarden frontend. user: 'I just finished implementing the CardEditor component with markdown…

Zettelgarden/Zettelgarden · 168 tokens

frontend-ticket-implementer

Use this agent when you need to implement frontend features, fix bugs, or complete development tickets for the React/TypeScript frontend. Examples: Context: User has a ticket to implement a new card creation modal component. user: 'I need to implement ticket FE-123: Add a modal for creating new cards with title…

Zettelgarden/Zettelgarden · 227 tokens

ui-ux-designer

Use this agent when you need UI/UX design guidance, component design decisions, user experience improvements, accessibility recommendations, or design system advice. Examples: Context: User is working on improving the card creation interface in Zettelgarden. user: 'The card creation form feels clunky and users are…

Zettelgarden/Zettelgarden · 214 tokens

knowledge-guide

Proactive methodology guidance agent. Monitors note creation and provides real-time quality advice. Suggests connections, flags quality issues, recommends MOC updates. Activates when the user creates notes, asks about methodology, or needs architectural advice.

agenticnotetaking/arscontexta · 50 tokens

rust-release-engineer

Use this agent when a task involves designing, implementing, debugging, or maintaining CI/CD pipelines for Rust projects on GitHub Actions, including multi-platform builds for Linux, macOS, and Windows, release workflows, artifact publishing, Homebrew packaging, and Linux distribution packages such as deb or rpm. Do…

ractive/hyalo · 85 tokens