agentleFS
litingyeslitingyes/chrome-skills/skills/chrome/SKILL.md

chrome

Skill0 starsChanged 5 months agoApache-2.0View on GitHub

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.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. Panchangam18/background-computer-use★ 4same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read only skills/chrome/references/<token>.md for workflow details.

    line 36
  2. Very specific:

    Run the matching script under skills/chrome/scripts/.

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Chrome

Composable local Chrome automation for agents. Five top-level commands:

CommandLayerPurpose
cdpL1 atomicLaunch, navigate, wait, evaluate, snapshot, emulate, screenshot, close
extractL2 composeExtract structured data from the current page (article, serp, layout, a11y)
searchL3 recipeGoogle search one-shot
fetchL3 recipeSingle-URL article extraction one-shot
auditL3 recipeMulti-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

  1. Parse the first token after /chrome: cdp, extract, search, fetch, or audit.
  2. Read only skills/chrome/references/<token>.md for workflow details.
  3. Run the matching script under skills/chrome/scripts/.
  4. 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 (or extract layout in 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 with cdp 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 audit or extract 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-screenshot then visual review
  • Close sessions — audit auto-closes; manual flows need cdp 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.md
  • fetch "<url>" — references/fetch.md
  • audit "<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)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.