URL Scrape
Scrape any URL through the local Frevana daemon and Chrome Extension session.
Purpose
This skill is for scraping a web page URL using the Chrome Extension-backed Frevana MCP tool frevana_scrape.
Inputs:
url(required) - absolute URL to scrapeprovider(optional) - defaults tourlfor clean Markdown extraction via Readability.jstimeout(optional) - Frevana tool timeout in milliseconds, default comes from the tool
Output:
- scraped page content, usually clean Markdown with title, author, content, and links
Summarize the scraped content unless the user asks for the raw scrape output.
What This Skill Needs
- user-provided absolute
url - bundled
scripts/setup.shwrapper, which downloads and runs the latest official Frevana setup script - Frevana local daemon running after setup, default port
12306 - Chrome connected through the Frevana Chrome Extension
curlbashpython3
This is a Chrome Extension skill. It uses the local daemon and Chrome Extension session.
Execution Order
Use this flow:
- Confirm the user has provided an absolute URL with
http://orhttps://. - Prefer the script over ad hoc
frevana callcommands. - Default
providertourlwhen the user does not specify it. - Do not invent optional timeout values.
- Let the script run bundled
scripts/setup.shbefore every Frevana tool call. - If setup reports Chrome disconnected, stop and tell the user to open Chrome, connect the Frevana extension, and retry.
- Run the URL scrape only after setup succeeds.
- If the scrape returns login/auth content or empty content, tell the user they may need to log in to that site in Chrome.
- Return a concise summary, or the raw scraped content if requested.
- When useful, save the output to a file.
Commands
Basic URL scrape
bash <skill-path>/scripts/scrape_url.sh \
--url "https://example.com"
Explicit provider and timeout
bash <skill-path>/scripts/scrape_url.sh \
--url "https://example.com" \
--provider url \
--timeout 60000
Save output to file
bash <skill-path>/scripts/scrape_url.sh \
--url "https://example.com" \
--output ./out/url-scrape-result.md
Fixed Tool Call Shape
The script calls:
frevana call frevana_scrape '<json_args>'
The JSON arguments use this shape, omitting optional fields that were not provided:
{
"url": "https://example.com",
"provider": "url",
"timeout": 60000
}
Always send provider; default it to url when the user does not specify a value.
Do not pass unsupported fields to frevana_scrape.
Output
- Success: the script prints the Frevana scrape result to stdout
- With
--output: the same result is also written to the specified file path - Failure: the script prints the Frevana error or preflight failure to stderr and exits non-zero
Notes
- Require
--url. - URL must start with
http://orhttps://. --providerdefaults tourl.--timeoutmust be a positive integer when provided.- The script runs bundled
scripts/setup.shbefore every scrape, matching the original Frevana skill flow. scripts/setup.shdownloads and executes the latest official setup script fromhttps://raw.githubusercontent.com/FinpeakInc/frevana-cli-releases/refs/heads/main/skills/frevana/scripts/setup.sh.- If
frevanais missing, the official setup script installs the Frevana binary before starting/checking the daemon.
Example Prompts
中文
- "抓取 https://example.com 的内容"
- "把这个网页 scrape 成 Markdown"
- "用 Frevana 抓取这个登录后的页面,并保存原始输出"
English
- "Scrape https://example.com"
- "Extract this web page as Markdown"
- "Scrape this authenticated page through Chrome and save the raw output"