Skip to main content

1. Clone the Skills repo

git clone https://github.com/ArraysData/arrays-skills.git

2. Reference Skills from your project

Cursor and Windsurf both read project-level rules. In your repo root, create .cursor/rules/arrays.mdc (Cursor) or .windsurfrules (Windsurf):
---
description: Use Arrays Skills for financial-data questions
globs: ["**/*"]
---

When the user asks about stocks, crypto, ETF, macro, or any market data,
follow the Arrays Skills at /absolute/path/to/arrays-skills/skills/.

Authentication:
- Base URL: https://data-tools.prd.arrays.org/api
- Header: X-API-Key from ARRAYS_API_KEY env var

3. Set your API key

In your project’s .env (and add .env to .gitignore):
ARRAYS_API_KEY=your_key_here
ARRAYS_API_BASE_URL=https://data-tools.prd.arrays.org/api

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.
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 or Codex.