web-fetch

📁 ignaciosua/copilot-skills-repo 📅 Jan 27, 2026
1
总安装量
1
周安装量
#46296
全站排名
安装命令
npx skills add https://github.com/ignaciosua/copilot-skills-repo --skill web-fetch

Agent 安装分布

clawdbot 1

Skill 文档

Web Fetch

Makes HTTP requests and returns response content.

Usage

python ~/.copilot/skills/web-fetch/web_fetch.py <url> [options]

Options

Option Description Default
--method HTTP method: GET, POST, PUT, DELETE, PATCH, HEAD GET
-H Add header (repeatable)
--data JSON body for POST/PUT
--timeout Request timeout in seconds 30
--pretty Format JSON output nicely false

Output

JSON with:

  • success: true/false
  • status_code: HTTP status code
  • headers: Response headers
  • content: Response body (parsed JSON or text)
  • content_type: “json” or “text”
  • error: Error message if failed

Examples

Simple GET

python ~/.copilot/skills/web-fetch/web_fetch.py https://api.github.com/zen

GET with Headers

python ~/.copilot/skills/web-fetch/web_fetch.py https://api.github.com/user \
  -H "Authorization: token YOUR_TOKEN"

POST with JSON Data

python ~/.copilot/skills/web-fetch/web_fetch.py https://httpbin.org/post \
  --method POST \
  --data '{"name": "test", "value": 123}'

Pretty Output

python ~/.copilot/skills/web-fetch/web_fetch.py https://api.github.com/repos/python/cpython --pretty