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

# Use LLMs

> LLM-Friendly documentation for Faster Developer Integration

## Add Prem API to your AI agent with `skill.md`

The documentation includes a [`skill.md`](https://docs.prem.io/skill.md) file. This file tells your AI coding agent (Claude Code, Cursor, Windsurf, and others) how to use the Prem API. No manual setup is necessary.

### One-command setup

Run this command in your terminal to load the Prem API skill into the context of your agent:

<CodeGroup>
  ```bash theme={"system"}
  npx skills add https://docs.prem.io/skill.md
  ```
</CodeGroup>

No more steps are necessary.

## Use the `llms-full.txt` file with your code editor

You can load the full documentation for Prem API into your code editor. The AI assistant can then refer to the documentation directly in your workflow. Do these steps to configure Cursor:

1. Go to **Cursor Settings** > **Features** > **Docs**
2. Click **"Add new doc"**
3. Paste this URL into the prompt:

<CodeGroup>
  ```text theme={"system"}
  https://docs.prem.io/llms-full.txt
  ```
</CodeGroup>

4. After you add the URL, use **@docs** -> **Prem API** to refer to this documentation directly in your code.
