Playwright-powered browsing and extraction for Hermes and Grok Bot. Browse once, promote a durable extract script, rerun with effectively zero model tokens.
This is a native skill adaptation of Microsoft Webwright. Credit to Microsoft. We did not build their CLI. The pattern is the same: the browser process is disposable; the durable state is plan.md, scripts, screenshots, logs, and result.json.
Naive page snapshots are large and often still miss the answer. IR tables hydrate in JavaScript. PDF viewers hide document text from the DOM. A small result.json is the context the model actually needs.
Directional Grok Bot benchmark, 2026-09-02, one environment, NVIDIA IR latest 10-Q:
| Path | Wall-clock | Est. tokens into context | LLM tokens at exec | Answer complete? |
|---|---|---|---|---|
| Naive IR HTML | 0.21s | ~28k | n/a | No |
| Durable script | 3.42s | ~770 | 0 | Yes |
| Script rerun | 3.25s | ~770 | 0 | Yes |
Hermes saw the same class of win on 2026-05-25 (PDF extraction and multi-source article harvest). Treat the ratios as evidence for this task class, not a universal multiplier. Authoring still costs tokens once. Repeats are local script execution.
.
├── README.md
├── webwright/ # Hermes skill
│ ├── SKILL.md
│ └── references/
├── grok/ # Grok Bot skill
│ └── SKILL.md
├── examples/
└── scripts/
mkdir -p ~/.hermes/skills
cp -R webwright ~/.hermes/skills/
python -m pip install -r requirements.txt
playwright install firefoxStart a new Hermes session so the loader sees it.
Copy grok/SKILL.md into the Grok Bot skills library (name: Webwright). Extract scripts use a standalone headless Firefox. Do not attach Playwright to the Grok box Chrome. Signed-in or GUI sites stay on the box browser.
python -m pip install playwright
python -m playwright install firefoxNeed pdfinfo / pdftotext (poppler) for filings and reports.
Use it when the page is noisy, the task is multi-step, you need a PDF/report, or the path will repeat. Do not use it for a one-page lookup that a normal fetch already answers.
No credentials, cookies, or private run artifacts in this repository. Do not put secrets in scripts, logs, or plan.md. No purchases, posts, or account changes without an explicit human go immediately before.
Before publishing a fork:
python scripts/validate_skill.pyInspired by Microsoft Webwright:
Hermes-native skill: webwright/SKILL.md
Grok Bot skill: grok/SKILL.md
MIT licensed.