Wget Reader
Researchwget-readerWget Reader is an Agent Skill for research published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Fetch data from URLs. Use when asked to download content, fetch remote files, or read web data.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/integration/wget-reader/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/wget-reader, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Wget URL Reader
Overview
Fetches content from URLs using wget command-line tool. Supports downloading files, reading web pages, and retrieving API responses.
Instructions
-
When user provides a URL to read or fetch:
- Validate the URL format
- Use wget with appropriate flags based on content type
-
For reading content to stdout (display):
wget -qO- "<URL>" -
For downloading files:
wget -O "<filename>" "<URL>" -
For JSON API responses:
wget -qO- --header="Accept: application/json" "<URL>" -
Common wget flags:
-q: Quiet mode (no progress output)-O-: Output to stdout-O <file>: Output to specific file--header: Add custom HTTP header--timeout=<seconds>: Set timeout--tries=<n>: Number of retries--user-agent=<agent>: Set user agent
Examples
Example: Read webpage content
Input: "Read the content from https://example.com" Command:
wget -qO- "https://example.com"
Example: Download a file
Input: "Download the file from https://example.com/data.json" Command:
wget -O "data.json" "https://example.com/data.json"
Example: Fetch API with headers
Input: "Fetch JSON from https://api.example.com/data" Command:
wget -qO- --header="Accept: application/json" "https://api.example.com/data"
Example: Download with timeout and retries
Input: "Download with 30 second timeout" Command:
wget --timeout=30 --tries=3 -O "output.txt" "<URL>"
Guidelines
- Always quote URLs to handle special characters
- Use
-qflag to suppress progress bars in scripts - For large files, consider adding
--show-progressfor user feedback - Respect robots.txt and rate limits when fetching multiple URLs
- Use
--no-check-certificateonly when necessary (self-signed certs) - For authentication, use
--userand--passwordor--header="Authorization: Bearer <token>"