[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7908WFS8XBY49TR8FBTKBSR":3,"skill-same:01M7908WFS8XBY49TR8FBTKBSR":91},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":14,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M7908WFS8XBY49TR8FBTKBSR","hasdata-cli",null,"Command-line access to search, scraping, and structured web data.","Elogic360\u002Fsoftware-factory","Elogic360","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F156535519?v=4","01M74NH3F0RB13PWB7JZDE2V80","elogic360","01M74NH3FPC65082MDZVMFHDM3",0,"MIT","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fantigravity-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fhasdata-cli\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: hasdata-cli\ndescription: Command-line access to search, scraping, and structured web data.\nrisk: safe\nsource: official\nsource_type: official\nsource_repo: HasData\u002Fhasdata-cli\nlicense: MIT\nlicense_source: \"https:\u002F\u002Fgithub.com\u002FHasData\u002Fhasdata-cli\u002Fblob\u002Fmain\u002FLICENSE\"\ndate_added: \"2026-06-04\"\n---\n\n# hasdata\n\nUse 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\u002Fapis`.\n\n## When to Use\n\nUse this skill when:\n\n- The user wants to use the HasData CLI.\n- The user needs current web data from the command line.\n- The user wants to automate data collection in scripts.\n- The user wants to retrieve search, ecommerce, travel, or local business data.\n- The user needs web-page scraping through the CLI.\n\n## Prerequisites\n\n- `command -v hasdata` — if missing, download the installer from `https:\u002F\u002Fraw.githubusercontent.com\u002FHasData\u002Fhasdata-cli\u002Fmain\u002Finstall.sh`, inspect it, then run it locally with `sh install.sh`.\n- One-time setup: the user runs `hasdata configure`, pastes their API key, and it's saved to `~\u002F.hasdata\u002Fconfig.yaml` (mode 0600). Every future call picks it up automatically.\n- If a call fails with `no API key configured`, the user hasn't run `hasdata configure` yet — tell them to. **Never invent a key.**\n\n## Quick start\n\n```bash\nhasdata \u003Capi> --flag value [--flag value ...] --raw | jq .\n```\n\nAlways pass `--raw` when piping to `jq` (skips pretty-print and TTY detection). Use `--pretty` only for human-readable terminal output.\n\n## Picking the right subcommand\n\n| User intent | Subcommand |\n| --- | --- |\n| Web search (\"what does Google say about…\") | `google-serp` (full features) or `google-serp-light` (cheap, single page) |\n| Latest news | `google-news` |\n| AI Mode SERP | `google-ai-mode` |\n| Shopping \u002F product prices | `google-shopping` (broad), `amazon-search` \u002F `amazon-product` (Amazon), `shopify-products` (Shopify) |\n| Immersive product page | `google-immersive-product` |\n| Maps \u002F places \u002F reviews | `google-maps`, `google-maps-place`, `google-maps-reviews`, `google-maps-photos`, `google-maps-posts` |\n| Yelp \u002F YellowPages local data | `yelp-search`, `yelp-place`, `yellowpages-search`, `yellowpages-place` |\n| Real-estate listings (homes for sale\u002Frent\u002Fsold) | `zillow-listing`, `redfin-listing` |\n| Real-estate single property deep dive | `zillow-property`, `redfin-property` |\n| Travel — short-term rentals | `airbnb-listing`, `airbnb-property` |\n| Travel — hotels \u002F lodging | `booking-search`, `booking-place` |\n| Travel — flights | `google-flights` |\n| Jobs | `indeed-listing`, `indeed-job`, `glassdoor-listing`, `glassdoor-job` |\n| Bing search | `bing-serp` |\n| Trends | `google-trends` |\n| Images | `google-images` |\n| Short videos | `google-short-videos` |\n| Events | `google-events` |\n| YouTube search \u002F video \u002F channel \u002F transcript | `youtube-search-api`, `youtube-video-api`, `youtube-channel-api`, `youtube-transcript-api` |\n| Instagram profile | `instagram-profile` |\n| Amazon seller | `amazon-seller`, `amazon-seller-products` |\n| **Scrape a specific URL** | `web-scraping` — supports JS rendering, proxies, markdown output, AI extraction, screenshots |\n\nFor exact flags of a subcommand, run `hasdata \u003Capi> --help` or read the matching file in `references\u002F`.\n\n## Non-obvious triggers (when to reach for hasdata even if the user doesn't say \"scrape\")\n\nThe user often won't ask for a SERP API or a scraper directly. Map these intents to the skill:\n\n- **\"Is this still true?\" \u002F \"What's the latest on X?\" \u002F \"Has Y happened yet?\"** — LLM training data is stale. Run `google-serp` or `google-news` to ground the answer.\n- **\"Summarize this article\" \u002F \"TL;DR this URL\"** — Use `web-scraping --output-format markdown` and feed the markdown into the summary prompt. Beats copy-paste because it strips ads, nav, scripts.\n- **\"Verify this link\" \u002F \"Is this site real?\"** — `web-scraping --url X --no-block-resources` returns status + screenshot. Or `google-serp --q \"site:example.com\"`.\n- **\"What does X say about itself?\"** — Pull the company's own homepage with `web-scraping --output-format markdown`, then summarize.\n- **\"Find me alternatives to X\"** — `google-serp --q \"X alternatives\"` or `google-shopping --q \"X competitors\"`.\n- **\"What's the going rate for X?\"** — `google-shopping` (broad) or `amazon-search` (Amazon-specific) with `jq` to extract the price distribution.\n- **\"Phone number \u002F address for X\"** — `google-maps-place` or `yelp-place`. Don't guess from training data.\n- **\"Are people happy with X service?\" \u002F \"Is X reputable?\"** — `google-maps-reviews --place-id ... --sort lowest` for negative samples; `glassdoor-job` for employer rep.\n- **\"What's the salary range for Y role?\"** — `indeed-listing` filtered by role + location, then `jq` over `.jobs[].salary`.\n- **\"Find me homes\u002Fapartments matching X criteria\"** — `zillow-listing` \u002F `redfin-listing` \u002F `airbnb-listing` with the corresponding filters.\n- **\"Recent sold comps near X\"** — `zillow-listing --type sold --keyword \"X\" --days-on-zillow 12m`.\n- **\"Track this product's price\"** — Loop `amazon-product --asin X` on a schedule; persist `.price` to a file.\n- **\"Summarize \u002F cite this YouTube video\"** — `youtube-transcript-api --v-param VID --raw | jq -r '.transcript[].snippet'` → feed to the summary prompt. Beats title\u002Fthumbnail-based guesses.\n- **\"Find a hotel in $CITY for $DATES under $BUDGET\"** — `booking-search --keyword $CITY --check-in-date X --check-out-date Y --adults 2 --children 0 --rooms 1 --price-max $BUDGET --sort priceLowestFirst`. For one specific property, `booking-place --url ...` returns the full room\u002Frate matrix.\n- **\"What's this channel pushing lately?\"** — `youtube-channel-api --channel-id @handle --tab videos --raw | jq '.sections[].items[] | {title, publishedDate, views: .extractedViews}'`.\n- **\"Does this business have an active offer \u002F event?\"** — `google-maps-posts --place-id X --raw | jq '.posts[] | {postedAt, description, cta}'`. Surfaces current promotions Google indexed.\n- **\"What's trending around X?\"** — `google-trends --q \"X\"` for relative interest; `google-news --q \"X\"` for headlines.\n- **\"Find businesses near me that do X\"** — `google-maps --q \"X\" --ll \"@LAT,LNG,12z\"` then fan out `google-maps-place` for contacts.\n- **\"How does this look in country Y?\"** — `--gl Y` on SERP commands, `--proxy-country Y` on `web-scraping`. Useful for geo-targeted SEO checks, geo-blocked content.\n- **\"Pull structured data from this page\"** — `web-scraping --ai-extract-rules-json '{\"price\": {\"type\": \"number\"}, ...}'`. Works on arbitrary pages without writing CSS selectors.\n- **\"List of items → per-item details\"** — Pattern: search command produces IDs\u002FURLs, pipe through `xargs` into the matching `*-property` \u002F `*-product` \u002F `*-place` deep-dive command.\n- **\"Find this person's role \u002F employer \u002F LinkedIn \u002F followers\"** — `google-serp --q '\"Person Name\" linkedin'` first. The organic-result title is typically `Name — Role at Company | LinkedIn` and the snippet carries location, headline, connection count. SERP often answers the whole question without ever opening the profile page.\n- **\"What is company X doing? Where's their HQ? Who works there?\"** — `google-serp --q \"$COMPANY\"` returns a `.knowledge_graph` block with founder, HQ, founded year, parent, employee range — pre-extracted. `google-news --q \"$COMPANY\"` for recent activity. Specific facts via targeted SERP: `--q '\"$COMPANY\" headquarters'`, `--q '\"$COMPANY\" funding'`, `--q 'site:linkedin.com\u002Fcompany \"$COMPANY\"'`.\n- **\"Find public contact channels for company X\"** — start with SERP: `--q '\"@example.com\"'` often surfaces publicly indexed business addresses. For personal emails or phone numbers, require a legitimate purpose, user authorization, and privacy-law\u002Fterms compliance; disclose unverified guesses.\n- **\"Enrich this CSV of leads\"** — per row: `google-serp` for LinkedIn, role, employer; another SERP to verify email or pattern. Stay in SERP unless a specific field is missing.\n- **Reverse-lookup (email \u002F phone \u002F domain → identity)** — `google-serp` with the literal value in quotes (`--q '\"jane@x.com\"'`, `--q '\"+1 555 123 4567\"'`, `--q '\"acme corp\" site:example.com'`) almost always surfaces the matching person or business.\n\n**SERP-first principle**: for any data-enrichment intent (people, companies, emails, products, places), reach for `google-serp` \u002F `google-news` \u002F `google-shopping` \u002F `google-maps` first. They return Google's already-extracted structured fields (`.knowledge_graph`, `.organic_results[].snippet`, `.local_results[]`, etc.) without direct access to the target site. Only escalate to `web-scraping` when SERP doesn't surface the specific field you need, the data is public or authorized, and the target's terms\u002Faccess controls allow it. See `references\u002Fenrichment.md`.\n\nIf a user request matches one of the above and you don't invoke hasdata, you're probably hallucinating a stale answer.\n\n## Universal flag patterns\n\n- **Kebab-case** flag names. The CLI maps them back to the original camelCase before sending to the API.\n- **Booleans defaulting to `true`** have a paired negation: `--no-block-ads`, `--no-screenshot`, `--no-js-rendering`, `--no-extract-emails`, `--no-block-resources`. Setting both `--block-ads` and `--no-block-ads` errors.\n- **Anything ending in `-json`** accepts:\n    - inline JSON: `--extract-rules-json '{\"title\":\"h1\"}'`\n    - file: `--extract-rules-json @rules.json`\n    - stdin: `cat rules.json | hasdata web-scraping ... --extract-rules-json -`\n- **Repeatable key=value** flags split on the first `=` (so values containing `=` survive): `--headers User-Agent=foo --headers Cookie=session=abc`. Pair with `--headers-json` for a JSON base; kv items override per key.\n- **List flags** accept either repeats or comma-joined: `--lr lang_en --lr lang_fr` or `--lr lang_en,lang_fr`. Serialized as `key[]=value` for GET endpoints.\n- **Enum flags** validate client-side. If you guess wrong, the error lists the allowed values — read the message and retry.\n\n## Global flags (apply to every subcommand)\n\n| Flag | Effect |\n| --- | --- |\n| `--raw` | Write response bytes as-is (use this when piping to `jq`) |\n| `--pretty` | Pretty-print JSON (default when stdout is a TTY) |\n| `-o, --output FILE` | Write response to file instead of stdout (works for binary like screenshots) |\n| `--verbose` | Log outgoing URL and `X-RateLimit-*` headers to stderr |\n| `--api-key KEY` | Override env var (rarely needed) |\n| `--timeout DURATION` | Per-request timeout (default 2m) |\n| `--retries N` | Max retries on 429\u002F5xx (default 2) |\n\n## Output contract\n\nResponses are JSON. Pipe through `jq` for extraction:\n\n```bash\nhasdata google-serp --q \"espresso machine\" --num 10 --raw \\\n  | jq -c '.organic_results[] | {title, link, snippet}'\n```\n\nFor real-estate \u002F e-commerce results, the array shape is API-specific — read a single response with `--pretty` first to learn the schema, then write the `jq` filter.\n\n## Exit codes (script-safe)\n\n| Code | Meaning |\n| --- | --- |\n| 0 | success |\n| 1 | user \u002F CLI-input error (missing required flag, bad enum value, missing API key) |\n| 2 | network error |\n| 3 | API returned 4xx (auth, quota, validation) |\n| 4 | API returned 5xx |\n\n## References\n\n- [`references\u002Fenrichment.md`](references\u002Fenrichment.md) — **person and company enrichment** (LinkedIn lookup, emails, HQ\u002Ffunding\u002Fnews, CSV-row enrichment, reverse-lookup) — the highest-leverage cross-API workflows\n- [`references\u002Fsearch.md`](references\u002Fsearch.md) — Google SERP \u002F Bing \u002F News \u002F Trends flag catalog\n- [`references\u002Fweb-scraping.md`](references\u002Fweb-scraping.md) — `web-scraping` flags, JS scenarios, AI extraction\n- [`references\u002Freal-estate.md`](references\u002Freal-estate.md) — Zillow \u002F Redfin filters and bracketed params\n- [`references\u002Ftravel.md`](references\u002Ftravel.md) — Airbnb \u002F Booking \u002F Google Flights (lodging + transport)\n- [`references\u002Fecommerce.md`](references\u002Fecommerce.md) — Amazon \u002F Shopify\n- [`references\u002Flocal-business.md`](references\u002Flocal-business.md) — Maps (search\u002Fplace\u002Freviews\u002Fphotos\u002Fposts) \u002F Yelp \u002F YellowPages\n- [`references\u002Fjobs.md`](references\u002Fjobs.md) — Indeed \u002F Glassdoor\n- [`references\u002Fyoutube.md`](references\u002Fyoutube.md) — search \u002F video \u002F channel \u002F transcript\n- [`references\u002Fall-commands.md`](references\u002Fall-commands.md) — full subcommand index with credit costs\n\n\n## Limitations\n\n* Requires access to HasData services and valid credentials.\n* Data quality and available fields depend on the target website and extraction method used.\n* Website changes can impact extraction results and may require adjustments to extraction logic.\n* Rate limits, quotas, and account restrictions may apply depending on the endpoint and subscription plan.\n","# hasdata\n\nUse 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\u002Fapis`.\n\n## When to Use\n\nUse this skill when:\n\n- The user wants to use the HasData CLI.\n- The user needs current web data from the command line.\n- The user wants to automate data collection in scripts.\n- The user wants to retrieve search, ecommerce, travel, or local business data.\n- The user needs web-page scraping through the CLI.\n\n## Prerequisites\n\n- `command -v hasdata` — if missing, download the installer from `https:\u002F\u002Fraw.githubusercontent.com\u002FHasData\u002Fhasdata-cli\u002Fmain\u002Finstall.sh`, inspect it, then run it locally with `sh install.sh`.\n- One-time setup: the user runs `hasdata configure`, pastes their API key, and it's saved to `~\u002F.hasdata\u002Fconfig.yaml` (mode 0600). Every future call picks it up automatically.\n- If a call fails with `no API key configured`, the user hasn't run `hasdata configure` yet — tell them to. **Never invent a key.**\n\n## Quick start\n\n```bash\nhasdata \u003Capi> --flag value [--flag value ...] --raw | jq .\n```\n\nAlways pass `--raw` when piping to `jq` (skips pretty-print and TTY detection). Use `--pretty` only for human-readable terminal output.\n\n## Picking the right subcommand\n\n| User intent | Subcommand |\n| --- | --- |\n| Web search (\"what does Google say about…\") | `google-serp` (full features) or `google-serp-light` (cheap, single page) |\n| Latest news | `google-news` |\n| AI Mode SERP | `google-ai-mode` |\n| Shopping \u002F product prices | `google-shopping` (broad), `amazon-search` \u002F `amazon-product` (Amazon), `shopify-products` (Shopify) |\n| Immersive product page | `google-immersive-product` |\n| Maps \u002F places \u002F reviews | `google-maps`, `google-maps-place`, `google-maps-reviews`, `google-maps-photos`, `google-maps-posts` |\n| Yelp \u002F YellowPages local data | `yelp-search`, `yelp-place`, `yellowpages-search`, `yellowpages-place` |\n| Real-estate listings (homes for sale\u002Frent\u002Fsold) | `zillow-listing`, `redfin-listing` |\n| Real-estate single property deep dive | `zillow-property`, `redfin-property` |\n| Travel — short-term rentals | `airbnb-listing`, `airbnb-property` |\n| Travel — hotels \u002F lodging | `booking-search`, `booking-place` |\n| Travel — flights | `google-flights` |\n| Jobs | `indeed-listing`, `indeed-job`, `glassdoor-listing`, `glassdoor-job` |\n| Bing search | `bing-serp` |\n| Trends | `google-trends` |\n| Images | `google-images` |\n| Short videos | `google-short-videos` |\n| Events | `google-events` |\n| YouTube search \u002F video \u002F channel \u002F transcript | `youtube-search-api`, `youtube-video-api`, `youtube-channel-api`, `youtube-transcript-api` |\n| Instagram profile | `instagram-profile` |\n| Amazon seller | `amazon-seller`, `amazon-seller-products` |\n| **Scrape a specific URL** | `web-scraping` — supports JS rendering, proxies, markdown output, AI extraction, screenshots |\n\nFor exact flags of a subcommand, run `hasdata \u003Capi> --help` or read the matching file in `references\u002F`.\n\n## Non-obvious triggers (when to reach for hasdata even if the user doesn't say \"scrape\")\n\nThe user often won't ask for a SERP API or a scraper directly. Map these intents to the skill:\n\n- **\"Is this still true?\" \u002F \"What's the latest on X?\" \u002F \"Has Y happened yet?\"** — LLM training data is stale. Run `google-serp` or `google-news` to ground the answer.\n- **\"Summarize this article\" \u002F \"TL;DR this URL\"** — Use `web-scraping --output-format markdown` and feed the markdown into the summary prompt. Beats copy-paste because it strips ads, nav, scripts.\n- **\"Verify this link\" \u002F \"Is this site real?\"** — `web-scraping --url X --no-block-resources` returns status + screenshot. Or `google-serp --q \"site:example.com\"`.\n- **\"What does X say about itself?\"** — Pull the company's own homepage with `web-scraping --output-format markdown`, then summarize.\n- **\"Find me alternatives to X\"** — `google-serp --q \"X alternatives\"` or `google-shopping --q \"X competitors\"`.\n- **\"What's the going rate for X?\"** — `google-shopping` (broad) or `amazon-search` (Amazon-specific) with `jq` to extract the price distribution.\n- **\"Phone number \u002F address for X\"** — `google-maps-place` or `yelp-place`. Don't guess from training data.\n- **\"Are people happy with X service?\" \u002F \"Is X reputable?\"** — `google-maps-reviews --place-id ... --sort lowest` for negative samples; `glassdoor-job` for employer rep.\n- **\"What's the salary range for Y role?\"** — `indeed-listing` filtered by role + location, then `jq` over `.jobs[].salary`.\n- **\"Find me homes\u002Fapartments matching X criteria\"** — `zillow-listing` \u002F `redfin-listing` \u002F `airbnb-listing` with the corresponding filters.\n- **\"Recent sold comps near X\"** — `zillow-listing --type sold --keyword \"X\" --days-on-zillow 12m`.\n- **\"Track this product's price\"** — Loop `amazon-product --asin X` on a schedule; persist `.price` to a file.\n- **\"Summarize \u002F cite this YouTube video\"** — `youtube-transcript-api --v-param VID --raw | jq -r '.transcript[].snippet'` → feed to the summary prompt. Beats title\u002Fthumbnail-based guesses.\n- **\"Find a hotel in $CITY for $DATES under $BUDGET\"** — `booking-search --keyword $CITY --check-in-date X --check-out-date Y --adults 2 --children 0 --rooms 1 --price-max $BUDGET --sort priceLowestFirst`. For one specific property, `booking-place --url ...` returns the full room\u002Frate matrix.\n- **\"What's this channel pushing lately?\"** — `youtube-channel-api --channel-id @handle --tab videos --raw | jq '.sections[].items[] | {title, publishedDate, views: .extractedViews}'`.\n- **\"Does this business have an active offer \u002F event?\"** — `google-maps-posts --place-id X --raw | jq '.posts[] | {postedAt, description, cta}'`. Surfaces current promotions Google indexed.\n- **\"What's trending around X?\"** — `google-trends --q \"X\"` for relative interest; `google-news --q \"X\"` for headlines.\n- **\"Find businesses near me that do X\"** — `google-maps --q \"X\" --ll \"@LAT,LNG,12z\"` then fan out `google-maps-place` for contacts.\n- **\"How does this look in country Y?\"** — `--gl Y` on SERP commands, `--proxy-country Y` on `web-scraping`. Useful for geo-targeted SEO checks, geo-blocked content.\n- **\"Pull structured data from this page\"** — `web-scraping --ai-extract-rules-json '{\"price\": {\"type\": \"number\"}, ...}'`. Works on arbitrary pages without writing CSS selectors.\n- **\"List of items → per-item details\"** — Pattern: search command produces IDs\u002FURLs, pipe through `xargs` into the matching `*-property` \u002F `*-product` \u002F `*-place` deep-dive command.\n- **\"Find this person's role \u002F employer \u002F LinkedIn \u002F followers\"** — `google-serp --q '\"Person Name\" linkedin'` first. The organic-result title is typically `Name — Role at Company | LinkedIn` and the snippet carries location, headline, connection count. SERP often answers the whole question without ever opening the profile page.\n- **\"What is company X doing? Where's their HQ? Who works there?\"** — `google-serp --q \"$COMPANY\"` returns a `.knowledge_graph` block with founder, HQ, founded year, parent, employee range — pre-extracted. `google-news --q \"$COMPANY\"` for recent activity. Specific facts via targeted SERP: `--q '\"$COMPANY\" headquarters'`, `--q '\"$COMPANY\" funding'`, `--q 'site:linkedin.com\u002Fcompany \"$COMPANY\"'`.\n- **\"Find public contact channels for company X\"** — start with SERP: `--q '\"@example.com\"'` often surfaces publicly indexed business addresses. For personal emails or phone numbers, require a legitimate purpose, user authorization, and privacy-law\u002Fterms compliance; disclose unverified guesses.\n- **\"Enrich this CSV of leads\"** — per row: `google-serp` for LinkedIn, role, employer; another SERP to verify email or pattern. Stay in SERP unless a specific field is missing.\n- **Reverse-lookup (email \u002F phone \u002F domain → identity)** — `google-serp` with the literal value in quotes (`--q '\"jane@x.com\"'`, `--q '\"+1 555 123 4567\"'`, `--q '\"acme corp\" site:example.com'`) almost always surfaces the matching person or business.\n\n**SERP-first principle**: for any data-enrichment intent (people, companies, emails, products, places), reach for `google-serp` \u002F `google-news` \u002F `google-shopping` \u002F `google-maps` first. They return Google's already-extracted structured fields (`.knowledge_graph`, `.organic_results[].snippet`, `.local_results[]`, etc.) without direct access to the target site. Only escalate to `web-scraping` when SERP doesn't surface the specific field you need, the data is public or authorized, and the target's terms\u002Faccess controls allow it. See `references\u002Fenrichment.md`.\n\nIf a user request matches one of the above and you don't invoke hasdata, you're probably hallucinating a stale answer.\n\n## Universal flag patterns\n\n- **Kebab-case** flag names. The CLI maps them back to the original camelCase before sending to the API.\n- **Booleans defaulting to `true`** have a paired negation: `--no-block-ads`, `--no-screenshot`, `--no-js-rendering`, `--no-extract-emails`, `--no-block-resources`. Setting both `--block-ads` and `--no-block-ads` errors.\n- **Anything ending in `-json`** accepts:\n    - inline JSON: `--extract-rules-json '{\"title\":\"h1\"}'`\n    - file: `--extract-rules-json @rules.json`\n    - stdin: `cat rules.json | hasdata web-scraping ... --extract-rules-json -`\n- **Repeatable key=value** flags split on the first `=` (so values containing `=` survive): `--headers User-Agent=foo --headers Cookie=session=abc`. Pair with `--headers-json` for a JSON base; kv items override per key.\n- **List flags** accept either repeats or comma-joined: `--lr lang_en --lr lang_fr` or `--lr lang_en,lang_fr`. Serialized as `key[]=value` for GET endpoints.\n- **Enum flags** validate client-side. If you guess wrong, the error lists the allowed values — read the message and retry.\n\n## Global flags (apply to every subcommand)\n\n| Flag | Effect |\n| --- | --- |\n| `--raw` | Write response bytes as-is (use this when piping to `jq`) |\n| `--pretty` | Pretty-print JSON (default when stdout is a TTY) |\n| `-o, --output FILE` | Write response to file instead of stdout (works for binary like screenshots) |\n| `--verbose` | Log outgoing URL and `X-RateLimit-*` headers to stderr |\n| `--api-key KEY` | Override env var (rarely needed) |\n| `--timeout DURATION` | Per-request timeout (default 2m) |\n| `--retries N` | Max retries on 429\u002F5xx (default 2) |\n\n## Output contract\n\nResponses are JSON. Pipe through `jq` for extraction:\n\n```bash\nhasdata google-serp --q \"espresso machine\" --num 10 --raw \\\n  | jq -c '.organic_results[] | {title, link, snippet}'\n```\n\nFor real-estate \u002F e-commerce results, the array shape is API-specific — read a single response with `--pretty` first to learn the schema, then write the `jq` filter.\n\n## Exit codes (script-safe)\n\n| Code | Meaning |\n| --- | --- |\n| 0 | success |\n| 1 | user \u002F CLI-input error (missing required flag, bad enum value, missing API key) |\n| 2 | network error |\n| 3 | API returned 4xx (auth, quota, validation) |\n| 4 | API returned 5xx |\n\n## References\n\n- [`references\u002Fenrichment.md`](references\u002Fenrichment.md) — **person and company enrichment** (LinkedIn lookup, emails, HQ\u002Ffunding\u002Fnews, CSV-row enrichment, reverse-lookup) — the highest-leverage cross-API workflows\n- [`references\u002Fsearch.md`](references\u002Fsearch.md) — Google SERP \u002F Bing \u002F News \u002F Trends flag catalog\n- [`references\u002Fweb-scraping.md`](references\u002Fweb-scraping.md) — `web-scraping` flags, JS scenarios, AI extraction\n- [`references\u002Freal-estate.md`](references\u002Freal-estate.md) — Zillow \u002F Redfin filters and bracketed params\n- [`references\u002Ftravel.md`](references\u002Ftravel.md) — Airbnb \u002F Booking \u002F Google Flights (lodging + transport)\n- [`references\u002Fecommerce.md`](references\u002Fecommerce.md) — Amazon \u002F Shopify\n- [`references\u002Flocal-business.md`](references\u002Flocal-business.md) — Maps (search\u002Fplace\u002Freviews\u002Fphotos\u002Fposts) \u002F Yelp \u002F YellowPages\n- [`references\u002Fjobs.md`](references\u002Fjobs.md) — Indeed \u002F Glassdoor\n- [`references\u002Fyoutube.md`](references\u002Fyoutube.md) — search \u002F video \u002F channel \u002F transcript\n- [`references\u002Fall-commands.md`](references\u002Fall-commands.md) — full subcommand index with credit costs\n\n\n## Limitations\n\n* Requires access to HasData services and valid credentials.\n* Data quality and available fields depend on the target website and extraction method used.\n* Website changes can impact extraction results and may require adjustments to extraction logic.\n* Rate limits, quotas, and account restrictions may apply depending on the endpoint and subscription plan.\n",{"name":5,"risk":24,"source":25,"license":15,"date_added":26,"description":7,"source_repo":27,"source_type":25,"license_source":28},"safe","official","2026-06-04","HasData\u002Fhasdata-cli","https:\u002F\u002Fgithub.com\u002FHasData\u002Fhasdata-cli\u002Fblob\u002Fmain\u002FLICENSE","main","c475fc64e94e803b50d14a791dfee8853fbb2c5c","integrations\u002Fantigravity-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fhasdata-cli","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory","https:\u002F\u002Fgithub.com\u002FElogic360","2026-11-08 22:21:22",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Elogic360\u002Fsoftware-factory --skill hasdata-cli",{"tool":41,"command":42},"bunx","bunx skills add Elogic360\u002Fsoftware-factory --skill hasdata-cli",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Elogic360\u002Fsoftware-factory --skill hasdata-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fantigravity-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fhasdata-cli\u002FSKILL.md",true,[49,55,59,63,67,71,75,79,83,87],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fall-commands.md","REFERENCE","参考文档",3749,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fantigravity-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fhasdata-cli\u002Freferences\u002Fall-commands.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fecommerce.md",5216,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fantigravity-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fhasdata-cli\u002Freferences\u002Fecommerce.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fenrichment.md",10339,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fantigravity-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fhasdata-cli\u002Freferences\u002Fenrichment.md",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fjobs.md",4627,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fantigravity-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fhasdata-cli\u002Freferences\u002Fjobs.md",{"path":68,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Flocal-business.md",6273,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fantigravity-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fhasdata-cli\u002Freferences\u002Flocal-business.md",{"path":72,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Freal-estate.md",6207,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fantigravity-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fhasdata-cli\u002Freferences\u002Freal-estate.md",{"path":76,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fsearch.md",5795,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fantigravity-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fhasdata-cli\u002Freferences\u002Fsearch.md",{"path":80,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Ftravel.md",5610,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fantigravity-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fhasdata-cli\u002Freferences\u002Ftravel.md",{"path":84,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fweb-scraping.md",8666,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fantigravity-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fhasdata-cli\u002Freferences\u002Fweb-scraping.md",{"path":88,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fyoutube.md",8484,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fantigravity-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fhasdata-cli\u002Freferences\u002Fyoutube.md",[92,100,107,114,121,128],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M79G206MT3J6S0GY3C45P2KV","vss-summarize-video","Use to summarize a recorded video via the LVS summarization microservice (HITL-gated) with a VLM fallback. Not for report generation or live RTSP captioning.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-summarize-video\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M79G1WN63PGRE8CKD47WEBQ5","vss-setup-video-analytics-api","Use to deploy the vss-video-analytics-api REST service standalone (config-source, data-log bind, Elasticsearch, optional Kafka). Not for full warehouse deploy.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-setup-video-analytics-api\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M79G1S9F7VY3EF6H53PRP5AN","vss-setup-behavior-analytics","Use to deploy the vss-behavior-analytics service standalone (entrypoint, config-source, optional calibration). Not for the full warehouse deploy.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-setup-behavior-analytics\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M79G1N1S1Y27PFZPYMNK1MTQ","vss-search-archive","Use this skill to run top-level VSS fusion search on archived video, or to ingest video files \u002F RTSP streams for search. Do NOT use for ad-hoc visual Q&A (use vss-ask-video), live captioning (use vss-deploy-dense-captioning), or video summarization and reports (use vss-summarize-video).","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-search-archive\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":19},"01M79G1H6WN0Q6C0VCAXCZX6B7","vss-query-analytics","Use this skill when reading video-analytics metrics, incidents, alerts, and sensor data via the VA-MCP server (port 9901). Not for live VLM or incident-range narrative reports.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-query-analytics\u002FSKILL.md",[],[],{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":19},"01M79G1DYPNXQS7QHZ0AAF5FX5","vss-manage-video-io-storage","Use to call the VIOS REST API (sensor list, timelines, clip extraction, snapshots, add\u002Fdelete sensors and streams). Not for VLM inference or search.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-manage-video-io-storage\u002FSKILL.md",[],[]]