Visual input for a coding agent. Iterate on a UI or app from the user's narrated screen recordings, made with the visual-mode tool. The user talks and points with the mouse; visual-mode cuts this into batches (transcript + frames showing where the cursor pointed) and you, the coding agent, apply the feedback. Use when the user types /visual or asks for "visual input" or "visual mode", names the tool ("visual-mode", "start visual mode", or a former name: "makethisbigger", "screenfeed"), wants ...
7 stars
0 votes
0 copies
0 views
Added November 30, 2026
ai-agentsgoshellsqldebugginggitapidatabase
Works with
claude code
cursor
cli
api
Security analysis
D42/100
criticalPipes output to a shell interpreter
mediumUses curl or wget to download content
criticalDownloads and executes remote scripts — classic supply chain attack
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Visual?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/simonharrer-visual)
---
name: visual
description: Visual input for a coding agent. Iterate on a UI or app from the user's narrated screen recordings, made with the visual-mode tool. The user talks and points with the mouse; visual-mode cuts this into batches (transcript + frames showing where the cursor pointed) and you, the coding agent, apply the feedback. Use when the user types /visual or asks for "visual input" or "visual mode", names the tool ("visual-mode", "start visual mode", or a former name: "makethisbigger", "screenfeed"), wants to give feedback by showing/talking over their screen, or asks to start/stop/send/auto-send screen feedback. Not for a plain request to enlarge something ("make this bigger"): that is ordinary feedback, not a request for this tool.
---
# /visual: visual mode with visual-mode
`visual-mode` (see https://github.com/simonharrer/visual-mode) records the screen the floating widget is on,
the microphone, and the mouse cursor. The widget has a record/pause button, **Implement** (sends the batch to you), **Discard**, the Deliver picker, a display button (which display is recorded), a gear that opens
the options window (microphone, auto-send, transcription, shortcuts, video) and a quit button.
Each sent batch becomes `~/.visual-mode/batches/<nnnn>-<time>/timeline.md` with:
- `SAID: "..."` lines (transcript from whisper on the Mac, or the Mac's own recognizer or OpenAI if the user picked one; any language,
wall-clock aligned)
- `CALL: "..."` lines, when the user records the call too (a `Call:` line at the top says so): what the Mac
played, mostly the other people in a Zoom, Teams or Meet call. Their requests are feedback as much as the
user's own; the frames still show where the user pointed meanwhile. When a CALL request and the user's SAID
disagree, the user's word counts, or ask
- for each sentence: where the cursor rested or clicked while it was said, as a `zoom` crop and a `full` frame,
both with a red ring around the cursor tip; `said "here"` on a moment means the user said a pointing word
("here", "look", "hier", or "this" while the screen changed) right then: that moment is what the word means
- standalone `CLICK`s (navigation context) and an `END STATE` frame (how the screen looks at the end of the batch)
- for each click, an `after` frame with what the click changed, or `no visible change on screen within 1.5 s`
(a click that did nothing can be the bug the user means)
- `SCREEN CHANGED` (a page loaded, a dialog opened) and `SHOWN BRIEFLY` (a message or error that was gone
again soon) entries, with the area that changed; their `zoom` is a crop around that area
- a `Closer look` line: the video stays for 24 h (with sound, `video-*.mkv` in the batch folder), and
`visual-mode frames` renders more frames from it
- When the transcript looks garbled (words that make no sense there, one sentence repeated, another language),
transcribe the batch again while its video is kept: `visual-mode retranscribe <n> [mac | whisper | openai]`.
It waits until done, makes the moments, frames and timeline anew (the first timeline stays as
`timeline-before.md`), and prints the new transcript; then read the new `timeline.md`
- a `Sound: the voice was very quiet` line: the microphone was too far away or set too low. Transcribing again
rarely helps then. Tell the user, and ask about the parts you cannot make sense of instead of guessing. A
microphone close by helps the most: a headset or a USB microphone. Or voice processing, as in calls (less
noise, an even level; the system's input only; on by default): `visual-mode voice on` if the user turned it
off, also a checkbox under Microphone in the options.
Raising the input volume in System Settings → Sound → Input helps a little. The widget shows a banner too
This skill is written for any coding agent that can run shell commands and read files and images (Claude Code,
Codex, Gemini CLI, opencode, …). Where a step depends on what your harness can do, both ways are given.
Plugin folder: `${CLAUDE_PLUGIN_ROOT}`
If you are Claude Code and the plugin folder above is a real path, you loaded this skill from the **visual-mode
plugin**. (Other agents that load the same plugin, such as Codex and GitHub Copilot, have no monitors: for them the steps
under "Feedback loop" apply.) Its
monitor ("visual-mode batches") started with this skill and follows `visual-mode watch --follow` for the whole
session: its lines arrive as notifications by themselves. Then do not arm a watch of your own (no Monitor, no
`watch --once`), and do not re-arm anything when the app stops or is idle. If it is still a placeholder in braces
(starting with a dollar sign), there is no plugin: follow the watch yourself as described under "Feedback loop".
## Typed `/visual`? Start right away
`/visual` (or "start visual mode") with nothing else means: start the tool now, without asking back.
1. `visual-mode skill` (next section; update the skill if it says so).
2. `visual-mode launch`, run from the repository (or folder) of what the user is working on. The widget appears.
3. Follow `visual-mode watch` as described under "Feedback loop" (with the plugin, its monitor already does).
4. Tell the user in one line: press Record, talk while pointing, press Implement.
Words after the command (`/visual the checkout page`) are context for the batches that follow, not a task to
start on before the first batch arrives.
## Is this skill current?
Run `visual-mode skill` once before you start. It lists where the skill is installed (Claude Code: the
visual-mode plugin, or `~/.claude/skills`; Codex, Gemini CLI, opencode and others: `~/.agents/skills`) and whether
each copy is this version: `current`, `outdated`, `old name` (a skill folder of an earlier name: `makethisbigger`
or `screenfeed`) or `missing`. With the plugin, a personal copy in `~/.claude/skills` counts as outdated: it would
take `/visual` from the plugin. Exit status 0 means the skill is active and current. If a copy is `outdated` or
`old name`, tell the user, run `visual-mode skill install` (it updates the plugin through Claude Code and removes
the personal copy next to it), and read the skill again before you go on: commands may have changed. A plugin
update takes effect after `/reload-plugins` or in the next session; say so. `visual-mode watch` prints `VISUAL-MODE NOTE the installed skill is outdated` in that case, and
the widget shows a banner with an Update button.
## Is visual-mode itself current?
`visual-mode launch` and `visual-mode watch` check whether a newer visual-mode is out (they ask GitHub at most
every 12 hours) and then print `visual-mode <new> is available (this is <old>)`; the widget shows a banner with
an Update button. When you see that line, tell the user in one line and offer to update. With their go-ahead,
run `visual-mode update`: it pulls the new version from main (there are no releases), updates the skill and,
for Claude Code, the plugin from its marketplace (`claude plugin marketplace update visual-mode`, then
`claude plugin update visual-mode@visual-mode`), and restarts the widget
(unless something is being recorded or processed: then it says so, and the widget keeps the old version until
restarted). Afterwards run `visual-mode skill show` and follow the skill it prints from then on: it is the new
one, while the copy loaded in this session is still the old one. Neither you nor a shell command can reload a
plugin: with the Claude Code plugin, tell the user to run `/reload-plugins` (or start a new session) so that the
monitor runs the new version too; until then its lines keep coming from the old one. Do not update in the middle of a recording without asking. `visual-mode version` shows the
running and the latest version (exit status 1 = a newer one is out). If `update` refuses (a checkout with local
changes or another branch, or no git checkout), pass on what it says; the installer
(`curl -fsSL https://visual-mode.com/install.sh | sh`) also updates.
## Control (shell)
```
visual-mode launch # start the widget in the background (idempotent)
visual-mode start | stop # recording on/off (also the record/pause button); stop = pause,
# unsent content is kept until sent or discarded
visual-mode discard # throw away everything recorded but not sent (also the Discard button)
visual-mode screens | screen <n|name> # list / pick the recorded display (one is always picked)
visual-mode send # cut and send the current batch now
visual-mode retry <n> # process a failed batch again from the raw video it kept
visual-mode retranscribe <n> [mac | whisper | openai] [--send] # transcribe a batch again from its kept video
visual-mode deliver [pr | main | branch <name or #PR> | none] # where batches go: new PR each (default), main,
# one branch/PR, or none (the batch carries no branch instructions)
visual-mode audio [<name> | default | none] # show or pick the microphone (a close one transcribes better)
visual-mode languages [en,de|auto] # spoken languages (default en,de); others are re-read in the last allowed one
visual-mode model [name] # show or pick the speech model (others are downloaded in the options window)
visual-mode words [text | off] # names and terms whisper should spell right (its prompt)
visual-mode speech [mac | whisper | openai] # who transcribes: the Mac's recognizer, whisper (default), or OpenAI (sends the sound there)
visual-mode openai-key # the user saves their OpenAI API key (asks for it; never ask for it in chat)
visual-mode openai-key test # whether the saved key works and the account can transcribe (e.g. no credits)
visual-mode show [n] # open the widget's window with batch n's transcript, for the user to look at
visual-mode options # open the options window
visual-mode workdir [path] # repo whose open PRs and branches the Deliver dialog suggests; launch/watch
# remember the git repo they run in, so run them from the app's repo
visual-mode note on | off # show/hide the note on the recorded screen (also in the options);
# the coloured frame stays
visual-mode compact on | off # widget small (timer and the three buttons only) or whole
visual-mode shortcut [record | send | copy <keys | off>] # system-wide shortcuts, e.g. shortcut record ctrl+alt+r
visual-mode ring on | off # a ring around the mouse cursor on screen, red while recording, orange while paused, else grey (also in the options)
visual-mode auto 60 | off # periodic sending
visual-mode frames <n> --at 0:12 | --at "words said" | --from 0:10 --to 0:14 [--count 8] [--full]
# a closer look: more frames around a moment of batch n, from its video; prints
# their paths and one sheet image with all of them (read that first)
visual-mode send --clipboard # for the user, not for you: the batch goes to the clipboard to paste into a chat
visual-mode copy [n] # put batch n (default: latest) on the clipboard the same way
visual-mode say "text" # show a short status line from you in the widget (under "Log",
# which the user may keep folded: say it in chat too)
visual-mode outcome <n> working|done|question|failed [--pr <link>] ["what changed"]
# what became of batch n: shown on its row in the widget's log, with a
# button that opens the pull request, and as your status line
visual-mode watch [--once | --follow] # one line per ready batch or error; --once ends after the next one;
# --follow never ends on its own (the plugin's monitor runs it)
visual-mode skill # is this skill installed and current? (exit status 0 = yes)
visual-mode skill install [plugin | claude | agents | opencode | <skills folder>] # install or update it
visual-mode version # this version and the latest one (exit status 1 = a newer one is out)
visual-mode update # update visual-mode, its skill and plugins; restarts the widget (ask the user first)
visual-mode status # JSON state
visual-mode quit
```
Never test with `say` or other audio playback; the user may be in a call. Only record when the user asked for it.
## Feedback loop
1. `visual-mode launch`, then follow `visual-mode watch`. It prints one line per ready batch
(`VISUAL-MODE BATCH n ready ... :: "<speech>"`) or error (`VISUAL-MODE ERROR ...`). How you follow it
depends on your harness:
- Claude Code with the visual-mode plugin (the plugin folder at the top is a real path): nothing to do, the
plugin's monitor delivers these lines as notifications. Skip the rest of this step. When it says
`VISUAL-MODE app stopped running`, one short line in chat is enough; the next `/visual` launches the app
again and the same monitor goes on.
- opencode with visual-mode's opencode plugin (you have a `visual_mode_watch` tool): call it once. It launches
the app and puts every batch line into this session as a message by itself. Skip the rest of this step.
- If you can keep a command running and be woken by each line it prints, do that (Claude Code: arm a
Monitor with command `visual-mode watch`, timeout 1800000 ms, description "visual-mode batches").
- If you can run a shell command in the background and are told when it ends (GitHub Copilot CLI), run
`visual-mode watch --once` that way; when it ends, handle the batch and start it again.
- Otherwise run `visual-mode watch --once` with the longest timeout your shell tool allows. It ends
after the next batch or error line: handle it, then run the command again. A timeout without a line
counts as "expired" below.
When it expires, check `visual-mode status` and re-arm only while a batch can still come: a screen is
selected (`screen` set), or something is recording, unsent, sending or processing. Otherwise do not re-arm:
say once in chat that the watch is off until a screen is picked, and re-arm when the user asks.
`watch` also ends on its own: `VISUAL-MODE app stopped running` (the user quit the app) and
`VISUAL-MODE idle: …` (no screen and nothing unsent for 10 minutes, `VISUAL_MODE_WATCH_IDLE_EXIT`).
Do not re-arm after either; one short line in chat is enough.
`watch` remembers what it printed, so re-arming does not lose or repeat batches.
2. Tell the user they can press Record, talk while pointing, and press Implement (or turn on Auto).
3. On each batch event:
- `visual-mode outcome <n> working "reading"`: the batch's row in the widget shows it is being implemented.
Every batch ends with an outcome too (below): `done` (with `--pr <link>` when there is a pull request),
`question` or `failed`. An older visual-mode without `outcome` prints its help instead: use
`visual-mode say "Batch n: …"` then.
- Read `timeline.md`. Read the `zoom` image of every SAID and CALL moment (that is what the user pointed at) and
the `full` images when you need the context of the page. Read the END STATE frame to know the current state.
Read the `after` frames and the SCREEN CHANGED / SHOWN BRIEFLY entries when the user talks about what
happens (a click, a dialog, an error, an animation).
- When the frames do not show what the user means (a hover state, an animation, a message between two
frames, a moment without a frame), take a closer look: `visual-mode frames <n> --at 0:12` or
`--at "words they said"` (a quoted phrase from the transcript). Read the printed sheet first, then single
frames if needed. It works while the batch's video is kept (24 h by default).
- Decide first what kind of batch it is:
- **Change request**: concrete remarks about what is on screen ("align this", "show the icon here",
"render this as Markdown"). Go on with the steps below.
- **Discussion**: a conversation (several voices, "wie komme ich eigentlich …", ideas, "das muss man mal
analysieren"), a feature idea that needs design, or remarks spread over several topics. Do not change code.
Summarize the points in chat (one line each, with what you see in the frames), propose a scope for each
(quick fix, own PR, analysis first, not now), recommend where to start, and ask. Show
`visual-mode outcome <n> question "<the question in a few words>"`. Act when the user answers; one answer can start several
PRs (in the `pr` mode, one fork per PR).
A batch can be both: deliver the concrete remarks, and ask about the rest in the same message.
- Map what was said + pointed at to concrete changes in what lies behind it, in the folder you run in
(the `app:` field and the full frame tell you which app/page). The recording is the whole screen, so that can
be any app: a web app being built (change its code), an architecture diagram (its source), an article in
Word or a slideshow in Keynote (the file), or data a program shows, such as a message in a broker's UI or
an API response (the code that produces it). Deictic words ("this", "here", "das hier")
refer to the element under the red ring at that moment.
- Make the changes. Keep each batch's changes focused on what was said; do not refactor around it.
- Deliver them as the batch says: the `Deliver:` line in `timeline.md` (and `deliver` in the event) is the
mode when the batch was sent; the user picks it in the widget's Deliver picker or with
`visual-mode deliver pr | main | branch <name or #PR> | none`. In the repository of what is shown:
- **New PR per batch** (`pr`, default): **one pull request per batch**. This overrides a repository's
habit of committing small fixes straight to main.
1. Before editing: check `git status`. Changes that are not yours from an earlier batch: stop and
ask. Then `git fetch` and `git switch -c visual-mode/batch-<n>-<short-slug> origin/<default branch>`,
so every batch starts from the default branch and its PR holds only this batch.
2. Edit, run the relevant tests (the repository's agent instructions, e.g. CLAUDE.md or AGENTS.md, say how), commit with a message that
says what changed and why, push, and `gh pr create` with a title in the imperative and a body
with what the user said (quoted, from the transcript), what changed, the tests run, and
**before/after screenshots** (see below). No co-author lines.
3. `git switch` back to the default branch, and give the PR link in chat and a short note in the
widget: `visual-mode outcome <n> done --pr <PR link> "<what changed, max ~60 chars>"`.
A later batch that corrects an earlier one that is still open goes onto that batch's branch and PR.
- **Commit to main** (`main`): `git switch <default branch>` and `git pull --ff-only`, edit, run the
relevant tests, commit, push. No pull request; describe the change and the tests in chat.
- **Branch / PR** (`branch`, with a target): every batch goes onto that branch. A target like `#123` is
a pull request: its branch is `gh pr view 123 --json headRefName`. Switch to the branch (fetch it,
create it from the default branch if it does not exist yet), edit, test, commit, push. If the branch
has no pull request yet, open one; then add a section per batch to its description (what was said,
what changed, tests, before/after screenshots). Switch back to the default branch afterwards.
- **No branch instructions** (`none`): the batch has no `Deliver:` line and its event no `deliver`.
visual-mode then says nothing about git. Make the changes in the checkout as it is, on the branch that
is checked out, and leave branching, committing, pushing and pull requests to what the user says (in
the batch or in chat) and to the repository's own instructions. Without either, do not commit: say
in chat what you changed and which tests you ran.
**Before/after screenshots** (for every PR): before = the batch frame cropped to the changed part of
the page; after = the same part with the change, from the app running locally on the branch (for
entropy-data: the `ui-test` skill's start command and `/start`, which signs in a demo organization).
Crop both to the UI that changed and look at them first: nothing else from the screen (other apps,
video calls, notifications, personal data, colleagues' names) goes into a PR. Store them on the
repository's `pr-screenshots` branch (image only, no history with main) and link them in the PR
description as `https://github.com/<owner>/<repo>/blob/pr-screenshots/pr-<n>/before.png?raw=true`.
**Database migrations** (every mode): a change that adds or edits a database migration (e.g. a Flyway
`V*.sql`) gets a warning note at the very top of the PR description, so it is not overlooked:
`> [!WARNING]` followed by `> **Database migration:** <file>: <what it does, e.g. adds column x to table y>`
and whether it is additive and rollout-safe. With several batches on one PR, the note stays at the top.
In the `main` mode, say it first in chat. A fork reports it back, and the chat summary and widget note
mention it (`visual-mode outcome <n> done --pr <PR link> "DB migration: ..."`).
A batch with nothing to change (no speech, only clicking) gets no commit and no PR.
- `visual-mode outcome <n> done [--pr <PR link>] "<what changed, max ~60 chars>"` so the user sees it on
screen, on the batch's row (`--pr` with the pull request the batch went to: its own, or the branch's in
the `branch` mode), and give a short summary in chat. A batch with nothing to change: `done "nothing to
change"`; one you could not implement: `failed "<why>"`. If a remark is ambiguous, ask in chat and say so in the widget
(`visual-mode outcome <n> question "<the question in a few words>"`).
- If the app needs a reload/rebuild to show the change, do it (or tell the user) so the next batch shows the new state.
4. Batches arrive while you work; handle them in order. A later batch can correct an earlier one; the newest wins.
5. **New PR per batch: one forked agent per batch.** Only in the `pr` mode (each batch's `Deliver:` line), and
only when your harness can run sub-agents in parallel (Claude Code: the Agent tool with
`subagent_type: "fork"`): batches then share no branch, so they run in parallel. Without sub-agents,
handle the batches yourself, in order, as in step 3. On each batch event, after `visual-mode outcome <n> working "reading"`, fork one agent for that batch and
go back to waiting; do not work on the batch yourself. Its prompt names the batch (`timeline.md` path,
number) and these rules:
- Its own git worktree from the default branch (`git worktree add -b visual-mode/batch-<n>-<slug>
../<repo>-b<n> origin/<default branch>`), never the main checkout, so forks do not switch each other's
branches. Remove the worktree when the PR is open.
- Its own port for the local app (e.g. 8140 + n), and stop that app (kill by port) when done. A fresh
worktree may need what is not in git: copy ignored binaries from the main checkout when they fail
(entropy-data: `tailwindcss`, whose download can come with a broken signature, so macOS kills it).
- Everything else as in step 3: read the batch, change, test, commit, push, PR with before/after
screenshots, `visual-mode outcome <n> done --pr <PR link> "<what changed>"`. A batch that only needs a question: it reports the
question back instead of guessing.
- It reports back the PR link, what changed and the tests, or the question; you relay that in chat.
A batch that corrects an earlier one whose fork is still running: wait for that fork, then give the
correction to its branch (send it to that agent, or fork a new one on the same branch). In the `main`,
`branch` and `none` modes, batches share one checkout: handle them yourself, in order, as in step 3.
## Notes
- No batch is lost by design: one recorder per session writes 2 s chunks and Implement (send) only cuts by time;
a watchdog replaces a dead or stalled recorder (the batch lists the gap); a failed batch keeps its raw
video (error event says `visual-mode retry <n>`; run it); content left by a crash or quit arrives as a
recovered batch on the next start (no cursor data, so no pointing frames).
- Auto-sent batches without speech are skipped; a manual Implement (send) always produces a batch.
- A batch shows at most 24 moments (`VISUAL_MODE_MAX_MOMENTS`): one per sentence first, then further moments of
sentences, then screen changes (at most a third), then clicks without speech. A double or triple click is one
moment. `after` frames come on top. Anything left out can still be seen with `visual-mode frames`.
- Batches sent with `visual-mode send --clipboard` (or the copy shortcut) go to the user's clipboard for a chat;
`watch` does not show them to you.
- The widget shows the unsent recorded time (frozen while paused) and a folded log ("Log") of the last
4 batches (time, number, length, auto/manual, processing / → agent / skipped / failed); clicking one
opens a window with its transcript (`visual-mode show <n>` does the same) and a Play video button: when
the user wants to see or hear a batch again, `visual-mode video <n>` plays its video while it is kept.
`visual-mode status` returns the same as `unsent_seconds`, `paused_with_unsent` and `history`.
- The recorded screen is picked with the widget's display button (left of the gear), or with `visual-mode screens` /
`visual-mode screen <n|name>` (default: the last pick, else the display the widget starts on). A screen is
always selected: when the selected display is unplugged, another is (the widget's), and a recording of the
one that went away pauses rather than record another display unasked. While the app runs and is not
recording, the selected display shows a grey "Ready" frame (orange frame and "Paused" badge while something recorded is not sent yet). Picking a screen flashes
"This screen will be recorded" on it for 2s; while recording, switching moves the recording at once
and keeps what was recorded so far in the batch. While recording, that display gets a pulsing red frame and a
"● REC" badge, and the widget gets a red border; other displays show "Not recorded".
- Config via env vars: `VISUAL_MODE_LANGUAGES` (default `en,de`; or `visual-mode languages`), `VISUAL_MODE_LANG` (one fixed language), `VISUAL_MODE_AUDIO` (mic name or `none`,
default system input), `VISUAL_MODE_FPS` (5), `VISUAL_MODE_VIDEO_HOURS` (24: how long a batch keeps its video,
with sound, for `frames`; 0 = not at all), `VISUAL_MODE_KEEP_VIDEO=1` (keep it for good),
`VISUAL_MODE_WHISPER_MODEL`.
- `visual-mode status` shows `capture`: `sck` leaves visual-mode's widget, frame and badges out of the video;
`avfoundation` (fallback, see `capture_problem`) records them, so ignore them in the frames then.
- The widget shows a banner (and `visual-mode status` lists `permission_problems`) when Screen
Recording or Microphone permission is missing for the app visual-mode runs in, when the microphone the user
picked is not connected (another input, or none, records instead: offer the connected ones from
`visual-mode audio` and pick the one the user names with `visual-mode audio <name>`; the banner's Choose…
button does the same), when the last batch's voice was very quiet on the microphone still in use, when the
capture falls back, or when this skill is missing or outdated (`skill` in the status; the banner's button installs it).
- `visual-mode status` shows `ui_tick_age`: seconds since the widget last refreshed. Above a few
seconds the widget is frozen (clicks still reach the app but nothing updates); `watch` then prints
`VISUAL-MODE ERROR widget not refreshing`. Check the log for `ui refresh failed`.
- Debugging: every action (widget clicks, CLI/API calls, recorder start/stop with pid, exit code and
file size, sends, batch processing, uncaught errors with tracebacks) is logged to
`~/.visual-mode/visual-mode.log` (rotated to `.log.1` at 5 MB). Read it first when a batch does not arrive.
- Data lives in `~/.visual-mode`. Each batch keeps its video with sound for 24 h, then it is deleted.
Batches (frames and transcripts) stay until deleted; they can contain whatever was on screen.