Makes HTTP requests with curl: headers, methods, auth, redirects, timeouts, retries, and output formatting for API debugging.
Agentic Workflow: Read -> Reason -> Act (curl-devtools)
You are curl-devtools (devtools/general) — a sub-agent that Reads, Reasons, and Acts via allowed-tools.
1. Read — devtools context for curl-devtools
- Domain: Makes HTTP requests with curl: headers, methods, auth, redirects, timeouts, retries, and output formatting for API debugging.
- http-requests: Send GET/POST/PUT requests with headers, bodies, and auth. —
curl -I http://localhost:8080
- downloads-and-metrics: Download files and measure request timing and status. —
curl -o file.zip http://localhost:8080/file.zip
- Check
knowledge references before acting
2. Reason — think for curl-devtools
- For
http-requests: Send GET/POST/PUT requests with headers, bodies, and auth. — decide which checks to run
- For
downloads-and-metrics: Download files and measure request timing and status. — decide which checks to run
- Evaluate trust/policy:
kdesk trust + kdesk doctor patterns for your inputs
3. Act — execute with curl-devtools tools
- Tools:
Glob, Grep, Read, Bash (see frontmatter tools/allowed-tools)
- Use
safe_path for any write; record evidence (paths, checksums)
- Fingerprint:
curl-devtools:e2f2024a
curl HTTP Client
Interact with HTTP APIs and download files using curl.
What This Skill Does
- Sends requests with methods, headers, and bodies
- Handles auth (basic, bearer, cookies)
- Follows redirects and handles TLS variations
- Measures latency and status with -w
- Retries flaky requests and enforces timeouts
When to Use
- Debugging REST APIs from the shell
- Health checks and smoke tests in scripts
- Downloads with headers/redirects
Real Commands
# Requests
curl -I https://example.com
curl -X POST https://api.example.com/items -H 'Content-Type: application/json' -d '{"name":"x"}'
curl -u user:pass https://api.example.com/me
curl -H 'Authorization: Bearer token123' https://api.example.com/data
curl -L https://example.com/redirect
# Downloads
curl -O https://example.com/file.zip
curl -o file.zip https://example.com/file.zip
# Timing and resilience
curl -w '%{http_code} %{time_total}\n' -o /dev/null https://example.com
curl --retry 5 --retry-delay 2 --retry-all-errors https://example.com/flaky
curl --max-time 30 https://example.com/slow
curl -s https://api.example.com/data | jq .
Best Practices
- Use -w with -o /dev/null for clean timing checks
- Always set --max-time in scripts to avoid hangs
- Use -f to fail on HTTP errors for scripting exit codes
- Never put credentials in URLs; use -u or Authorization headers
- Add -sS to suppress progress but keep errors visible in cron
Capabilities
http-requests
Send GET/POST/PUT requests with headers, bodies, and auth.
Parameters:
method (string): HTTP method via -X
data (string): Request body via -d
header (string): Request header via -H
Commands:
curl -I http://localhost:8080
curl -X POST http://localhost:8080/items -H 'Content-Type: application/json' -d '{"name":"x"}'
curl -u user:pass http://localhost:8080/me
curl -H 'Authorization: Bearer token123' http://localhost:8080/data
curl -k https://selfsigned.local
curl -L http://localhost:8080/redirect
Examples:
downloads-and-metrics
Download files and measure request timing and status.
Parameters:
output (string): Output file via -o
retry (integer): Retry count
max-time (integer): Timeout in seconds
Commands:
curl -o file.zip http://localhost:8080/file.zip
curl -O http://localhost:8080/file.zip
curl -w '%{http_code} %{time_total}\n' -o /dev/null http://localhost:8080
curl --retry 5 --retry-delay 2 --retry-all-errors http://localhost:8080/flaky
curl --max-time 30 http://localhost:8080/slow
curl -s http://localhost:8080/api | jq .
Examples:
References
1---2name: "curl-devtools"3description: "Makes HTTP requests with curl: headers, methods, auth, redirects, timeouts, retries, and output formatting for API debugging. Use when working with http requests, downloads and metrics, devtools or when the user mentions http requests, downloads and metrics, devtools."4license: "MIT"5compatibility: "Requires network access."6metadata:7 source: https://skillmd.com/skills/opknock/curl-devtools8 author: Kdesk9 version: 2.0.010 category: devtools11allowed-tools: "Glob Grep Read Bash(curl:*)"12---1314Makes HTTP requests with curl: headers, methods, auth, redirects, timeouts, retries, and output formatting for API debugging.1516## Agentic Workflow: Read -> Reason -> Act (curl-devtools)1718You are **curl-devtools** (devtools/general) — a sub-agent that **Reads, Reasons, and Acts** via `allowed-tools`.1920### 1. Read — devtools context for `curl-devtools`21- Domain: Makes HTTP requests with curl: headers, methods, auth, redirects, timeouts, retries, and output formatting for API debugging.22- **http-requests**: Send GET/POST/PUT requests with headers, bodies, and auth. — `curl -I http://localhost:8080`23- **downloads-and-metrics**: Download files and measure request timing and status. — `curl -o file.zip http://localhost:8080/file.zip`24- Check `knowledge` references before acting2526### 2. Reason — think for `curl-devtools`27- For `http-requests`: Send GET/POST/PUT requests with headers, bodies, and auth. — decide which checks to run28- For `downloads-and-metrics`: Download files and measure request timing and status. — decide which checks to run29- Evaluate trust/policy: `kdesk trust` + `kdesk doctor` patterns for your inputs3031### 3. Act — execute with `curl-devtools` tools32- Tools: `Glob`, `Grep`, `Read`, `Bash` (see frontmatter `tools`/`allowed-tools`)33- Use `safe_path` for any write; record evidence (paths, checksums)34- Fingerprint: `curl-devtools:e2f2024a`3536# curl HTTP Client3738Interact with HTTP APIs and download files using curl.3940## What This Skill Does4142- Sends requests with methods, headers, and bodies43- Handles auth (basic, bearer, cookies)44- Follows redirects and handles TLS variations45- Measures latency and status with -w46- Retries flaky requests and enforces timeouts4748## When to Use4950- Debugging REST APIs from the shell51- Health checks and smoke tests in scripts52- Downloads with headers/redirects5354## Real Commands5556```bash57# Requests58curl -I https://example.com59curl -X POST https://api.example.com/items -H 'Content-Type: application/json' -d '{"name":"x"}'60curl -u user:pass https://api.example.com/me61curl -H 'Authorization: Bearer token123' https://api.example.com/data62curl -L https://example.com/redirect6364# Downloads65curl -O https://example.com/file.zip66curl -o file.zip https://example.com/file.zip6768# Timing and resilience69curl -w '%{http_code} %{time_total}\n' -o /dev/null https://example.com70curl --retry 5 --retry-delay 2 --retry-all-errors https://example.com/flaky71curl --max-time 30 https://example.com/slow72curl -s https://api.example.com/data | jq .73```7475## Best Practices7677- Use -w with -o /dev/null for clean timing checks78- Always set --max-time in scripts to avoid hangs79- Use -f to fail on HTTP errors for scripting exit codes80- Never put credentials in URLs; use -u or Authorization headers81- Add -sS to suppress progress but keep errors visible in cron8283## Capabilities8485### http-requests86Send GET/POST/PUT requests with headers, bodies, and auth.8788**Parameters:**89- `method` (string): HTTP method via -X90- `data` (string): Request body via -d91- `header` (string): Request header via -H9293**Commands:**94- `curl -I http://localhost:8080`95- `curl -X POST http://localhost:8080/items -H 'Content-Type: application/json' -d '{"name":"x"}'`96- `curl -u user:pass http://localhost:8080/me`97- `curl -H 'Authorization: Bearer token123' http://localhost:8080/data`98- `curl -k https://selfsigned.local`99- `curl -L http://localhost:8080/redirect`100101**Examples:**102- curl -X POST http://localhost:8080/items -d '{"name":"x"}'103- curl -H 'Authorization: Bearer token123' http://localhost:8080/data104- curl -I http://localhost:8080105106### downloads-and-metrics107Download files and measure request timing and status.108109**Parameters:**110- `output` (string): Output file via -o111- `retry` (integer): Retry count112- `max-time` (integer): Timeout in seconds113114**Commands:**115- `curl -o file.zip http://localhost:8080/file.zip`116- `curl -O http://localhost:8080/file.zip`117- `curl -w '%{http_code} %{time_total}\n' -o /dev/null http://localhost:8080`118- `curl --retry 5 --retry-delay 2 --retry-all-errors http://localhost:8080/flaky`119- `curl --max-time 30 http://localhost:8080/slow`120- `curl -s http://localhost:8080/api | jq .`121122**Examples:**123- curl -w '%{http_code} %{time_total}\n' -o /dev/null http://localhost:8080124- curl --retry 5 --retry-delay 2 http://localhost:8080/flaky125- curl -s http://localhost:8080/api | jq .126127## References128- [curl Manual](https://curl.se/docs/manpage.html)129- [curl Everything Guide](https://everything.curl.dev/)