Agent skill
web-fetch
Fetch and extract readable content from web pages. Use for lightweight page access without browser automation.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/web-fetch
Metadata
Additional technical details for this skill
- emoji
- 🌐
- always
- YES
- requires
-
{ "bins": [ "curl" ] }
SKILL.md
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 <available_skills>, note the <base_dir> path.
# 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:
url: The HTTP/HTTPS URL to fetch (required)output_file: Optional file to save the output (default: stdout)
Returns:
- Extracted page content with title and text
Examples
Fetch a web page
bash "<base_dir>/scripts/fetch.sh" "https://example.com"
Save to file
bash "<base_dir>/scripts/fetch.sh" "https://example.com" output.txt
cat output.txt
Notes
- 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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?