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

# Build with agent skills

> Install Metronome agent skills so AI coding agents build more accurate Metronome integrations.

Agent skills give AI coding agents reusable guidance for specific tasks. Metronome agent skills encode recommended integration patterns, API request formats, and common pitfalls agents should avoid. Install them in Claude Code, Cursor, Codex, or any other coding agent that supports skills.

## Installation

To start building with Metronome agent skills, run this command from your project directory:

```bash theme={null}
npx skills add https://docs.metronome.com
```

The command will then prompt you to choose which skills to install and which agents to install them for.

> [!NOTE]
>
> Installed skills don't update automatically. Run `npx skills update -y` to get the latest versions.

## Provide your API token

Skills that read from or write to your Metronome environment require an API token.

1. [Create an API token](https://docs.staging.metronome.com/api-reference/authentication.md).

2. Export it as `METRONOME_BEARER_TOKEN`, the same variable the [Metronome SDKs](https://docs.staging.metronome.com/guides/get-started/developer-sdks.md) read:

   ```bash theme={null}
   export METRONOME_BEARER_TOKEN="your-api-token"
   ```

3. If you use a terminal agent such as Claude Code or Codex, start it from the same shell. For an IDE-based agent, set the variable where the IDE reads its environment, then restart the IDE.

Keep the token out of your agent's chat and out of any file your agent might commit. Load it from an environment variable or a secrets manager instead. API tokens inherit the permissions of the user who created them, so consider a token [scoped](https://docs.staging.metronome.com/api-reference/authentication.md#permissions) to read-only access or to your sandbox environment.

## Skills index

See the [index of Metronome skills](https://docs.metronome.com/.well-known/skills/index.json).

## See also

> **[API reference](https://docs.staging.metronome.com/api-reference/introduction.md)**
>
> Endpoints, request parameters, and response fields

> **[Billing for LLM tokens](https://docs.staging.metronome.com/guides/pricing-packaging/billing-model-guides/token-billing.md)**
>
> Set up token billing with the token billing skill
