vscode-playwright

vscode-playwright is a skill for Claude Code, Codex from Peter-N91/hve-squad-mcp. It costs 34 tokens per session (3,885 once invoked), scanned C, original, MIT.

A browser-automation tool based on Playwright for capturing VS Code screenshots and recording silent WebM browser animations. Playwright is software that controls a browser so captures can be repeated or run without a person present.

In plain words
What is it for?
Use it to capture VS Code files, code walkthroughs, chat examples, or self-contained browser animation scenes.
Why use it?
It provides a repeatable way to produce editor images and browser clips for documentation, slides, or visual demonstrations. It can also run scripted captures in continuous integration, a service that checks changes automatically.

Skill for Claude CodeCodex

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

Good fit Use it to capture VS Code files, code walkthroughs, chat examples, or self-contained browser animation scenes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/peter-n91/hve-squad-mcp/vscode-playwright
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 Peter-N91/hve-squad-mcp --skill vscode-playwright
Clone the repo
git clone --depth 1 https://github.com/Peter-N91/hve-squad-mcp

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 vscode-playwright

README.md
[![agentmods](https://agentmods.dev/badge/skills/peter-n91/hve-squad-mcp/vscode-playwright/github.svg)](https://agentmods.dev/skills/peter-n91/hve-squad-mcp/vscode-playwright)
Your own site
<a href="https://agentmods.dev/skills/peter-n91/hve-squad-mcp/vscode-playwright"><img src="https://agentmods.dev/badge/skills/peter-n91/hve-squad-mcp/vscode-playwright/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 vscode-playwright

Your own site · 80×15
<a href="https://agentmods.dev/skills/peter-n91/hve-squad-mcp/vscode-playwright"><img src="https://agentmods.dev/badge/skills/peter-n91/hve-squad-mcp/vscode-playwright.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,885 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. 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.00034 $0.03885
Opus 5.5 $0.00014 $0.01554
Sonnet 5.5 $0.00007 $0.00777
Haiku 4.5 $0.00003 $0.00388

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

Security

Grade C, and why

vscode-playwright scanned grade C with 2 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 5d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/capture_vscode.py, scripts/record_browser_video.py, tests/fuzz_harness.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf "$VSCODE_SERVE_DIR"

Makes network callslowCapability

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

compatibility: 'VS Code screenshots require its CLI. Scripted capture requires uv, Python 3.11+, and Chromium; animation encoding also requires FFmpeg. Interactive capture requires Playwright MCP tools and curl'
host/upstream-runtime/.github/skills/experimental/vscode-playwright/SKILL.md · 250 lines

How it starts

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

VS Code and Browser Capture Skill

Captures VS Code editor views, code walkthroughs, and Copilot Chat examples, and records self-contained browser animation scenes as silent WebM clips.

Overview

This skill provides a complete workflow for capturing high-quality VS Code screenshots suitable for embedding in slide decks, documentation, and other visual media. It handles server lifecycle management, viewport configuration, UI cleanup, and screenshot validation.

Two paths share the same constraints. Prefer the scripted path for any repeatable or unattended capture, including CI. Use the interactive Playwright MCP path for exploratory or one-off captures.

Scripted Capture

scripts/capture_vscode.py runs a YAML capture plan headless: it starts serve-web, applies capture settings, opens each file in Monaco, measures the rendered font, and writes one screenshot per capture. It drives Playwright directly, so it needs no MCP server and runs on a CI runner.

uv sync
uv run playwright install --with-deps chromium
uv run python scripts/capture_vscode.py --plan capture-plan.yml --workspace /path/to/repo

A plan names each capture's id, a workspace-relative file, and an output path relative to the plan directory, or to --output-root when given. An id is one filename-safe token of letters, digits, ., _, or -. An output is a relative .png path with / separators and no .., and the script refuses to write outside the output root or through a symlink:

resolution: 1920x1080
min_font_pt: 18
font_size: 26
theme: Default Dark Modern
captures:
  - id: marketplace-catalog
    file: .github/plugin/marketplace.json
    output: frames/marketplace-catalog.png

The script exits 0 only when every capture was written and met min_font_pt, and prints one JSON result on its last stdout line with each capture's measured rendered_font_size_pt, zoom, and source_resolution. A failed capture also writes debug-<id>.png. It rejects markdown targets at plan validation and fails when the dark theme does not apply, so a clashing light capture cannot pass. When piping its output in CI, run the step under shell: bash so pipefail preserves the exit code.

Read the full file on GitHub · 250 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. 5d ago First seen · 250 lines · 34 tokens per session scan C ce43b4f86cc8

Subscribe to this mod's changes

vscode-playwright is a skill published in the GitHub repository Peter-N91/hve-squad-mcp (3 stars, last pushed 2d ago), licensed MIT. It adds 34 tokens to every session and 3,885 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-26.

Related

vscode-playwright compared with skills from other repositories

vscode-playwright next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vscode-playwrightPeter-N91/hve-squad-mcpSkill32d agoMITC34Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k6d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.3kyesterdayMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.4k4d agoMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill1.1ktodayMITA40Claude Code
browser_cdpmateaix/mateclawSkill1.2ktodayApache-2.0A44Claude Code, Codex