> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://help.sigmacomputing.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://help.sigmacomputing.com/_mcp/server.

# Install skills for AI assistants

> Install agent skills published by Sigma to give AI assistants and tools reference materials for REST API and document workflows.

You can use agent skills published by Sigma to provide reference materials and instructions to your AI assistants. These agent skills support your AI assistant's workflows in Sigma, such as using the Sigma REST API and creating documents from code.

Sigma publishes agent skills as open source under the Apache 2.0 License. Review the [Skills License Notice](/docs/notice-for-agent-skills-for-sigma) before installing or using any agent skills for Sigma.

## Install agent skills for Sigma

Agent skills for Sigma are distributed through the <a href="https://github.com/sigmacomputing/sigma-agent-skills" target="_blank">sigma-agent-skills</a> repository.

To install these skills for use with any of the following AI assistants, refer to the installation instructions below:

* [Claude Code](#claude)
* [Codex](#codex)
* [Snowflake Cortex code](#snowflake-cortex-code)
* [Cursor](#cursor)

If you use a different AI assistant, you can clone or download the <a href="https://github.com/sigmacomputing/sigma-agent-skills" target="_blank">sigma-agent-skills</a> repository and reference the skill files in `skills/` manually.

### Claude

To install agent skills for Sigma as a plugin for Claude Code, run the following commands:

```bash
/plugin marketplace add https://github.com/sigmacomputing/sigma-agent-skills.git
```

```bash
/plugin install sigma-computing@sigma-computing
```

For more information, see <a href="https://code.claude.com/docs/en/discover-plugins" target="_blank">Discover and install prebuilt plugins</a> in the Claude documentation.

### Codex

To use the agent skills for Sigma with OpenAI Codex, download or clone the repository so that Codex can access the skill files and `AGENTS.md`.

1. Clone the <a href="https://github.com/sigmacomputing/sigma-agent-skills" target="_blank">sigma-agent-skills</a> repository:

   ```bash
   git clone https://github.com/sigmacomputing/sigma-agent-skills.git
   ```

2. Run Codex from within the cloned `sigma-agent-skills` directory. Codex automatically loads `AGENTS.md` from the repository root and uses it as context.

For more information, see <a href="https://developers.openai.com/codex/plugins/build" target="_blank">Build plugins</a> in the Codex documentation.

### Snowflake Cortex Code

To use agent skills for Sigma with Snowflake Cortex Code, run the following command in a Cortex Code session:

```bash
/skill add https://github.com/sigmacomputing/sigma-agent-skills.git
```

Cortex Code caches these skills locally. To update to the latest version, run:

```bash
/skill sync
```

For more information, see <a href="https://docs.snowflake.com/en/user-guide/cortex-code/extensibility" target="_blank">Cortex Code CLI extensibility</a> in the Cortex Code documentation.

### Cursor

To use agent skills for Sigma with Cursor, download or clone the repository so that Cursor can access the skill files and `AGENTS.md`.

1. To clone the <a href="https://github.com/sigmacomputing/sigma-agent-skills" target="_blank">sigma-agent-skills</a> repository, run the following command:

   ```bash
   git clone https://github.com/sigmacomputing/sigma-agent-skills.git
   ```

2. In Cursor, configure `.cursor-plugin/plugin.json` from the cloned repository as a plugin source.

For more information, see <a href="https://cursor.com/docs/plugins" target="_blank">Plugins</a> in the Cursor documentation.

## Use agent skills for Sigma

You can use agent skills for Sigma to support your AI assistants during common AI assistant workflows. Sigma currently provides the following agent skills:

* [sigma-api](#sigma-api)
* [sigma-data-models](#sigma-data-models)

### sigma-api

The `sigma-api` skill provides instructions and reference materials that an AI assistant can use to authenticate against the [Sigma REST API](/docs/get-started-with-sigmas-api) by acquiring a valid bearer token.

The `sigma-api` skill supports AI assistants through the authentication process by providing the following:

* Instructions for selecting the correct API base URL
* Instructions for exchanging [client credentials](/reference/generate-client-credentials) for a bearer token
* Troubleshooting guidance for common authentication errors

### sigma-data-models

The `sigma-data-models` skill provides instructions and reference materials that an AI assistant can use to build and manage Sigma [data models](/docs/get-started-with-data-modeling) from code.

To [create a data model from a code representation](/reference/create-data-model-spec) using the Sigma REST API, you must provide a valid representation of a data model. The `sigma-data-models` skill supports AI assistants through the process of creating a valid representation by providing the following:

* Instructions for authenticating to the Sigma REST API
* Instructions for gathering metadata, such as locating connections, tables, and folders
* Reference materials that the AI assistant can use to structure individual elements in the representation correctly

For more information on creating data models from code, see [Manage data models as code](/docs/manage-data-models-as-code).