web-preview

web-preview is a skill for Claude Code, Codex from kirodotdev/KiroCrew. It costs 68 tokens per session (1,104 once invoked), scanned A, original, Apache-2.0.

A preview marker for KiroCrew’s Browser tab, which embeds a locally running website in the chat’s side panel.

In plain words
What is it for?
It helps preview sites and apps started with tools such as Vite, Next.js, npm, or Python’s local web server.
Why use it?
It removes the need to copy a local address into a browser panel yourself. The marker is emitted only after the development server is confirmed running.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps preview sites and apps started with tools such as Vite, Next.js, npm, or Python’s local web server.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kirodotdev/kirocrew/web-preview
About the project

Kiro Crew is a persistent development workspace where agents continue multi-step software work across sessions, schedules, and connected interfaces. Developers use it locally or remotely through a desktop app, web dashboard, CLI, Slack, or Discord, with unattended tasks and recurring jobs. The catalogue contains skills and instructions for working with this workspace.

kirodotdev/KiroCrew · 5,222 stars · on GitHub · kiro.dev

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 kirodotdev/KiroCrew --skill web-preview
Clone the repo
git clone --depth 1 https://github.com/kirodotdev/KiroCrew

Made for: Claude Code, Codex.

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 web-preview

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kirodotdev/kirocrew/web-preview"><img src="https://agentmods.dev/badge/skills/kirodotdev/kirocrew/web-preview.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,104 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 19
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
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.00068 $0.01104
Opus 5.5 $0.00027 $0.00442
Sonnet 5.5 $0.00014 $0.00221
Haiku 4.5 $0.00007 $0.00110

Measured 1mo ago against content hash f3c93598e114, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

web-preview 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 1mo 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.

src/kiro_crew/builtin_skills/web-preview/SKILL.md · 86 lines

How it starts

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

Web Preview marker

Kiro Crew's chat right-side panel has a Preview tab (+ menu → Preview) that embeds a LOCAL URL in a live iframe. It is the user's own preview surface: loopback only, no agent driving, kept for front-end work. When you start a local web server so the user can preview a site/app, tell the dashboard which URL to load by emitting a single hidden marker in your reply.

The marker

Emit exactly this, on its own line, once the server is confirmed listening:

<!-- kirocrew:preview url="http://127.0.0.1:PORT" -->
  • It's an HTML comment, so the user never sees it in the dashboard chat. Only the dashboard has a Preview tab: in a Slack, Discord or other channel conversation the marker is not stripped and reaches the user as literal text, so do not emit it there — give the URL in prose instead. The dashboard opens the Preview tab and shows a Load preview card for that URL, contextual to the current session. Nothing is fetched until the user clicks Load, so tell them to click it rather than saying the preview is already showing.
  • Use the actual URL the server binds to, including the real port (http://localhost:5173, http://127.0.0.1:8080, …). Only loopback is usable: a non-loopback marker is dropped silently — you get no error, the panel just stays empty — so emit only 127.0.0.1, localhost or [::1]. A URL on the dashboard's own loopback port is refused too (it would frame the dashboard), so serve previews on a different port.
  • The tab opens only the origins listed under Settings → Browser → Local preview (exact host:port entries). An unlisted loopback address shows a one-click Allow in the tab itself, which writes the list; tell the user to click it the first time a new dev-server port is used, and say that an allowed origin is also open to your browser tool. You cannot write that list: config is read-only inside the sandbox.
  • The panel may rewrite the host it loads: [::1] becomes 127.0.0.1, and localhost and 127.0.0.1 are swapped against each other for cookie isolation. Same server, different spelling — do not read the difference as a failure.
  • Emit it after you've confirmed the server is up (e.g. it returned HTTP 200), not before.
  • If you restart on a different port, emit a new marker with the new URL — the panel re-points to the newest one. Re-emitting the same URL does nothing (it is applied once per session), so if the user closed the tab, point them back to it instead of re-emitting.

Read the full file on GitHub · 86 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. 1mo ago Changed · +8 lines · +10 tokens per session f3c93598e114
  2. 1mo ago Changed · +3 lines f91a3dae4597
  3. 2mo ago Changed · -24 tokens per session bf2bf86fcdcc
  4. 2mo ago Changed · +13 lines · +3 tokens per session 0e47e3c83b5a
  5. 3mo ago First seen · 62 lines · 79 tokens per session scan A c159d3a622cd

Subscribe to this mod's changes

web-preview is a skill published in the GitHub repository kirodotdev/KiroCrew (5,222 stars, last pushed today), licensed Apache-2.0. It adds 68 tokens to every session and 1,104 once invoked, about $0.0003 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-30.

Related

web-preview compared with skills from other repositories

web-preview next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
web-previewkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A68Claude Code, Codex
browser-testing-with-screenshotsAgentWorkforce/relaySkill1.2ktodayApache-2.0A32Claude Code
creating-actionsLykhoyda/rn-dev-agentSkill201mo agoMITA127Claude Code
node-inspect-debuggerHezaoHezao/poirotSkill2624mo agoMITA18Claude Code
agent-browservercel-labs/open-agentsSkill5.9k2d agoMITA51Claude Code
cost-efficiency-analyzerawslabs/agentcore-samplesSkill3.6ktodayApache-2.0A98Claude Code, Codex
deploying-to-staging-environmentAgentWorkforce/relaySkill1.2ktodayApache-2.0A44Claude Code