Curl — HTTP Request Testing Tool
version: "1.0.0"
by bytesagain3 · published 2026-03-22
$ claw add gh:bytesagain3/bytesagain3-curl---
name: curl
version: "1.0.0"
description: "Send HTTP requests and test API endpoints using Python urllib. Use when you need to debug, test, or interact with web services."
author: BytesAgain
homepage: https://bytesagain.com
source: https://github.com/bytesagain/ai-skills
tags: [http, api, testing, requests, web, curl, rest]
---
# Curl — HTTP Request Testing Tool
Curl is a command-line HTTP request tool built with Python's `urllib` module. It supports all major HTTP methods, file upload/download, custom headers, and maintains a history of all requests for debugging and replay.
Request history is stored in `~/.curl/data.jsonl` as JSONL records.
Prerequisites
Commands
`get`
Send an HTTP GET request.
**Environment Variables:**
**Example:**
URL="https://api.example.com/users" HEADERS='{"Accept":"application/json"}' bash scripts/script.sh get`post`
Send an HTTP POST request.
**Environment Variables:**
**Example:**
URL="https://api.example.com/users" BODY='{"name":"John"}' bash scripts/script.sh post`put`
Send an HTTP PUT request.
**Environment Variables:**
`delete`
Send an HTTP DELETE request.
**Environment Variables:**
`head`
Send an HTTP HEAD request (returns headers only).
**Environment Variables:**
`options`
Send an HTTP OPTIONS request to check allowed methods.
**Environment Variables:**
`upload`
Upload a file via HTTP POST multipart/form-data.
**Environment Variables:**
`download`
Download a file from a URL.
**Environment Variables:**
`headers`
Display response headers from a request.
**Environment Variables:**
`config`
View or update configuration settings.
**Environment Variables:**
`history`
View past request history.
**Environment Variables:**
`help`
Display usage information and available commands.
`version`
Display the current version of the curl tool.
Data Storage
Request history stored in `~/.curl/data.jsonl`. Each record contains:
Configuration
Config stored in `~/.curl/config.json`:
---
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...