hasdata-cli
Installation
SKILL.md
hasdata
Use the hasdata CLI for real-time web data. One subcommand per API — flags, enums, defaults are derived from the live schema at api.hasdata.com/apis.
Prerequisites
command -v hasdata— if missing, install withcurl -sSL https://raw.githubusercontent.com/HasData/hasdata-cli/main/install.sh | sh.- One-time setup: the user runs
hasdata configure, pastes their API key, and it's saved to~/.hasdata/config.yaml(mode 0600). Every future call picks it up automatically. - If a call fails with
no API key configured, the user hasn't runhasdata configureyet — tell them to. Never invent a key.
Quick start
hasdata <api> --flag value [--flag value ...] --raw | jq .
Always pass --raw when piping to jq (skips pretty-print and TTY detection). Use --pretty only for human-readable terminal output.
Picking the right subcommand
Related skills