一键导入
http-client
Make HTTP requests, test REST APIs, handle auth, inspect responses. Use when the user wants to call an API, test an endpoint, or fetch web data.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Make HTTP requests, test REST APIs, handle auth, inspect responses. Use when the user wants to call an API, test an endpoint, or fetch web data.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Two-layer memory system — read and update long-term facts, recall past events from conversation history.
Browser automation via Playwright MCP — navigate, click, fill forms, take screenshots, scrape pages, run E2E tests. Use when the user needs web automation, testing, or scraping JavaScript-rendered sites.
Structured code review — security, correctness, performance, maintainability. Use when asked to review code, a PR, or a diff.
Analyze CSV, JSON, Excel data; generate charts and reports. Use when the user provides data files or asks for statistics, charts, or data insights.
Deploy applications to cloud platforms — Fly.io, Railway, Vercel, or via SSH. Use when the user wants to publish, deploy, or release an application.
Build, run, and manage Docker containers and images. Use when the user asks about containers, Docker builds, logs, or deployment.
| name | http-client |
| description | Make HTTP requests, test REST APIs, handle auth, inspect responses. Use when the user wants to call an API, test an endpoint, or fetch web data. |
| metadata | {"ccbot":{"emoji":"🌐","requires":{"bins":["curl"]}}} |
Use curl via the Bash tool for all HTTP operations.
curl -s "https://api.example.com/users" | python3 -m json.tool
curl -s -X POST "https://api.example.com/items" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{"name": "test", "value": 42}' \
| python3 -m json.tool
curl -s -X POST "https://api.example.com/upload" \
-F "file=@/path/to/file.pdf" \
-F "name=my-document" \
-H "Authorization: Bearer $TOKEN"
curl -sL "https://example.com/file.zip" -o output/file.zip
echo "Downloaded: $(du -sh output/file.zip | cut -f1)"
curl -sI "https://example.com" # headers only
curl -sv "https://example.com" 2>&1 # verbose (headers + body)
uv run --with requests python3 - <<'EOF'
import requests, os
BASE = "https://api.example.com"
TOKEN = os.environ.get("API_TOKEN", "")
headers = {"Authorization": f"Bearer {TOKEN}"}
results = []
page = 1
while True:
resp = requests.get(f"{BASE}/items", params={"page": page, "per_page": 100}, headers=headers)
data = resp.json()
items = data.get("items", [])
results.extend(items)
if not data.get("has_next"):
break
page += 1
print(f"Total fetched: {len(results)}")
import json
print(json.dumps(results[:3], indent=2, ensure_ascii=False))
EOF
STATUS=$(curl -s -o /dev/null -w "%{http_code}" "https://api.example.com/health")
if [ "$STATUS" = "200" ]; then
echo "✅ API healthy"
else
echo "❌ API returned $STATUS"
fi
curl -s -X POST "https://api.example.com/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{
"query": "{ user(id: \"123\") { name email } }"
}' | python3 -m json.tool
| Header | Example |
|---|---|
| Auth Bearer | -H "Authorization: Bearer $TOKEN" |
| Auth Basic | -u "user:pass" |
| Content-Type JSON | -H "Content-Type: application/json" |
| Custom Header | -H "X-API-Key: $KEY" |
| Accept JSON | -H "Accept: application/json" |
-s (silent) to suppress progress bars.-L to follow redirects.-w "%{http_code}" to capture status code.requests with uv run --with requests.