Web Fetch — AI skill for Claude Code
LLM-neutral skill that fetches a URL to a temp file so agents can pipe the path through rg / jq / awk instead of dumping the whole page into context.
How to install Web Fetch
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open code-yeongyu/web-fetch and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Web Fetch does
LLM-neutral skill that fetches a URL to a temp file so agents can pipe the path through rg / jq / awk instead of dumping the whole page into context. Same shape as pi-webfetch / opencode webfetch. Single-file Python 3 stdlib. Works on macOS, Linux, Windows.
Alternatives in AI
- Qiaomu Markdown Proxy — Fetch any URL as clean Markdown via proxy services (r.jina.ai / defuddle.md) or built-in scripts 426 ★
- Devo — Model-neutral agent desktop/runtime for private, enterprise, and OpenAI-compatible / Anthropic-compatible mode 316 ★
- Temp Doc — Manage temporary documentation created during task execution - prevent git pollution from AI-generated checkli 64 ★
README
web-fetch
LLM-neutral skill for fetching a URL and writing the body to a temp file so an agent can pipe the path through `rg` / `jq` / `awk` instead of dumping the whole page into the conversation.
Same shape as [`pi-webfetch`](https://github.com/code-yeongyu/pi-webfetch) and [`opencode/webfetch`](https://github.com/sst/opencode), packaged as a standalone skill that any Bash-capable agent (Claude Code, OpenCode, pi, hermes, openclaw) can load.
Install
git clone https://github.com/code-yeongyu/web-fetch ~/.agents/skills/web-fetch
That is it. The script is single-file Python 3 stdlib; no `pip install` needed. `curl` is preferred but optional (urllib fallback).
Symlink for active development
ln -s /path/to/your/clone ~/.agents/skills/web-fetch
Other agents
- Claude Code / OpenCode: drop the directory under
~/.agents/skills/and the skill auto-registers via thename+descriptionin the frontmatter. - pi (
~/.senpi/agent): not apiextension - this is a skill, not a Tool extension. Pi consumes skills via~/.agents/skills/symlinks; see~/.senpi/.pi/agent/skills/for the convention. - Direct CLI use:
python3 ~/.agents/skills/web-fetch/scripts/web_fetch.py.
Usage
# Default (markdown, auto-converted from HTML)
python3 scripts/web_fetch.py https://example.com
# Format options
python3 scripts/web_fetch.py https://example.com --format markdown
python3 scripts/web_fetch.py https://example.com --format text
python3 scripts/web_fetch.py https://example.com --format html
python3 scripts/web_fetch.py https://example.com --format raw
# Custom output dir, custom timeout
python3 scripts/web_fetch.py https://example.com --output-dir ./scratch --timeout 60
# Print only the content path (for piping)
python3 scripts/web_fetch.py https://example.com --print-path content
# Also write content to stdout
python3 scripts/web_fetch.py https://example.com --print-content
Stdout prints two paths b
Related Skills
Net Deep Research
Deep research skill for AI agents: live web research, source reputation checks, safer URL fetches, and structu
MCP Web Scrape
🚀 mcp-web-scrape — Clean, cache-aware web content fetcher for AI agents. Fetch any URL → extract readable con
Ast Outline
ast-outline lets AI coding agents pull exactly the code context they need — a repo skeleton, a file outline, o
Detect AI Value Mode
Agent skill that reads any codebase (local path or GitHub URL) and classifies how its AI product creates value
SEO Playbook
Architect a site's page surface for search and AI visibility — the method, not the tips. A Claude Code skill:
Webfetch
The license-first image layer for AI agents and humans. 24 federated providers · CC0/CC-BY/PD-first · MCP nati
Related Agents
File Analyser
Reads one ontology node's source file, walks 1-hop neighbours when material, fetches live ODD docs (docs.opend
Document Ingest
Ingests external documents (PDFs, web articles, research papers, ADRs, contracts, SOWs, blog posts, long paste
Guidelines Extractor
Given a URL or raw text of journal author guidelines, extracts structured requirements into a guidelines/jour