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

# Install on Claude Code

> Get the Arrays Skills running inside Claude Code in under a minute.

## Prerequisites

* [Claude Code](https://claude.com/claude-code) installed
* An Arrays API key from [arrays.org](https://arrays.org)

## 1. Clone the Skills repo

```bash theme={null}
git clone https://github.com/ArraysData/arrays-skills.git ~/.arrays-skills
```

## 2. Link the Skills into Claude Code

Claude Code discovers skills in `~/.claude/skills/`. Symlink each skill there:

```bash theme={null}
mkdir -p ~/.claude/skills
for d in ~/.arrays-skills/skills/arrays-data-api-*/; do
  ln -sfn "$d" ~/.claude/skills/$(basename "$d")
done
```

Or let the installer detect Claude Code (and any other supported agent) and do the same thing:

```bash theme={null}
bash ~/.arrays-skills/scripts/install.sh
```

<Tip>
  The links point back into the clone, so `git pull` in `~/.arrays-skills` updates every skill in place.
</Tip>

## 3. Set your API key

Add to your shell config (`~/.zshrc` or `~/.bashrc`):

```bash theme={null}
export ARRAYS_API_KEY="your_key_here"
```

`ARRAYS_API_BASE_URL` is optional and defaults to `https://data-tools.prd.arrays.org` (no `/api` suffix — the skills append `/api/v1/...` themselves).

Reload: `source ~/.zshrc`

## 4. Try it

In Claude Code, ask:

```
What was AAPL's revenue and net income last quarter?
```

Claude should automatically pick the `arrays-data-api-equity-fundamentals` Skill, call the `company/income-statements` endpoint, and return real numbers.

## Troubleshooting

<AccordionGroup>
  <Accordion title="Claude doesn't seem to use the Skills">
    Run `ls -l ~/.claude/skills/` and confirm the `arrays-data-api-*` symlinks resolve. Restart Claude Code after installing — skills are discovered at startup.
  </Accordion>

  <Accordion title="'Unauthorized' or 401 error">
    Check `echo $ARRAYS_API_KEY` is set in the same shell session where Claude Code runs. If you opened Claude Code from a GUI, export the var system-wide or use a `.env` file at the project root.
  </Accordion>

  <Accordion title="'Rate limit exceeded'">
    Free tier is capped at 100 req/day. See [Pricing](/pricing) for Pro and Enterprise quotas, or use [Nanopayment](/nanopayment/overview) for crypto endpoints with no quota.
  </Accordion>
</AccordionGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.