visual-companion

visual-companion is a skill for Claude Code from dork-labs/dorkos. It costs 36 tokens per session (5,413 once invoked), scanned A, original, MIT.

A browser-based tool for displaying visual explanations, such as mockups, diagrams, comparisons, and clickable choices.

In plain words
What is it for?
Showing interface mockups, architecture diagrams, side-by-side design options, flowcharts, and other interactive visual material.
Why use it?
Some layouts, relationships, and design alternatives are easier to understand by viewing them than by reading descriptions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Part of the flow plugin — 43 skills, 45 commands, 5 agents, 4 hooks shipped together

Good fit Showing interface mockups, architecture diagrams, side-by-side design options, flowcharts, and other interactive visual material.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dork-labs/dorkos/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 dork-labs/dorkos --skill visual-companion
Clone the repo
git clone --depth 1 https://github.com/dork-labs/dorkos

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 43 skills, 45 commands, 5 agents, 4 hooks.

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/dork-labs/dorkos/visual-companion/github.svg)](https://agentmods.dev/skills/dork-labs/dorkos/visual-companion)
Your own site
<a href="https://agentmods.dev/skills/dork-labs/dorkos/visual-companion"><img src="https://agentmods.dev/badge/skills/dork-labs/dorkos/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/dork-labs/dorkos/visual-companion"><img src="https://agentmods.dev/badge/skills/dork-labs/dorkos/visual-companion.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 5,413 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.05413
Opus 5.5 $0.00014 $0.02165
Sonnet 5.5 $0.00007 $0.01083
Haiku 4.5 $0.00004 $0.00541

Measured 16d ago against content hash f19219223022, 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 16d ago.

The scan reads SKILL.md. This mod also ships 38 executable files (examples/prototype/src/app.js, examples/prototype/src/data.js, scripts/babel-plugin-data-src.cjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/skills/visual-companion/SKILL.md · 373 lines

How it starts

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

Visual companion

A small local server that shows HTML screens in the DorkOS frame (DorkOS tokens, both themes, history, pin notes) on the DorkOS canvas. You write a screen; it appears; what the person does there comes back to you.

Use it when the answer is visual: layouts, mockups, motion, side-by-side directions, diagrams. Stay in chat when the answer is words: scope, trade-offs, concepts. For a quick pick between a few labelled choices, a dorkos-ui widget in chat is lighter (its buttons give you a turn directly). Use the companion when the choice needs to be seen.

All commands below are scripts/vc in this skill. Each prints one JSON object.

The loop

  1. Show a screen. Write a fragment to a temp file, then:
    scripts/vc show /tmp/layout.html            # add --wake to let a Send reach you
    
    This starts the server if needed (on the port this session had last, else a free one; it never touches another process), writes the screen, and returns url, screen, screen_url and shots (light and dark PNGs you can Read to check your own work). Run it from your project root, or pass --project-dir.
  2. Open it on the canvas. The first time, or whenever the canvas lost it: control_ui → browser_navigate with url. Never ask the person to open a URL. In a room, pass target: { roomId } so it lands on the room's canvas. Once it's open, later screens arrive by themselves (WebSocket, falling back to polling through the preview proxy). There's no need to navigate again.
  3. Say one line in chat about what's on screen and what you want from it.
  4. Read what happened. Feedback arrives in chat. Structured detail is in scripts/vc events (only what's new since your last read).
  5. Iterate with a new screen (layout-v2.html). Names are never reused; vc show adds -2, -3 if needed. When the conversation moves on, show a short "Back in chat" screen so a settled choice doesn't linger.

Check it's alive on every turn before relying on it: scripts/vc status (running: false → the next vc show restarts it with the same screens, history and port; re-open the canvas if a screen doesn't appear). It stops itself after 4 hours idle (vc start --idle 30m to change; polls from an open tab don't count).

Read the full file on GitHub · 373 lines

Files

What ships with it

46 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 16d ago Changed · +114 lines f19219223022
  2. 17d ago Changed · -61 lines 0f4e94ce1b5d
  3. 2mo ago First seen · 320 lines · 36 tokens per session scan A 6c914b29b73e

Subscribe to this mod's changes

visual-companion is a skill published in the GitHub repository dork-labs/dorkos (12 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 5,413 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-08-31.

Related

Other skills, from other repositories

remote-screenshot

Take a real screenshot of a running Neovim from inside the Claude Code on the web container, which has no X server. Use when asked to show what a UI change looks like, or to attach an image of the chat buffer, a split layout, an approval prompt or a picker. Requires CLAUDECODEREMOTE=true — on a local machine there is…

shabaraba/vibing.nvim · 92 tokens

design-system

Use when a ticket needs a systematic token + component foundation for a frontend — the three-layer token architecture (primitive → semantic → component), W3C DTCG design-token files, theming and dark mode, component specs with full state coverage, or a recommendation for which design system a product should have.…

tmj-90/gaffer · 122 tokens

brand

Use to establish or audit a product's brand so the factory's output looks intentional, not template — when a ticket asks to "create a brand", "define the design system / visual identity / palette / typography", or when delivered UI looks generic and needs a deliberate direction. Detects existing brand and extends it…

tmj-90/gaffer · 102 tokens

frontend-design

Use when a ticket builds or reworks a user-facing frontend surface — a hero, landing page, dashboard, marketing section, or any screen where the visual quality matters, not just the markup. Produces distinctive, intentional, production-grade UI that avoids generic template aesthetics. Invoke for "build the landing…

tmj-90/gaffer · 96 tokens

mobile-ui

Use when a ticket builds or reworks UI in a React Native / Expo (or React + Capacitor) mobile app and it must feel like a real, store-credible native app — not a wrapped mobile website. Covers the native-feel bar, safe areas and edge-to-edge, gestures and back navigation, haptics, Dynamic Type and screen readers…

tmj-90/gaffer · 125 tokens

frontend-a11y

Use when a ticket requires accessibility work or when delivering UI that must be usable by everyone — keyboard navigation, screen-reader labelling, focus management, colour contrast, target size, or reduced-motion support to WCAG 2.2 AA. Invoke for "make X accessible", "fix the a11y issues", "add keyboard support", or…

tmj-90/gaffer · 83 tokens