explaingit

socekin/visual-companion

Analysis updated 2026-05-18

1JavaScriptAudience · developerComplexity · 2/5LicenseSetup · easy

TLDR

An agent skill that turns visual coding discussions, like mockups and layout comparisons, into a live clickable browser screen instead of text descriptions.

Mindmap

mindmap
  root((visual companion))
    What it does
      Live browser mockups
      Clickable comparisons
      Structured feedback
    Tech stack
      JavaScript
      Node.js
      WebSocket
    Use cases
      Compare layouts
      Visualize mockups
      Diagram discussions
    Audience
      Coding agent users
      Developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Compare two or more layout or design options as clickable screens in the browser during a coding session.

USE CASE 2

Turn a verbal design discussion with an AI agent into an interactive mockup instead of plain text.

USE CASE 3

Sketch and click through diagrams while the underlying conversation continues normally.

USE CASE 4

Add a visual feedback loop to Claude Code, Codex, or Copilot CLI sessions without extra dependencies.

What is it built with?

JavaScriptNode.jsWebSocket

How does it compare?

socekin/visual-companion0xmukesh/docusaurus-tutorial1tsmejp/palworld-docker-wine
Stars111
LanguageJavaScriptJavaScriptJavaScript
Last pushed2021-12-27
MaintenanceDormant
Setup difficultyeasyeasymoderate
Complexity2/52/54/5
Audiencedeveloperdeveloperops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Needs Node.js 18+, a Bash shell, and a local browser, no external services or accounts required.

In plain English

Visual Companion is a skill that can be added to a coding AI agent so that when a conversation turns visual, such as discussing a mockup, comparing two layouts, or sketching a diagram, the agent shows an actual clickable screen in the browser instead of trying to describe the design in plain text. When the person clicks an option on that screen, that click is recorded and fed back into the ongoing conversation as structured feedback, alongside anything typed. It works with several coding agents that support a shared skill format, including Claude Code, Codex, and Copilot CLI. When invoked, the agent starts a small local server written in plain Node.js with no external dependencies, opens a browser window, and writes an HTML screen for each visual question that updates live over a WebSocket connection. Plain text questions stay in the conversation as normal, while the browser shows a simple waiting screen until the next visual question comes up. All the generated screens and session data are saved inside the current project under a dedicated session folder, while the skill's own files stay untouched. Installing it is done either through a tool called skills.sh with a single command, or manually by copying the skill folder into the agent's skills directory. It needs Node.js 18 or newer, a Bash shell, and a local browser to work. A person starts a session by explicitly invoking the skill with a short command describing what they want to compare, and the agent then presents two to four clickable options when a comparison would help, keeping the browser in sync with the conversation. For safety, the local server only listens on the machine's own loopback address and requires a per session access key, and it automatically shuts down after four hours of inactivity. The project is written in JavaScript, released under the MIT license, and the author credits the original design to the Superpowers project by Jesse Vincent, from which this skill was extracted.

Copy-paste prompts

Prompt 1
Set up Visual Companion in my Claude Code environment and start a session for comparing dashboard layouts.
Prompt 2
Explain how clicking an option in the browser gets fed back into my conversation with the agent.
Prompt 3
Walk me through installing this skill manually instead of using skills.sh.
Prompt 4
Show me how the local server stays secure while running the visual session.

Frequently asked questions

What is visual-companion?

An agent skill that turns visual coding discussions, like mockups and layout comparisons, into a live clickable browser screen instead of text descriptions.

What language is visual-companion written in?

Mainly JavaScript. The stack also includes JavaScript, Node.js, WebSocket.

How hard is visual-companion to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is visual-companion for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.