> ## 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 OpenAI Codex

> Use Arrays Skills inside OpenAI Codex agents.

## 1. Clone the Skills repo

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

## 2. Link the Skills into Codex

Codex CLI discovers skills in `~/.agents/skills/`:

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

`bash ~/.arrays-skills/scripts/install.sh` does the same and also covers Claude Code, Gemini CLI and Cline if they are installed.

## 3. Set your API key

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

## 4. Test it

```bash theme={null}
codex "Give me the top 10 holdings of SPY and their weight."
```

Codex should pick the `arrays-data-api-etf-fundamentals` Skill from its description, read the `etf/holdings` endpoint, and return real data.

## Notes

* Codex routes to a skill by its frontmatter `description`; all 20 skills can be linked at once.
* The links point into the clone — `git pull` in `~/.arrays-skills` updates them.


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