> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hasdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Skills

> Ready-made skills that teach AI coding agents how to use HasData.

HasData ships a small set of agent skills at [github.com/HasData/agent-skills](https://github.com/HasData/agent-skills). Drop them into Claude Code (or any agentskills.io-compatible client) and your agent stops guessing endpoints and parameters.

Two skills are available:

* **`hasdata`** wires the HasData APIs into your code (Python, TypeScript, Go). Covers SERP, all Scraper APIs (Amazon, Zillow, Maps, Indeed, Instagram, and so on), and the async Scraper Jobs lifecycle.
* **`hasdata-cli`** is for terminal work: shell pipelines, CI jobs, one-off lookups using the [HasData CLI](/cli).

## Prerequisites

1. A HasData account ([sign up](https://app.hasdata.com)).
2. Your API key in the `HASDATA_API_KEY` environment variable.
3. The [HasData CLI](/cli) installed if you want to use the `hasdata-cli` skill.

## Install

<CodeGroup>
  ```bash Universal theme={null}
  npx skills add hasdata/agent-skills
  ```

  ```bash Claude Code theme={null}
  /plugin marketplace add https://github.com/HasData/agent-skills
  /plugin install hasdata@hasdata-agent-skills
  /plugin install hasdata-cli@hasdata-agent-skills
  ```
</CodeGroup>

For Cursor, Windsurf, or VS Code, clone the repo and point your agent at the local `skills/` directory. For anything else, reference the individual `SKILL.md` files directly.

## What's inside the `hasdata` skill

The skill loads on demand and pulls in topical reference files only when relevant, so your context stays small:

* `web-scraping.md` for Web Scraping API parameters and gotchas.
* `search.md` for Google SERP, AI Mode, and Bing.
* `ecommerce.md` for Amazon and Shopify.
* `real-estate.md` for Zillow, Redfin, and Airbnb.
* `local-business.md` for Google Maps, Yelp, and Yellow Pages.
* `jobs.md` for Indeed and Glassdoor.
* `scraper-jobs.md` for the async submit, poll, paginate, stop flow.
* `code-recipes.md` for working snippets in Python, TypeScript, and Go.

## Usage

Once installed, the skill activates on its own when your prompt looks like a HasData job: web scraping, SERP, lead enrichment, RAG ingestion, price tracking, and so on. You can also invoke it explicitly with `/hasdata` or `/hasdata-cli`.

## Updating

Skills update with the API. Re-run `npx skills add hasdata/agent-skills` to refresh, or `git pull` if you cloned the repo.
