viewport

viewport is a skill for Claude Code from jerpint/woltspace. It costs 28 tokens per session (493 once invoked), scanned A, original, MIT.

A display-control skill for showing HTML pages, sites, and applications in the session's right-hand browser pane. It also supports automatic refresh while site files are edited.

In plain words
What is it for?
Use it to send a local page or app to the viewport and preview changes as they are saved.
Why use it?
It removes the need to manually open or refresh the page being built while working in the terminal.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the woltspace plugin — 23 skills shipped together

Good fit Use it to send a local page or app to the viewport and preview changes as they are saved.

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

Made for: Claude Code.

Or install woltspace, the plugin that ships this one along with the rest of its 23 skills.

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 viewport

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jerpint/woltspace/viewport"><img src="https://agentmods.dev/badge/skills/jerpint/woltspace/viewport.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 493 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00028 $0.00493
Opus 5.5 $0.00011 $0.00197
Sonnet 5.5 $0.00006 $0.00099
Haiku 4.5 $0.00003 $0.00049

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

Security

Grade A, and why

viewport scanned grade A with 1 finding 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 26d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

The server runs on **port 7777**. You never need to curl it directly — `push-view` handles everything.
container/skills/viewport/SKILL.md · 50 lines

What it actually says

Viewport — Split View Control

Every page is a split view: terminal on the left, viewport (iframe) on the right. Each session has its own viewport.

Push content to the viewport

Use push-view — it auto-detects your session. That's the only way to update what the user sees.

push-view /wolt/<name>/site/my-page.html

URL paths

Wolt sites are served at /wolt/<name>/site/:

  • wolt/site/hello.html → /wolt/<name>/site/hello.html
  • wolt/site/index.html → /wolt/<name>/site/ (index is served at the directory root)

A bare page.html (or wolt/site/page.html, or the file's path on disk) is turned into your site's path for you. push-view checks the page loads first: if it says "not found", the file isn't there yet, and nothing was shown.

The server runs on port 7777. You never need to curl it directly — push-view handles everything.

Live reload

Sites have automatic live reload. When you edit files in wolt/site/, the viewport updates immediately — no need to call push-view again after the initial push. Just edit and save.

App URLs

To push an app to the viewport, use the subdomain pattern:

push-view http://my-app.localhost:7777/

The format is http://<app-name>.localhost:7777/. Do not use /app/<name>/ — that path triggers a 302 redirect to the app's bare port, which breaks through the Cloudflare tunnel.

Tips

  • The viewport only shows content served by localhost:7777. External URLs won't work (iframe CORS).
  • Each session's viewport is independent. Pushing to one doesn't affect others.
  • Always use push-view — never manually curl to /current.
  • If you don't know your wolt name, check $WOLTSPACE_WOLT_NAME or read wolt/wolt.json.
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. 26d ago Changed · +4 lines 47d8d6622c33
  2. 2mo ago First seen · 46 lines · 28 tokens per session scan A 96763ae3353b

Subscribe to this mod's changes

viewport is a skill published in the GitHub repository jerpint/woltspace (22 stars, last pushed today), licensed MIT. It adds 28 tokens to every session and 493 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-09.

Related

viewport compared with skills from other repositories

viewport next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
viewportjerpint/woltspaceSkill22todayMITA28Claude Code
interactive-loginyc-software/qmSkill16ktodayMITA46Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k13d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.2ktodayMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.3ktodayMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill926todayMITA40Claude Code