AGENT SKILL
playwright-tooling
Recover Playwright browser cache on restricted hosts.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- playwright-tooling
- author
- Hermes Agent
- license
- MIT
- version
- 1.0.0
- metadata
- { "hermes": { "tags": [ "playwright", "chromium", "cache", "network", "browser-automation" ], "related_skills": [ "qwen-web" ] } }
- description
- Recover Playwright browser cache on restricted hosts.
- when-to-use
- Use when playwright install times out on a network-restricted host, manually placed browser dirs are wiped every run, or headless-shell/FFmpeg is missing from the Playwright cache.
- argument-hint
- [<browser>]
02 资源文件 2
- 参考文档references/cache-layout.md2.5 KB
- 参考文档references/verify.md1.1 KB
03 SKILL.md 正文
Playwright Tooling
Playwright browser infrastructure: cache recovery, headless Chromium setup, and mirror routing for network-restricted hosts.
When to Use
playwright installtimes out or fails on GFW/corporate proxy/data-cap hosts.curlreaches the CDN but Playwright's Node fetch cannot.- Browser dirs are wiped on each
playwright installrun. - headless-shell or FFmpeg is missing from
~/.cache/ms-playwright/.
Global Rules
- Verify dir names before placing files. Dashes in browser names normalize to underscores on disk; placing in the dashed dir makes Playwright wipe it on every install.
- Create both marker files after every manual placement. Without
INSTALLATION_COMPLETE, Playwright re-downloads. - Prefer the mirror path over raw CDN when the CDN is reachable by
curlbut not by Playwright's Node fetch client. - Cache dir naming is the single source of truth for exact directory names — see the layout table in
references/cache-layout.md.
Routing
| Step | Reference | Purpose |
|---|---|---|
| Cache layout + recovery | references/cache-layout.md |
Dir names, marker files, CDN-unreachable recovery procedure. |
| Verification | references/verify.md |
Post-placement checks: marker presence, install exit 0, headless launch. |
04 同仓库更多 Skills
github-workflow
Umbrella for GitHub auth, repo management, issues, PRs, Mergify, and releases. Subsumes github-auth and repo-manager.
★ 0
brave-automation
baa CLI: Brave profiles, Google sessions, credentials.
★ 0
aes
AES docs, layers, rule fixes, and legacy migration.
★ 0
pretext
Build creative browser demos with DOM-free text layout.
★ 0
popular-web-designs
54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.
★ 0
p5js
p5.js sketches: gen art, shaders, interactive, 3D.
★ 0