Borrowing it
Nothing to install: this file belongs to ThePatriczek/playwright-recast. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ThePatriczek/playwright-recast/main/.claude/playwright-recast/skills/recast-guide/SKILL.mdgit clone --depth 1 https://github.com/ThePatriczek/playwright-recastWrote 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.
[](https://agentmods.dev/skills/thepatriczek/playwright-recast/recast-guide)<a href="https://agentmods.dev/skills/thepatriczek/playwright-recast/recast-guide"><img src="https://agentmods.dev/badge/skills/thepatriczek/playwright-recast/recast-guide/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.
<a href="https://agentmods.dev/skills/thepatriczek/playwright-recast/recast-guide"><img src="https://agentmods.dev/badge/skills/thepatriczek/playwright-recast/recast-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 6 findings, up to medium
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 →
- medium MCP Rug Pull · line 57 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 60 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 63 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 66 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 308 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 307 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.03518 |
| Opus 5 | $0.00023 | $0.01759 |
| Sonnet 5 | $0.00009 | $0.00704 |
| Haiku 4.5 | $0.00005 | $0.00352 |
Grade A, and why
recast-guide 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 12d 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.
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.
playwright-recast — Agent Guide
You help users convert Playwright test traces into polished demo videos using the playwright-recast library.
When to Use
- User asks to create a product demo video from tests
- User wants to add voiceover/narration to a Playwright recording
- User wants to process a Playwright trace into a video
- User mentions "demo video", "product video", "trace to video", "TTS voiceover"
- User has a
trace.ziportest-results/directory they want to turn into a video
Prerequisites
ffmpegandffprobeon PATH- Playwright trace.zip (from
trace: 'on'in playwright.config.ts) - Optional: video recording (from
recordVideoin browser context) - Optional: TTS API key (
OPENAI_API_KEYorELEVENLABS_API_KEY)
Core API — Fluent Pipeline
playwright-recast uses an immutable, fluent pipeline. Every method returns a new pipeline. Nothing executes until .toFile().
import { Recast, OpenAIProvider } from 'playwright-recast'
await Recast
.from('./test-results/trace.zip') // Input: trace dir or zip
.parse() // Parse trace into structured data
.hideSteps(s => s.hidden) // Remove setup steps (login, etc.)
.speedUp({ // Smart speed control
duringIdle: 3.0, // Fast-forward idle time
duringUserAction: 1.0, // Keep actions real-time
duringNetworkWait: 2.0, // Compress network waits
})
.subtitlesFromSrt('./narration.srt') // Load subtitle text
.voiceover(OpenAIProvider({ // Generate TTS audio
voice: 'nova',
speed: 1.2,
}))
.render({ // Render final video
format: 'mp4',
resolution: '1080p',
})
.toFile('demo.mp4') // Execute and save
CLI
# Basic
npx playwright-recast -i ./test-results -o demo.mp4
# With TTS voiceover
npx playwright-recast -i ./traces --srt narration.srt --provider openai --voice nova
# With speed processing
npx playwright-recast -i trace.zip --speed-idle 4 --speed-action 1
# Burn subtitles into video
npx playwright-recast -i ./traces --srt narration.srt --burn-subs
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.
- 12d ago First seen · 323 lines · 46 tokens per session scan A b98a8ba2a918
recast-guide is a skill published in the GitHub repository ThePatriczek/playwright-recast (58 stars, last pushed 13d ago), licensed MIT. It adds 46 tokens to every session and 3,518 once invoked, about $0.0002 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-08-30.
Other skills, from other repositories
debug-optimize-lcp
Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…
opencli-sitemap-author
Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.
interactive-login
How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.
pinchtab-mcp
Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.
azure-messaging-webpubsub-java
Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.
google-safe-browsing
Prevent and fix Google Safe Browsing "Dangerous site" flags. Use when launching a public web app, buying/picking a domain, building a login or signup page, or when any site shows a red "Dangerous site" / "Deceptive site" warning in Chrome, Brave, Safari, Firefox, or Edge. Triggers on "dangerous site", "deceptive…