/tradecraft:httpie-clifrom tradecraft
Provides a complete reference for HTTPie, a human-friendly CLI HTTP client for API testing, debugging, and scripting. Covers installation, syntax, request items, authentication, file uploads, and output control.
Ships in tradecraft. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
"curl for humans" — expressive syntax, colorized output, built-in JSON support.
# Universal
pip install httpie
# macOS
brew install httpie
# Windows
choco install httpie
# Upgrade
pip install --upgrade httpie
http [flags] [METHOD] URL [ITEM...]
https [flags] [METHOD] URL [ITEM...] # forces HTTPS
Method defaults: GET if no body, POST if body present.
| Operator | Type | Example |
|---|---|---|
: | Header | X-Token:abc123 |
== | URL query param | page==2 |
= | JSON / form string field | name=John |
:= | Raw JSON (non-string) | age:=29 |
@ | File upload | photo@~/pic.jpg |
=@ | String from file | [email protected] |
:=@ | Raw JSON from file | data:[email protected] |
# Simple GET
http httpie.io/hello
https api.github.com/repos/httpie/cli
# POST JSON (auto Content-Type: application/json)
http POST api.example.com name=John age:=29 married:=false
# Nested JSON
http POST api.example.com platform[name]=HTTPie platform[stars]:=54000
# PUT with header + data
http PUT pie.dev/put X-API-Token:123 name=John
# Query params
http https://api.github.com/search/repositories q==httpie per_page==1
# Localhost shortcut
http :3000/api # → http://localhost:3000/api
http :/health # → http://localhost/health
# Basic auth
http -a username:password api.example.com
# Digest auth
http -A digest -a user:pass api.example.com
# Bearer token
http -A bearer -a mytoken api.example.com
# GitHub API example
http -a USERNAME POST https://api.github.com/repos/owner/repo/issues/1/comments body='text'
# URL-encoded form
http --form POST api.example.com name='John Smith' [email protected]
# Multipart file upload
http -f POST api.example.com name='John' cv@~/resume.pdf photo@~/pic.jpg
http -h api.example.com # headers only
http -b api.example.com # body only
http -v api.example.com # full verbose (request + response)
http -m api.example.com # metadata + timing
http -q api.example.com # quiet (no output)
http -p Hh api.example.com # custom: request headers + response headers
http --offline POST api.example.com data=test # build request without sending
http --download https://example.com/file.zip
http -d https://example.com/file.zip -o myfile.zip # custom filename
http -dc https://example.com/file.zip # resume interrupted download
# Named session (saved to ~/.config/httpie/sessions/)
http --session=myapp -a user:pass api.example.com/login
http --session=myapp api.example.com/profile # reuses cookies + auth
# Anonymous session (one-off)
http --session=/tmp/session.json api.example.com
# From stdin
echo '{"key":"value"}' | http POST api.example.com
cat data.json | http PUT api.example.com
# From file (auto Content-Type detection)
http PUT api.example.com @data.xml
# Raw flag
http --raw '{"data":"test"}' POST api.example.com
http --verify=no https://example.org # skip SSL verification
http --verify=/path/to/ca-bundle.pem https://... # custom CA
http --cert=client.pem --cert-key=key.pem https://... # client cert
http --ssl=tls1.2 https://example.org # force TLS version
http --proxy=http:http://10.10.1.10:3128 example.org
http --proxy=https:socks5://user:pass@host:port example.org
# Or via env vars:
export HTTP_PROXY=http://proxy:8080
export HTTPS_PROXY=http://proxy:8080
export NO_PROXY=localhost,127.0.0.1
http --follow pie.dev/redirect/3 # follow redirects
http --follow --all pie.dev/redirect/3 # show all intermediate responses
http --max-redirects=5 pie.dev/redirect/10
http --stream pie.dev/stream/100 # stream response
http --chunked POST api.example.com @large.xml # chunked upload
http --compress POST api.example.com @data.xml # deflate compression
# Non-interactive script — always use these flags:
http --check-status --ignore-stdin --timeout=2.5 HEAD pie.dev/get
# Exit codes:
# 2 = connection timeout
# 3 = 3xx not followed
# 4 = 4xx client error
# 5 = 5xx server error
httpie cli plugins install httpie-aws-auth
httpie cli plugins install httpie-oauth
httpie cli plugins install httpie-jwt-auth
httpie cli plugins list
httpie cli plugins upgrade httpie-aws-auth
httpie cli plugins uninstall httpie-aws-auth
httpie cli check-updates
~/.config/httpie/config.json (Linux/macOS)
%APPDATA%\httpie\config.json (Windows)
{
"default_options": ["--style=fruity", "--verify=no"],
"plugins_dir": "~/.config/httpie/plugins"
}
Unset any option per-request: --no-OPTION (e.g. --no-verify, --no-style)
# Test if API is alive
http HEAD api.example.com
# GET with auth + query params
http -a user:pass api.example.com/data page==1 limit==20
# POST JSON with nested object
http POST api.example.com user[name]=John user[age]:=30 tags:='["vip","new"]'
# Upload + form field
http -f POST api.example.com title="My Doc" [email protected]
# Full verbose debug
http -v POST api.example.com Authorization:"Bearer token" data=test
# Download with progress
http --download https://files.example.com/large.tar.gz
# Offline request preview
http --offline DELETE api.example.com/resource/42 Authorization:"Bearer token"
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mahmoud20138/tradecraft --plugin tradecraft169 skills in this plugin
/agent-developmentThis skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins./agentic-storageAgentic storage architecture — persistent memory for AI agents using MCP, immutable versioning, sandboxing, and intent validation. Covers the stateless problem in LLM agents, RAG limitations (read-only), MCP protocol (JSON-RPC, resources, tools), storage safety layers, and agent file system design. Source: IBM Technology (Martin Keen), March 2026. Use this skill for "agentic storage", "agent memory", "persistent agent state", "MCP storage", "agent file system", "agent hard drive", "stateless agent problem", "agent work product", "immutable versioning", "agent sandboxing", "intent validation", "agent safety layers", "agent context window limits", "storage for AI agents", "agent persistence", "autonomous agent storage", "agent audit trail". Works with mcp-integration, trading-brain, agents, trade-psychology-coach.
Other plugins' skills for the same job