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 ★
- Yt Transcriber — CLI app- Give it a YouTube URL and you get a transcription with possible speaker identification and optional s 337 ★
- Sleek UI — The Unsplash of design systems for AI agents — re-skin your app with one URL 116 ★
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
Create AI Temp
create-ai-temp generates that foundation in one command. Choose a ready-to-run Next.js preset or a stack-neutr
Net Deep Research
Deep research skill for AI agents: live web research, source reputation checks, safer URL fetches, and structu
Architect Cost
Run the cost stage. Fetches vendor prices with a source URL and a retrieval date for every row, builds the cos
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
Sobre AI
Context tools for coding agents that run on your machine and nowhere else. An MCP server, hooks and a CLI that
Related Agents
Teamai Recall
Search the team knowledge base (skills + learnings + docs + rules + codebase graph) and return a compact, stru
Context Harvester
Use before non-trivial work to search project knowledge (AGENTS.md, rules, docs, ADRs, notes, changelog) and r
Document Ingest
Ingests external documents (PDFs, web articles, research papers, ADRs, contracts, SOWs, blog posts, long paste