mxyhi/ok-skills✦ 精选0°

ax

仓库创建 2026年2月2日最近提交 23 小时前SkillHot 收录 2 小时前
▸ 精选理由

一条命令替代常见的 curl+临时解析流程,适合需要频繁抓取与提取的开发者或代理。

这个 Skill 做什么

用 ax 代替 curl 与临时脚本,便捷抓取、探索和结构化提取网页数据。

用 ax 一个命令代替 curl 加临时脚本,抓页面、看不熟悉的网页结构或抽取结构化数据都很方便。要写临时的 python/node heredoc 或靠正则扒 HTML 前就可以用它来省事。它会把请求、响应、headers、body 等都处理好,避免裸 curl 返回空和各种手写解析麻烦。

▸ 展开 SKILL.md 英文原文

Use the ax CLI instead of curl + throwaway parsing scripts whenever you fetch a URL, explore an unknown web page, or extract structured data from HTML. Trigger whenever you are about to write an inline script (python3 heredoc, node -e, regex over HTML) or a bare curl for one-off web fetching, scraping, or page exploration.

开发编程网络请求HTML抽取CLI通用
459
Stars
42
Forks
35
仓库内 Skill
+11
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/mxyhi/ok-skills/main/ax/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/mxyhi/ok-skills/main/ax/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# ax — the AI-era curl: fetch, discover, extract

One command: `ax <url|file|-> [selector] [flags]`. Never write regex over
HTML, and never use bare curl (it returns nothing on empty bodies).

## Cheatsheet

```sh
ax https://api.site.example/users                    # {status, ok, url, redirected, ms, headers, body}
ax https://api.site.example/users -H 'authorization: Bearer x' -X POST -d '{"a":1}'
ax https://api.site.example/users -d @payload.json  # @file reads it, implies POST; --data-raw = literal @string
# curl reflexes work: -u -I -o -k -m -f --data-raw (and -L/-i/-s are no-ops)
ax https://site.example --outline                    # discover: repeating structures
ax https://site.exampl
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有