Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/cn-big-cabbage/github-skill-distiller/httpienpx skills add CN-big-cabbage/github-skill-distiller --skill httpiegit clone --depth 1 https://github.com/CN-big-cabbage/github-skill-distillerWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00016 | $0.01131 |
| Opus 5 | $0.00008 | $0.00566 |
| Sonnet 5 | $0.00003 | $0.00226 |
| Haiku 4.5 | $0.00002 | $0.00113 |
Grade A, and why
httpie scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
**主要特点**: 语法简洁、自动格式化、彩色输出、内置 JSON 支持、比 curl 更易读写 How it starts
The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
HTTPie 人性化 HTTP 命令行客户端
技能概述
本技能帮助用户通过命令行发送 HTTP 请求,调试 API 接口,适用于以下场景:
- REST API 调试: 发送 GET/POST/PUT/DELETE 等各类 HTTP 请求
- 接口测试: 快速验证 API 端点的请求与响应
- 文件上传下载: 通过命令行进行文件传输
- 身份认证: 支持 Basic、Bearer Token、Digest 等多种认证方式
- 会话管理: 跨请求保持 Cookie 与认证状态
- 格式化输出: 自动语法高亮显示 JSON、XML 响应体
主要特点: 语法简洁、自动格式化、彩色输出、内置 JSON 支持、比 curl 更易读写
使用流程
AI 助手将引导你完成以下步骤:
- 安装 HTTPie(如未安装)
- 构建 HTTP 请求(方法、URL、请求头、请求体)
- 执行请求并查看格式化响应
- 根据响应调整请求参数
- 将成功的命令保存为可复用脚本
关键章节导航
AI 助手能力
当你向 AI 描述请求需求时,AI 会:
- 自动识别请求类型(GET/POST/PUT/PATCH/DELETE)
- 根据描述构建正确的请求头和请求体
- 执行请求命令并解析响应
- 识别常见 HTTP 错误状态码并给出建议
- 自动处理 JSON 数据序列化
- 管理认证令牌和会话 Cookie
- 将复杂请求转换为可读的 HTTPie 命令
核心功能
- 支持全部 HTTP 方法(GET、POST、PUT、PATCH、DELETE、HEAD、OPTIONS)
- 自动 JSON 请求体序列化与响应格式化
- 彩色语法高亮(请求头、响应头、响应体)
- 内置多种认证方式(Basic、Digest、Bearer)
- 持久化 Session 管理(跨请求 Cookie)
- 文件上传与二进制下载支持
- HTTPS 与 SSL 证书验证
- 代理支持(HTTP/HTTPS/SOCKS)
- 离线模式(仅打印请求不发送)
- 与 curl 命令互转
命令速查表
基础请求
# GET 请求
http GET https://api.example.com/users
# 简写(默认 GET)
http https://api.example.com/users
# POST JSON(自动推断 Content-Type: application/json)
http POST https://api.example.com/users name="张三" age:=25
# PUT 更新
http PUT https://api.example.com/users/1 name="李四"
# PATCH 部分更新
http PATCH https://api.example.com/users/1 email="[email protected]"
# DELETE 删除
http DELETE https://api.example.com/users/1
请求参数与请求头
# URL 查询参数(== 语法)
http https://api.example.com/search q=="hello world" page==2
# 自定义请求头(: 语法)
http https://api.example.com/users "Authorization: Bearer mytoken123"
# 多个请求头
http https://api.example.com/data "X-API-Key: abc123" "Accept: application/json"
认证
# Basic 认证
http -a username:password https://api.example.com/protected
# Bearer Token
http https://api.example.com/me "Authorization: Bearer <token>"
# Digest 认证
http --auth-type=digest -a user:pass https://api.example.com/secure
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 154 lines · 16 tokens per session scan A cdf5fb037ac7
httpie is a skill published in the GitHub repository CN-big-cabbage/github-skill-distiller (4 stars, last pushed 2mo ago), licensed MIT. It adds 16 tokens to every session and 1,131 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
inferring-a-spell-from-examples
Use when the user invokes /capture-this-chat or /build-spell --from-transcript. Reads a transcript and produces a context dictionary plus a draft SKILL.md, which hands off to building-a-spell at Stage 2.
building-a-subagent-spell
Use when the meta-builder routes to kind=subagent. Generates a spell that dispatches one or more subagents to do work in parallel or in isolation.
intuitive-interviewing
Use when conducting any interview-style flow with a user (building a spell, refining one, gathering requirements). Picks depth, filters questions by relevance, matches against known shapes, and detects mid-stream pivots.
building-a-workflow-spell
Use when the meta-builder routes to kind=workflow. Generates a workflow spell with explicit stages, checkpoints, and loop-back conditions.
chaining-spells
Use when composing multiple spells into a chain that runs end-to-end (e.g. brainstorm -> plan -> execute -> verify).
discovering-spells
Use when browsing what spells are available - bundled seeds, your personal library, or both. Filter by kind, audience, or update status.