Borrowing it
Nothing to install: this file belongs to cashubtc/cashu.me. 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/cashubtc/cashu.me/main/.agents/skills/e2e-test-playwright-video/SKILL.mdgit clone --depth 1 https://github.com/cashubtc/cashu.meWrote 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/cashubtc/cashu.me/e2e-test-playwright-video)<a href="https://agentmods.dev/skills/cashubtc/cashu.me/e2e-test-playwright-video"><img src="https://agentmods.dev/badge/skills/cashubtc/cashu.me/e2e-test-playwright-video/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/cashubtc/cashu.me/e2e-test-playwright-video"><img src="https://agentmods.dev/badge/skills/cashubtc/cashu.me/e2e-test-playwright-video.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, 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 Tool Misuse · line 43 Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
- high Tool Misuse · line 51 Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
- high Tool Misuse · line 77 Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
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.00083 | $0.00904 |
| Opus 5 | $0.00042 | $0.00452 |
| Sonnet 5 | $0.00017 | $0.00181 |
| Haiku 4.5 | $0.00008 | $0.00090 |
Grade A, and why
e2e-test-playwright-video 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 13d 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 — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Playwright E2E test video
Turn Cashu.me's real browser tests into a short, labeled demo while preserving the tests as the source of truth. The bundled renderer records the successful incoming, outgoing, and two-wallet ecash flows, then assembles them into an H.264 MP4 with a title card and a contact sheet for visual review.
Workflow
-
Work from the Cashu.me repository root and read
test/e2e/README.mdwhen the suite or prerequisites are unfamiliar. -
Confirm
ffmpeg,ffprobe, Docker Compose, and Playwright Chromium are available. Let the test runner report missing project dependencies normally. -
Run the bundled renderer:
node .agents/skills/e2e-test-playwright-video/scripts/render.mjsThis invokes the real
mint.spec.ts,melt.spec.ts, andecash.spec.tstests withE2E_VIDEO=on. It stops immediately if any test fails, because a polished montage must never disguise a broken wallet operation. -
Inspect the generated contact sheet. Check that the incoming and outgoing chapters show the wallet UI and that both ecash wallets are visible side by side. If it is malformed, fix the renderer or source test and rerun it.
-
Report the test result, video duration and resolution, and provide the final MP4 using an absolute local file link. Embed the local video when the client supports media rendering.
Reusing recordings
When the current test-results/ already contains a complete video-enabled run,
skip Docker and the browser tests:
node .agents/skills/e2e-test-playwright-video/scripts/render.mjs --skip-tests
Use --speed to adjust pacing and --output to choose another repository-local
destination:
node .agents/skills/e2e-test-playwright-video/scripts/render.mjs \
--skip-tests \
--speed 1.5 \
--output artifacts/wallet-e2e-fast.mp4
Run the script with --help for the concise option reference.
Output and safety
- The default MP4 is
artifacts/wallet-e2e-demo.mp4; its contact sheet sits beside it with-contact-sheet.pngappended to the basename. - Raw Playwright recordings remain below
test-results/. The ecash test saves stablesender.webmandreceiver.webmcopies so the montage cannot swap the two roles accidentally. - Generated videos and rendering assets are ignored by Git. Do not commit them unless the user explicitly requests a durable media artifact and repository policy permits it.
- Keep normal CI economical:
E2E_VIDEO=onis opt-in, while ordinary runs retain recordings only on failure. - Preserve the suite's hermetic design. Do not replace the local CDK fake rails with public Lightning, Bitcoin, price, Nostr, or mint services just to produce more dramatic footage.
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.
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.
- 13d ago First seen · 85 lines · 83 tokens per session scan A 348f814c87a4
e2e-test-playwright-video is a skill published in the GitHub repository cashubtc/cashu.me (215 stars, last pushed 4d ago), licensed MIT. It adds 83 tokens to every session and 904 once invoked, about $0.0004 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
field-test
Exercise tools, resources, and prompts against a live HTTP server via MCP JSON-RPC over curl. Starts the server, surfaces the catalog, runs real and adversarial inputs, and produces a tight report with concrete findings and numbered follow-up options. Use after adding or modifying definitions, or when the user asks to…
dogfood
Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.
test-warp-ui
Guides testing Warp UI features and changes using the computer use tool. Use this skill only when computer-use testing was requested (explicit request or accepted offer) and the computeruse tool is available to the agent. Covers launching Warp and verifying UI behavior.
test-electron-app
Drive the real running PostHog Electron app (live tRPC, workspace-server, real data) over CDP with agent-browser. Connect to the running app on port 9222, test desktop changes against a local Django stack, snapshot the accessibility tree, inspect network requests, and screenshot only when explicitly asked. Use when…
pyats-dynamic-test
Generate and execute deterministic pyATS aetest validation scripts - interface state, OSPF neighbors, BGP paths, ping matrices, and custom compliance tests. Use when writing a network test, validating post-change state, running pass/fail checks, or building automated regression tests.
test-loop
Plan, generate, and heal an executable E2E test suite from approved acceptance criteria (web and mobile).