Loading...
Loading...
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.
npx skill4agent add yusukebe/ax axax <url|file|-> [selector] [flags]ax https://api.site.example/users # {status, ok, ms, headers, body} — never silent
ax https://api.site.example/users -H 'authorization: Bearer x' -X POST -d '{"a":1}'
# curl reflexes work: -u -I -o -k -m --data-raw (and -L/-i/-s/-f are no-ops)
ax https://site.example --outline # discover: repeating structures
ax https://site.example --locate 'some text' # discover: which selector holds this
ax https://site.example '.card' --count # confirm a hypothesis
ax https://site.example '.card' --row 'title=a, href=a@href, id=@data-id'
ax https://site.example 'table' --table --where 'Stars >= 30000'
ax https://site.example 'table' --table --where '`Col With Spaces` ~ /x/'
ax https://docs.site.example/guide --md --budget 800 # read docs as markdownax URL --outline; ax URL '.guess' --countN rows extracted--limit--all--budget <tokens>--json