remote-screenshot

remote-screenshot is a skill for Claude Code from shabaraba/vibing.nvim. It costs 92 tokens per session (709 once invoked), scanned A, original, MIT.

A remote screenshot tool for capturing a running Neovim editor inside Claude Code's web container, even when that container has no graphical display.

In plain words
What is it for?
It is for documenting Neovim UI changes, split layouts, approval prompts, and picker screens.
Why use it?
It provides a real image of the editor when the user needs to see or share a layout, prompt, or chat buffer. It only works in the specified remote environment.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

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 skills/shabaraba/vibing.nvim/remote-screenshot
Any agent
npx skills add shabaraba/vibing.nvim --skill remote-screenshot
Clone the repo
git clone --depth 1 https://github.com/shabaraba/vibing.nvim

Made for: Claude Code.

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 remote-screenshot

README.md
[![agentmods](https://agentmods.dev/badge/skills/shabaraba/vibing.nvim/remote-screenshot.svg)](https://agentmods.dev/skills/shabaraba/vibing.nvim/remote-screenshot)
Your own site
<a href="https://agentmods.dev/skills/shabaraba/vibing.nvim/remote-screenshot"><img src="https://agentmods.dev/badge/skills/shabaraba/vibing.nvim/remote-screenshot.svg" alt="Measured on agentmods" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 709 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.1 $0.00092 $0.00709
Opus 5 $0.00046 $0.00354
Sonnet 5 $0.00018 $0.00142
Haiku 4.5 $0.00009 $0.00071

Measured 2d ago against content hash 0f94359d2bc2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

remote-screenshot 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 2d 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.

.claude/skills/remote-screenshot/SKILL.md · 61 lines

How it starts

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

Screenshotting Neovim in the web container

Applies only to Claude Code on the web. CLAUDE_CODE_REMOTE must be true; the script refuses to run otherwise and that refusal is correct, not an obstacle to work around. If you are on a local machine, stop and say so — the user can see their own editor, and starting a hidden second Neovim to photograph it helps nobody.

The sequence

S=scripts/screenshot
$S/capture.sh start --cols 150 --rows 40 lua/vibing/core/utils/git_snapshot.lua
$S/capture.sh keys ':VibingChat right' Enter
$S/capture.sh shoot /tmp/shot.png
python3 $S/pxbox.py /tmp/shot.png --expect-height 798   # (rows - 2) * 21
$S/capture.sh stop

Then hand the PNG to the user with SendUserFile.

capture.sh shoot prints the exact pxbox.py command to run. Run it. A capture whose bottom rows were clipped is a plausible-looking screenshot of a slightly different screen, and the difference between 21px and 1px of painted height does not survive downscaling — you will not catch it by looking, and you will describe a statusline that is not in the image. pxbox.py exits non-zero when the painted region is short.

scripts/screenshot/README.md has the mechanism, the headless_shell trap, and why each terminal cell is its own element. Read it if something renders wrong.

Do not fabricate the contents

capture-pane returns the actual screen buffer, which is the whole point: the frontmatter, statusline path and highlighting in the image are Neovim's own output. Two ways to throw that away, both of which produce an image that lies:

  • Writing a transcript into the chat buffer to make it look busy. Text you typed is not the renderer's output. If a screenshot needs a real assistant turn — tool headers, ### Modified Files, streaming — that costs real tokens, so ask first and say that is what the image shows.
  • Describing what the screenshot shows without reading it back. Open the PNG and look before you narrate it.

Typing an unsent ## User message is fine and authentic — that is a real editor state a user reaches by typing.

Read the full file on GitHub · 61 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. 2d ago First seen · 61 lines · 92 tokens per session scan A 0f94359d2bc2

Subscribe to this mod's changes

remote-screenshot is a skill published in the GitHub repository shabaraba/vibing.nvim (13 stars, last pushed today), licensed MIT. It adds 92 tokens to every session and 709 once invoked, about $0.0005 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-09-04.

Related

Other skills, from other repositories

mermaid-diagram

Use when the user asks for a flowchart, architecture diagram, sequence diagram, ER diagram, state machine, gantt chart, or any visual that fits Mermaid syntax. Hope Agent's chat renders Mermaid blocks natively, so the diagram appears inline.

shiwenwen/hope-agent · 55 tokens

visualize

Render a polished visual inline in the chat as part of your answer — a diagram, a chart, an interactive explainer, or a UI mockup. Load it proactively whenever an explanation would land better as a picture than as prose. Do not wait to be asked.

vellum-ai/vellum-assistant · 57 tokens

vellum-workspace-theme

Customize the app's visual theme — author design-token overrides (accent, background, surfaces, text, message-bubble colors) in the workspace ui/theme.json, validated by the assistant runtime and applied live to connected clients. Covers the token slots, the all-or-none override groups, the contrast floor, and reading…

vellum-ai/vellum-assistant · 72 tokens

vellum-avatar

Customize the assistant's avatar - build a native character, upload an image, or generate one with AI.

vellum-ai/vellum-assistant · 24 tokens

information-architecture

Design the structure of a website or product including sitemap, navigation, URL structure, content types, taxonomy, and labeling. Use this skill whenever the user asks to plan a sitemap, design navigation, structure URLs, define content types, build taxonomies, design site search, or organize content at the system…

rampstackco/claude-skills · 131 tokens

journey-mapping

Build customer journey maps and service blueprints that visualize the end-to-end user experience including touchpoints, emotions, friction, and underlying systems. Use this skill whenever the user wants to map a customer journey, build a service blueprint, identify friction across an experience, align teams on the…

rampstackco/claude-skills · 131 tokens