curl
Fetch web content using curl (faster alternative to WebFetch)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Fetch web content using curl (faster alternative to WebFetch)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Manage the belief registry — track claims, detect staleness, resolve conflicts, query contradictions
Create chronologically organized documentation entries
Fetch authenticated web content (SSO, internal pages) via browser session
Google Calendar CLI for viewing agenda, adding events, and reminders
Export and access Google Drive files (docs, sheets, meeting notes)
Interact with Jira
| name | curl |
| description | Fetch web content using curl (faster alternative to WebFetch) |
Quick reference for fetching web content with curl instead of WebFetch tool.
Use this skill when:
# Basic fetch (silent, follow redirects)
curl -sL "https://example.com"
# Fetch with timeout (30 seconds)
curl -sL --max-time 30 "https://example.com"
# Fetch JSON API
curl -sL "https://api.github.com/repos/owner/repo" | jq .
# Convert HTML to readable text
curl -sL "https://example.com" | lynx -stdin -dump -nolist
# Fetch raw HTML
curl -sL "https://example.com"
# Fetch and convert to readable text (requires lynx)
curl -sL "https://example.com" | lynx -stdin -dump -nolist
# Fetch and save to file
curl -sLo /tmp/page.html "https://example.com"
# Fetch and pretty-print JSON
curl -sL "https://api.example.com/endpoint" | jq .
# Fetch with authentication header
curl -sL -H "Authorization: Bearer TOKEN" "https://api.example.com/endpoint" | jq .
# Fetch specific JSON fields
curl -sL "https://api.github.com/repos/owner/repo" | jq '{name, description, stars: .stargazers_count}'
# POST JSON data
curl -sL -X POST -H "Content-Type: application/json" \
-d '{"key":"value"}' "https://api.example.com/endpoint"
# POST form data
curl -sL -X POST -d "field1=value1&field2=value2" "https://example.com/form"
# Show response headers
curl -sL -I "https://example.com"
# Show final URL after redirects
curl -sLw "%{url_effective}\n" -o /dev/null "https://example.com"
# Verbose output (for debugging)
curl -sLv "https://example.com" 2>&1 | head -50
| Flag | Description |
|---|---|
-s | Silent mode (no progress bar) |
-L | Follow redirects |
-o file | Output to file |
-O | Save with remote filename |
-H "Header: value" | Add request header |
-d "data" | POST data |
-X METHOD | HTTP method (GET, POST, PUT, DELETE) |
--max-time N | Timeout in seconds |
-w "format" | Write-out format string |
-I | Headers only (HEAD request) |
-v | Verbose output |
When user asks to read a web page:
Fetch the content:
curl -sL --max-time 30 "https://example.com" | lynx -stdin -dump -nolist > /tmp/page.txt
Read the content:
Use the Read tool to read /tmp/page.txt
Answer the user's question based on the content
-sL - Silent mode and follow redirects--max-time 30 to avoid hangingjq for JSON - Much easier to readlynx for HTML - Converts to readable text| Aspect | curl | WebFetch |
|---|---|---|
| Speed | Fast | Can be slow |
| Reliability | Very reliable | Sometimes hangs |
| Output | Raw content | Summarized |
| Control | Full headers, methods | Limited |
| Processing | Pipe to jq, lynx, etc. | Built-in |
Last updated: 2026-02-10