visual-companion

visual-companion is a skill for Claude Code, Codex from odarino/haren. It costs 21 tokens per session (3,168 once invoked), scanned A, original, MIT.

A local browser tab for showing mockups, layout choices, diagrams, and other visual options while recording the user's clicks.

In plain words
What is it for?
It is for reviewing UI wireframes, layouts, navigation, component designs, diagrams, flowcharts, color choices, and before-and-after views.
Why use it?
It makes visual choices easier to compare when words alone would not clearly show a user interface or system structure.

Skill for Claude CodeCodex

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

Good fit It is for reviewing UI wireframes, layouts, navigation, component designs, diagrams, flowcharts, color choices, and before-and-after views.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/odarino/haren/visual-companion
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.

Any agent
npx skills add odarino/haren --skill visual-companion
Clone the repo
git clone --depth 1 https://github.com/odarino/haren

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 visual-companion

README.md
[![agentmods](https://agentmods.dev/badge/skills/odarino/haren/visual-companion/github.svg)](https://agentmods.dev/skills/odarino/haren/visual-companion)
Your own site
<a href="https://agentmods.dev/skills/odarino/haren/visual-companion"><img src="https://agentmods.dev/badge/skills/odarino/haren/visual-companion/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-companion

Your own site · 80×15
<a href="https://agentmods.dev/skills/odarino/haren/visual-companion"><img src="https://agentmods.dev/badge/skills/odarino/haren/visual-companion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,168 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.00021 $0.03168
Opus 5.5 $0.00008 $0.01267
Sonnet 5.5 $0.00004 $0.00634
Haiku 4.5 $0.00002 $0.00317

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

Security

Grade A, and why

visual-companion 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 11d 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.

.haren-dev/skills/visual-companion/SKILL.md · 286 lines

How it starts

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

Visual Companion

The visual companion is a local browser tab. It shows mockups, layout options and diagrams. The user clicks an option, and you read the click on your next turn.

When to Use

Decide for each question, not for each session. The test: does the user understand this better when they see it?

Use the browser when the content is visual:

  • UI mockups: wireframes, layouts, navigation structures, component designs
  • Layout comparisons: two layouts, two color schemes, two design directions
  • Diagrams: system components, data flow, state machines, flowcharts
  • Side-by-side views: a mockup next to a screenshot, before and after
  • Design polish: look and feel, spacing, visual hierarchy

Use the terminal when the content is text or a table:

  • Requirements and scope questions: "what does X mean?", "which features are in scope?"
  • Conceptual A/B/C choices: approaches that you describe in words
  • Tradeoffs: pros and cons, comparison tables
  • Technical decisions: API design, data model, architecture
  • Clarifying questions: the answer is words, not a visual preference

A question about a UI topic is not automatically a visual question. "What kind of wizard do you want?" is conceptual. Use the terminal. "Which of these wizard layouts is better?" is visual. Use the browser.

Mode

Read ui.mockups in manifest.yaml.

  • ascii: never use the browser. Use ASCII wireframes (see generate-mockup/).

  • artifact: do not start the companion. Use a Claude Artifact page (see "Artifact mode" in generate-mockup/).

  • browser: use the browser for visual questions. Do not ask first.

  • ask: at the first visual question in a session, send the offer as its own message, with nothing else:

    use the offer in the generate-mockup skill ("Ask the user"). It lists ASCII, Claude Artifact and the browser tab.

How It Works

The companion server watches a folder for HTML files. It shows the newest file in the browser. You write HTML into screen_dir. The user sees it and clicks to select options. The server writes the clicks to state_dir/events. You read that file on your next turn.

Read the full file on GitHub · 286 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. 11d ago Changed · -3 lines 3d17a6055a16
  2. 28d ago First seen · 289 lines · 21 tokens per session scan A b0e6b39eb863

Subscribe to this mod's changes

visual-companion is a skill published in the GitHub repository odarino/haren (13 stars, last pushed yesterday), licensed MIT. It adds 21 tokens to every session and 3,168 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-11-04.

Related

visual-companion compared with skills from other repositories

visual-companion next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
visual-companionodarino/harenSkill13yesterdayMITA21Claude Code, Codex
add-vector-iconchromium/chromiumSkill25ktodayBSD-3-ClauseA87Claude Code, Codex
webui-codechromium/chromiumSkill25ktodayBSD-3-ClauseA33Claude Code, Codex
browserwing-executorMemTensor/MemOSSkill13kyesterdayApache-2.0A42Claude Code, Codex
figma-design-reviewchromium/chromiumSkill25ktodayBSD-3-ClauseA59Claude Code, Codex
figma-to-webuichromium/chromiumSkill25ktodayBSD-3-ClauseA44Claude Code, Codex
figma-to-views-jsonchromium/chromiumSkill25ktodayBSD-3-ClauseA55Claude Code, Codex