> ## 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 Cursor / Windsurf

> Add Arrays Skills as project rules so Cursor and Windsurf use them automatically.

## 1. Clone the Skills repo

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

## 2. Add the Skills as project rules

<Tabs>
  <Tab title="Cursor">
    From your project root, run the converter. It writes one `.cursor/rules/<skill>.mdc` per skill, with the skill description as the rule description:

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

    Pass a directory to install somewhere else: `bash ~/.arrays-skills/scripts/install-cursor.sh path/to/.cursor/rules`.
  </Tab>

  <Tab title="Windsurf (.windsurfrules)">
    Windsurf reads a single rules file. In your project root create `.windsurfrules`:

    ```markdown theme={null}
    # Arrays Financial Data

    Use the Arrays Skills at ~/.arrays-skills/skills/
    when answering questions about market data.

    Auth: X-API-Key header, key in ARRAYS_API_KEY env var.
    Base: https://data-tools.prd.arrays.org  (skills append /api/v1/...)
    ```
  </Tab>
</Tabs>

## 3. Set your API key

In your project's `.env` (and add `.env` to `.gitignore`):

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

## 4. Try it

In Cursor / Windsurf chat, ask:

```
Show me NVDA's last 4 quarters of free cash flow.
```

The agent should follow the Arrays Skill, call `company/cashflow-statements`, and return real data.

<Info>
  Cursor and Windsurf currently can't auto-execute HTTP calls — they'll generate the code, and you run it. For a fully automated loop, use [Claude Code](/skills/install-claude-code) or [Codex](/skills/install-codex).
</Info>


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