web-fetch
Original:🇺🇸 English
Not Translated
Fetch and extract readable content from web pages. Use for lightweight page access without browser automation.
1installs
Sourceneversight/skills_feed
Added on
NPX Install
npx skill4agent add neversight/skills_feed web-fetchSKILL.md Content
Web Fetch
Fetch and extract readable content from web pages using curl and basic text processing.
Usage
Important: Scripts are located relative to this skill's base directory.
When you see this skill in , note the path.
<available_skills><base_dir>bash
# General pattern:
bash "<base_dir>/scripts/fetch.sh" <url> [output_file]
# Example (replace <base_dir> with actual path from skill listing):
bash "~/chatgpt-on-wechat/skills/web-fetch/scripts/fetch.sh" "https://example.com"Parameters:
- : The HTTP/HTTPS URL to fetch (required)
url - : Optional file to save the output (default: stdout)
output_file
Returns:
- Extracted page content with title and text
Examples
Fetch a web page
bash
bash "<base_dir>/scripts/fetch.sh" "https://example.com"Save to file
bash
bash "<base_dir>/scripts/fetch.sh" "https://example.com" output.txt
cat output.txtNotes
- Uses curl for HTTP requests (timeout: 10s)
- Extracts title and basic text content
- Removes HTML tags and scripts
- Works with any standard web page
- No external dependencies beyond curl