Website Scraper Skill

Read any web page, landing page or whole site as clean files. This skill opens each page, follows redirects to the final address and keeps the full page for a landing page or only the main content for an article, cutting menus, cookie banners and related posts. It can also open the pages of a Google results file you already have. It delivers one file per page and a status for every page.

By , Co-founder and CEO, Porter Metrics

Install skill

Setup

Pick the app you use. Every route starts by connecting Porter Metrics, because the skill reads all its data through it.

  1. 1
    Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what runs the scraper and returns the data, with no other account or key.
    MCP SERVER URL
    https://mcp.portermetrics.com/mcp
  2. 2
  3. 3
    Open claude.ai or Claude Desktop, go to Customize › Skills, click +, then Upload a skill and pick the zip.
  4. 4
    Ask: Use the Website Scraper skill to read [page or site link].

Prompt

Once the skill and Porter Metrics are connected, paste this and replace the company name.

PROMPT
Use the Website Scraper skill to read [page or site link].

Example output

The cleaned file the skill hands over, one row per page read, with the address after redirects, a status, the empty fields and what was cut from the text. Shown with sample data for a fictional brand, Acme Running.

ACME-RUNNING-PAGES.JSONSample data
{
  "run_date": "2026-12-03",
  "pages": [
    {
      "url": "https://acme.example/go/stride",
      "final_url": "https://acme.example/shoes/stride",
      "title": "Acme Stride · Running Shoes for New Runners",
      "description": "Light, cushioned and built for your first 5K. Try them for 30 days with free returns.",
      "headings": [
        "H1 Acme Stride",
        "H2 Built for your first 5K",
        "H2 Sizes and fit",
        "H3 Wide fit"
      ],
      "text_file": "pages/acme-stride.md",
      "links": [
        "https://acme.example/sizes",
        "https://acme.example/returns",
        "https://acme.example/cart"
      ],
      "screenshot": "screenshots/acme-stride.png",
      "scraped_at": "2026-12-03T10:14:00Z",
      "status": "ok",
      "reason": "",
      "empty_fields": []
    },
    {
      "url": "https://acme.example/sale",
      "final_url": "https://acme.example/sale",
      "title": "Trail Shoe Sale · 25% Off · Acme Running",
      "description": "25% off every trail shoe until Sunday.",
      "headings": [
        "H1 25% off trail shoes",
        "H2 Shop by terrain"
      ],
      "text_file": "pages/sale.md",
      "links": [
        "https://acme.example/trail",
        "https://acme.example/returns"
      ],
      "screenshot": "screenshots/sale.png",
      "scraped_at": "2026-12-03T10:14:20Z",
      "status": "ok",
      "reason": "",
      "empty_fields": []
    },
    {
      "url": "",
      "google_redirect_url": "https://google.com/goto?url=...",
      "final_url": "https://acme.example/blog/first-5k",
      "url_source": "breadcrumb",
      "status": "partial",
      "reason": "redirect blocked by a verification page; address rebuilt from Google's breadcrumb",
      "attempts": 2,
      "content": "main content",
      "title": "Your first 5K: an 8-week plan",
      "description": "",
      "headings": [
        "H1 Your first 5K",
        "H2 Weeks 1 to 4",
        "H2 Weeks 5 to 8"
      ],
      "text_file": "pages/first-5k.md",
      "removed": [
        "cookie banner",
        "related posts"
      ],
      "links": [],
      "empty_fields": [
        "description",
        "links"
      ],
      "scraped_at": "2026-12-03T10:15:02Z"
    }
  ]
}
The full skillEverything below is the skill file itself: its summary, its Index and every step. Copy it, download it or read it here.

name: website-scraper

  • objective: The content of one page, a list of pages or a whole site as clean files, with the final address and a status for every page.
  • trigger: Ask to scrape, read or save a web page, a landing page or a site, or to open the pages of a Google results file you already have. This skill never searches Google.
  • parameters: Page links, a site link, or a results file from Google SERP Scraper. Optional: full page or main content, pages to include or skip, how many pages, and fields to pull.
  • output: One markdown file per page, a pages JSON file with a status per page and the raw result in a run folder, plus the count and the cost in the chat.
  • reference: Every step runs through the Porter Metrics MCP (https://mcp.portermetrics.com/mcp).

Index

Item Part Use it when
What this skill does Start Telling this skill apart from Google SERP Scraper and SERP Analysis
Connect Porter Metrics Start Starting any run
Shared rules Start Applying the cost, limit, retry and run folder rules to every step
Ask for the input Setup Listing the pages, the site or the results file
Pages from a results file Setup Opening the pages of a Google results file without searching again
Run the scraper Scrape Reading one page, a list of pages or a whole site
Keep the main content Scrape Cutting menus, banners and related content from an article
Clean the output Scrape Turning the raw result into one row per page with its status
Hand over Finish Giving the user the files and the per-page report
Tools Reference Finding the Porter Metrics action for each job

What this skill does

Index ↑

This skill opens pages and extracts their content; it never searches Google.

Skill What it does
Google SERP Scraper Gets Google’s results for a list of searches.
Website Scraper (this one) Opens pages and extracts their content: text, headings, links, screenshot or set fields.
SERP Analysis Coordinates the two: finds the searches, gets the results, reads the ranking pages and compares them.

Connect Porter Metrics

Index ↑

Run this before any other step.

Rule What to do
Check Call the Porter Metrics MCP whoami tool. A reply with an account means the connection works.
Not connected Stop the task and help the user connect: add the MCP server https://mcp.portermetrics.com/mcp to their AI app, sign in with Google, then run the check again.
Resume Continue with Ask for the input once the check passes.
Porter first Every job in the Tools table runs through the Porter Metrics MCP, so no other tool or key is needed.

Shared rules

Index ↑

These rules apply to every step.

Rule What to do
Public data only Read only what anyone sees logged out. Never sign in, never use the user’s cookies or accounts.
Extract, never judge Every field holds what the page shows. Scores, winners and advice belong to the skill that reads this file.
Every call can cost Each page read is a billed call, even though it changes nothing. Before the first call, tell the user how many pages the run reads.
Scope before running Fix the page list before the first call, using the limits below. Going past a limit needs the user’s yes.
One retry per failed page A failed or blocked page gets one more attempt with a changed setting, as in Run the scraper. Still failing, it is reported with its reason; never rerun the whole list or a page that worked.
Heavy calls A dropped crawl may already be billed. Run it again with a smaller limit, never the same crawl twice.
Empty field A field the page does not show stays empty. Never fill it from a guess.
Run folder Save what the action returned, untouched, in website-scraper/[date]/[target]/raw/, and the cleaned files next to it. The raw file is never edited.
Limit Default Past it
Pages from a list or a results file 20 Ask, naming the extra pages
Pages from a whole-site crawl 20 (limit) Ask before raising limit
Attempts per page 2: the first call and one retry with a changed setting Reported as failed or blocked

Ask for the input

Index ↑

Ask only for what to read; take the defaults for the rest.

Input Required Default
Page links, a site link or a results file Yes none
What to keep No Full page for a landing page; main content for articles, guides and pages from a results file
Whole site No Off: only the pages given
Pages to include or skip No All
Fields No None: full text

Pages from a results file

Index ↑

When the user already has Google results, read those pages; never search again.

Rule What to do
Input A results file from Google SERP Scraper or SERP Analysis, or results pasted in the chat. Skip every search step.
Which results Results that point at a page: organic, featured snippet and the like. Count videos and social posts; read them only when the user asks.
One read per page The same page under two searches is read once; keep every search and position it came from.
Address to open Use url; when it is empty, open google_redirect_url.
Final address Take the address the page landed on from metadata.url and save it as final_url.
Redirect blocked When final_url is still a Google address or the text is a verification page, the redirect was blocked, even with status 200. Retry once with proxy auto and waitFor.
Address from the breadcrumb Still blocked and Google’s breadcrumb shows the full path, open the address it spells and mark url_source as breadcrumb. Otherwise the page is blocked.

Run the scraper

Index ↑

Pick the call that fits the input.

Rule What to do
One page Run web_scraping.firecrawl_scrape with url, objective and formats markdown and links; add screenshot for a landing page.
Full page For a landing page, set onlyMainContent off so the header, offer and footer stay.
Main content For articles and pages from a results file, set onlyMainContent on with excludeTags nav, header, footer and aside, then apply Keep the main content.
Redirects Follow redirects to the final address and keep it; ad links and Google links redirect.
Retry with a change A short or empty text gets its one retry with waitFor; a block page gets it with proxy auto.
Whole site Run web_scraping.firecrawl_crawl with url, limit, and includePaths or excludePaths; read pages as they finish.
Fields only When the user wants set fields, such as prices or plans, run web_scraping.firecrawl_extract with the links and a prompt naming the fields.

Keep the main content

Index ↑

onlyMainContent still lets through menus, banners and related posts, so cut them from the cleaned text.

Rule What to do
Start Start at the page’s H1.
Keep The body under it: headings, paragraphs, lists, tables and images that belong to the topic.
Cut Navigation and menus, cookie and privacy banners, chat and contact widgets, sign-up and newsletter prompts, related, latest or recommended content, comments, share buttons and footer link lists.
Where the body ends The body ends at the first cut block after the last topic heading; everything after it goes.
Keep the trace List each cut block in removed, so the user can see what was taken out.
Never guess back A page whose body is mostly cut is reported as partial, never padded.

Clean the output

Index ↑

Keep one row per page with these fields, in this order.

Field What it holds
url The link given, or the result’s address
google_redirect_url The Google redirect opened, when there was one
final_url The address the page landed on
url_source given, redirect or breadcrumb
found_in For pages from a results file: each search, written once, with the page’s position and Google’s snippet there
status ok, partial, blocked or error
reason For anything but ok: the status code, the block page or the error
attempts 1 or 2
content full page or main content
title The page title
description The meta description
last_modified The date the page gives, when it gives one
headings Each H1, H2 and H3 in order
text_file The cleaned markdown file
removed Blocks cut by Keep the main content
links Every link in the kept text
screenshot The screenshot file, for a full page
empty_fields Every field above that came back empty
scraped_at Date and time of the read
Output (JSON)
{"run_date": "", "source": "", "pages": [{"url": "", "google_redirect_url": "", "final_url": "", "url_source": "", "found_in": [{"query": "", "position": 0, "snippet": ""}], "status": "", "reason": "", "attempts": 0, "content": "", "title": "", "description": "", "last_modified": "", "headings": [], "text_file": "", "removed": [], "links": [], "screenshot": "", "empty_fields": [], "scraped_at": ""}]}
Rule What to do
Files Give the user the path of the pages file, the markdown folder and the raw folder.
Per-page report List every page with its status, final address, empty fields and, when not ok, the block or error.
Summary Say in the chat how many pages were read, how many came back partial, blocked or with errors, and the calls spent.
Next step To compare pages that rank for a search, hand this file to SERP Analysis.

Porter Metrics MCP actions run through read_action; each one is read only, needs no connected account and can spend credits.

Use Tool Parameters
Connection check whoami none
One page web_scraping.firecrawl_scrape url · objective (one line on what you need) · formats markdown, links, screenshot · onlyMainContent · excludeTags · waitFor · proxy
Whole site web_scraping.firecrawl_crawl url · limit · includePaths · excludePaths
Set fields web_scraping.firecrawl_extract urls · prompt naming the fields · schema

FAQ

Yes. The skill is free to copy, download and change. It reads data through the Porter Metrics MCP, which you can connect for free.

Yes. Every step reads or publishes data through the Porter Metrics MCP. Without it the skill stops at its first step, Connect Porter Metrics, and walks you through connecting.

Claude (web, desktop and Claude Code), ChatGPT, Codex, Cursor and any app that reads skill files or lets you paste instructions, as long as the Porter Metrics MCP is connected there.

Part of these skills

The skill is free. The Porter connection is free.

Start free