Chrome
Runs local headless Chrome via composable cdp commands, session-based extract (article, layout, a11y), and search/fetch/audit recipes. Use when the user invokes /chrome, asks for browser CDP automation, page extraction, UI layout audit on a dev URL, Google search, or structured content from a URL.From its SKILL.md
npx -y skills add litingyes/chrome-skills --skill chromeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.6 KB, 875 tokens by cl100k_base, as published. Nobody here has run it
Chrome
Composable local Chrome automation for agents. Five top-level commands:
| Command | Layer | Purpose |
|---|---|---|
cdp | L1 atomic | Launch, navigate, wait, evaluate, snapshot, emulate, screenshot, close |
extract | L2 compose | Extract structured data from the current page (article, serp, layout, a11y) |
search | L3 recipe | Google search one-shot |
fetch | L3 recipe | Single-URL article extraction one-shot |
audit | L3 recipe | Multi-viewport UI layout verification on a dev URL |
Prerequisites
- Google Chrome or Chromium installed locally
- Python 3.10+
- Install once:
skills/chrome/scripts/setup
This installs Python dependencies into skills/chrome/scripts/vendor/.
Optional: set CHROME_PATH to override Chrome binary discovery.
Routing
- Parse the first token after
/chrome:cdp,extract,search,fetch, oraudit. - Read only
skills/chrome/references/<token>.mdfor workflow details. - Run the matching script under
skills/chrome/scripts/. - Scripts print JSON to stdout. Summarize for the user; keep the JSON for reasoning.
Script paths (run from repo root):
skills/chrome/scripts/cdp <action> [options]
skills/chrome/scripts/extract <mode> --session <id>
skills/chrome/scripts/search "<query>"
skills/chrome/scripts/fetch "<url>"
skills/chrome/scripts/audit "<url>" [options]
When to use which layer
- One URL, article content →
fetch - Google search →
search - UI layout on dev server →
audit(orextract layoutin a session) - Multiple pages in one browser →
cdp launch→navigate+extract(repeat) →cdp close - Custom JS or debugging →
cdp evaluate - CAPTCHA / bot check on Google → see
references/search.md; retry withcdp launch --headed --user-data-dir <profile> - Core Web Vitals / CLS → future
extract perf(see extension-roadmap.md)
UI verification principles
- Never trust CSS alone — verify rendered layout with
auditorextract layout - Always multi-viewport — use
audit --viewports 375,1280(mobile + desktop) - Issues are facts — fix from
issues[](rule,selector,viewport), not HTML guesses - Polish layer —
audit --include-screenshotthen visual review - Close sessions —
auditauto-closes; manual flows needcdp close
Command index
cdp actions
launch · navigate · wait · evaluate · snapshot · emulate · resize · screenshot · close
Details: references/cdp.md
extract modes
article · serp · layout · a11y
Requires --session. Details: references/extract.md
Recipes
search "<query>"— references/search.mdfetch "<url>"— references/fetch.mdaudit "<url>"— references/audit.md
JSON schemas: references/output-schemas.md
Additional resources
- examples.md — copy-paste flows
- references/cdp-patterns.md — agent-browser concept mapping
- references/extension-roadmap.md — chrome-only extension path (perf, network, future)
What ships with it: 26 files
85.5 KB alongside SKILL.md, 16 of them executable
references/
- audit.md3.1 KB
- cdp.md3.0 KB
- cdp-patterns.md2.3 KB
- extension-roadmap.md1.7 KB
- extract.md2.7 KB
- fetch.md1.2 KB
- output-schemas.md4.0 KB
- search.md1.4 KB
scripts/
- auditruns2.1 KB
- cdpruns5.7 KB
- extractruns2.5 KB
- fetchruns1.2 KB
- lib/cdp.pyruns14.9 KB
- lib/chrome.pyruns2.8 KB
- lib/cli_helpers.pyruns758 B
- lib/extract_a11y.pyruns3.0 KB
- lib/extract_article.pyruns3.0 KB
- lib/extract_search.pyruns4.5 KB
- lib/__init__.pyruns440 B
- lib/layout_probe.pyruns10.1 KB
- lib/recipes.pyruns7.2 KB
- lib/session.pyruns3.7 KB
- requirements.txt17 B
- searchruns1.3 KB
- setupruns205 B
- examples.md2.6 KB