# Webfetch

> Fetch and extract text content from a URL

- Skill: `tashfeenahmed/webfetch` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx skillmds@latest add tashfeenahmed/webfetch`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tashfeenahmed/webfetch/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tashfeenahmed (https://skillmd.com/u/tashfeenahmed)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/tashfeenahmed/webfetch

---


# Web Fetch Skill

Fetch a URL and extract its text content, stripping HTML markup.

## When to Use

Use webfetch for:

- **Reading documentation**: Fetch API docs, guides
- **Checking web content**: Verify what a URL contains
- **Extracting text**: Get clean text from HTML pages
- **Fetching data**: Download JSON or text data

## Input Format

```json
{
  "url": "https://example.com/docs",
  "max_length": 10000
}
```

### Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `url` | string | Yes | - | URL to fetch (must be http/https) |
| `max_length` | number | No | 50000 | Max characters to return |

## Security

- SSRF protection: blocks private/internal IP ranges
- Only HTTP and HTTPS URLs allowed
- 30-second request timeout

## Limitations

- Maximum 50000 characters by default
- Basic HTML-to-text conversion (no JavaScript rendering)
- May not work with sites that require authentication

