clawrium: Skill for Claude Code

.claude/skills/create-playwright/SKILL.md

create-playwright is a skill for Claude Code from ric03uec/clawrium. It costs 49 tokens per session (4,910 once invoked), scanned A, original, Apache-2.0.

A replay-based system for recording browser demonstrations with Playwright, a tool that automates web browsers. A YAML file describes the scenes, and the system turns them into a driver script, recording, and voiceover.

In plain words
What is it for?
Use it to create dated browser-demo projects, capture a live app into HAR files, compile scenes into a Playwright driver, record WebM or MP4 video, and add ElevenLabs narration.
Why use it?
It captures network responses once so later recordings can replay the same behavior consistently. This makes edits faster and avoids repeatedly depending on a live application during compilation and recording.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions AGENTS.md.

This is ric03uec/clawrium's own configuration. It tells Claude Code how to work on clawrium itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything clawrium configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run docs/demos/lib/pw_compile.py docs/demos/$NAME --capture.

Reuse

Borrowing it

Nothing to install: this file belongs to ric03uec/clawrium. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ric03uec/clawrium/main/.claude/skills/create-playwright/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ric03uec/clawrium

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ric03uec/clawrium/create-playwright"><img src="https://agentmods.dev/badge/skills/ric03uec/clawrium/create-playwright.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,910 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 Privilege Escalation · line 275
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00049 $0.04910
Opus 5.5 $0.00020 $0.01964
Sonnet 5.5 $0.00010 $0.00982
Haiku 4.5 $0.00005 $0.00491

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

Security

Grade A, and why

create-playwright 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check-prereqs.sh), 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.

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/create-playwright/SKILL.md · 323 lines

How it starts

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

Browser Demo Recording with Playwright — replay-first pipeline

Record browser demos using Playwright Python. Each demo lives in its own dated-slug folder docs/demos/YYYYMMDD-<slug>/ — the same parent as CLI demos produced by /create-vhs. The pipeline is replay-first: network responses are captured once via HAR on a live app, then a YAML spec drives driver generation, recording, and narration. Iteration is fast and timing is deterministic.

Pipeline

              (one-time, slow)
   scenes.yaml + live app  -->  outputs/*.har       [HAR capture phase]
                                        |
              (instant)                 v
   scenes.yaml  +  outputs/*.har  -->  pw_compile.py  -->  driver.py + cards/*.html + compiled.json
                                        |
              (~recording length)       v
                                     uv run driver.py  -->  recording.webm
                                        |
              (~5s, codec swap)         v
                                     ffmpeg -c:v libx264 ...  -->  recording.mp4
                                        |
              (~30s, cached per text)   v
                                     narrate.py compiled.json  -->  voice/*.mp3 + recording-narrated.mp4
                                        |
              (manual)                  v
                                     upload to YouTube

pw_compile.py, the driver, and narrate.py are all idempotent. The slow step is the initial HAR capture; everything downstream re-runs in seconds.

Output Layout

Path Committed? Purpose
docs/demos/lib/pw_compile.py yes scenes.yaml → driver.py + cards/*.html + compiled.json
docs/demos/lib/pw_driver.py.j2 yes Jinja template for the generated driver
docs/demos/lib/cards/title.html.j2 yes Title-card HTML template
docs/demos/lib/cards/outro.html.j2 yes Outro-card HTML template
docs/demos/lib/narrate.py yes Reused unchanged from /create-vhs
docs/demos/lib/.env.example yes Reused unchanged — ElevenLabs credentials template
docs/demos/lib/.env no (gitignored) Reused unchanged — real API key + voice/model IDs
docs/demos/YYYYMMDD-<slug>/scenes.yaml yes Single source of truth — scene structure, actions, narration
docs/demos/YYYYMMDD-<slug>/outputs/NN-<slug>.har yes Per-scene captured network responses (replayed by the driver)
docs/demos/YYYYMMDD-<slug>/outputs/storage_state.json no (gitignored) Auth/cookie state captured via playwright codegen; contains tokens
docs/demos/YYYYMMDD-<slug>/driver.py yes Generated by pw_compile.py; do not hand-edit
docs/demos/YYYYMMDD-<slug>/cards/title.html yes Generated by pw_compile.py
docs/demos/YYYYMMDD-<slug>/cards/outro.html yes Generated by pw_compile.py
docs/demos/YYYYMMDD-<slug>/compiled.json yes Generated by pw_compile.py; absolute narration timestamps
docs/demos/YYYYMMDD-<slug>/voice/*.mp3 no (gitignored) Per-beat TTS clips, cached by sha1(voice_id + text)
docs/demos/YYYYMMDD-<slug>/recording.webm no (gitignored) Direct Playwright video output
docs/demos/YYYYMMDD-<slug>/recording.mp4 no (gitignored) ffmpeg-transcoded H.264
docs/demos/YYYYMMDD-<slug>/recording-narrated.mp4 no (gitignored) Final video with voiceover muxed in

Read the full file on GitHub · 323 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 323 lines · 49 tokens per session scan A 1ef1741a1dae

Subscribe to this mod's changes

create-playwright is a skill published in the GitHub repository ric03uec/clawrium (67 stars, last pushed 13d ago), licensed Apache-2.0. It adds 49 tokens to every session and 4,910 once invoked, about $0.0002 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

Other skills, from other repositories

python

Use when the task is Python itself, in any framework or none: PEP 695 generics, mypy --strict typing, dataclass/Protocol/TypedDict/Enum choices, asyncio.TaskGroup, stdlib idioms, src/ layout + pyproject.toml with uv, ruff+mypy+pytest gate. NOT a FastAPI/ASGI service (that is fastapi), NOT a deep pytest suite (that is…

ericrisco/rsc-harness · 94 tokens

xhs-cli

A terminal tool for Xiaohongshu, also called RedNote, a Chinese social platform for user-posted notes, photos, and videos.

jackwener/xhs-cli · 47 tokens

reddit-cli

Browses and interacts with Reddit via the cli-web-reddit command-line tool — feeds, subreddits, post search, post details with full comment trees, user profiles, and (after login) voting, commenting, submitting posts, saving, and subscriptions. Use when the user asks about Reddit, subreddits, Reddit posts or comments…

ItamarZand88/CLI-Anything-WEB · 91 tokens

airbnb-cli

Searches Airbnb from the terminal via cli-web-airbnb — find stays by location, dates, and filters; get listing details, guest reviews, and availability calendars; autocomplete location names. Use when the user asks about Airbnb, vacation rentals, listing prices, availability, or finding places to stay. Prefer…

ItamarZand88/CLI-Anything-WEB · 78 tokens

hackernews-cli

Browses and interacts with Hacker News via cli-web-hackernews — top/new/best stories, Ask HN, Show HN, jobs, story details with comments, search, user profiles, and (with login) upvoting, submitting, commenting, favoriting, and hiding. Use when the user asks about Hacker News, HN stories, tech/startup news, or wants…

ItamarZand88/CLI-Anything-WEB · 105 tokens

pexels-cli

Searches and downloads free stock photos and videos from Pexels via the cli-web-pexels command-line tool — keyword search with orientation/size/color filters, photo and video details, downloads, photographer profiles, and collections. Use when the user asks about Pexels, free or royalty-free stock photos and videos…

ItamarZand88/CLI-Anything-WEB · 94 tokens