web-fetch-linkup

Web Fetch with Linkup

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "web-fetch-linkup" with this command: npx skills add romainjeff/linkup-fetch-skill/romainjeff-linkup-fetch-skill-web-fetch-linkup

Web Fetch with Linkup

Fetch clean web content via the Linkup API using a standalone Python script.

Prerequisites

A .env file in the skill directory (.claude/skills/web-fetch-linkup/.env ) with:

LINKUP_API_KEY=your_api_key_here

See .env.example for the template.

Workflow

Step 1: Collect the URL

Get the URL from the user via AskUserQuestion or directly if provided in the request.

Step 2: Fetch the content

Run the script using Bash:

python3 .claude/skills/web-fetch-linkup/fetch.py "<URL>"

Options:

Flag Effect

--no-render-js

Disable JavaScript rendering (default: enabled)

--extract-images

Include image URLs in output

--include-raw-html

Include raw HTML in output

Examples:

Standard fetch (JS rendering enabled)

python3 .claude/skills/web-fetch-linkup/fetch.py "https://example.com/article"

Static page, faster

python3 .claude/skills/web-fetch-linkup/fetch.py "https://example.com" --no-render-js

With images

python3 .claude/skills/web-fetch-linkup/fetch.py "https://example.com" --extract-images

Step 3: Parse the response

The script outputs JSON on stdout with:

  • url — The fetched URL

  • markdown — The extracted content in Markdown format

  • images — (only with --extract-images ) List of image URLs

  • rawHtml — (only with --include-raw-html ) Raw HTML source

Step 4: Save the content

Create a file in fetched-content/ with the format:

Filename: {domain}-{YYYYMMDD-HHmmss}.md

Structure:


source: <URL> fetched_at: <ISO timestamp>

<Title inferred from content>

<Extracted markdown content>

Step 5: Confirm

Inform the user of the created file path.

Exit codes

Code Meaning

0 Success

1 .env missing or LINKUP_API_KEY not set

3 401 — Invalid or expired API key

4 429 — Rate limit exceeded

5 Other HTTP error

6 Network error (DNS, timeout, etc.)

Error handling

Error Action

Exit 1 Check .claude/skills/web-fetch-linkup/.env exists with LINKUP_API_KEY

Exit 3 API key is invalid or expired — get a new one at https://app.linkup.so

Exit 4 Rate limit — wait before retrying

Exit 5 Check stderr for HTTP status details

Exit 6 Network issue — retry with --no-render-js if timeout

Usage examples

Fetch an article:

"Fetch the content of https://example.com/article"

Fetch documentation:

"Use linkup to scrape https://docs.example.com/api"

Dynamic page:

"Extract content from this React page: https://app.example.com/dashboard"

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

claw2ui

Generate interactive web pages (dashboards, charts, tables, reports) and serve them via public URL. Use this skill when the user explicitly asks for data vis...

Registry SourceRecently Updated
General

WeChat Article Summarize

Read one or more WeChat public account article links from mp.weixin.qq.com, extract cleaned full text and optional image links, summarize each article in Chi...

Registry SourceRecently Updated
General

Openfinance

Connect bank accounts to AI models using openfinance.sh

Registry SourceRecently Updated
General

---

合同审查清单AI助手 - 5类合同+3大特殊条款,风险识别与修改建议

Registry SourceRecently Updated