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

# Openlayer Agent Skills

> Teach AI coding assistants like Claude Code, Cursor, and GitHub Copilot how to integrate your codebase with Openlayer.

[Agent Skills](https://github.com/anthropics/skills) are packaged instructions that
condition AI coding assistants — Claude Code, Cursor, GitHub Copilot, and others — to
follow a tool's current best practices instead of guessing from memory.

The **Openlayer skill** teaches your coding agent how to wire a codebase into
Openlayer end to end:

* **Tracing / monitoring** — instrument LLM and agent code with the Python or
  TypeScript SDK and publish traces.
* **Offline evals** — set up `openlayer.json` + `tests.json`, push commits, and
  read results.
* **Tests and guardrails** — create tests from the catalog and configure
  guardrails.
* **CI/CD gating** — fail builds on eval regressions.
* **Data and docs access** — query your workspace and search the Openlayer
  documentation via the [Openlayer MCP server](https://docs.openlayer.com/openlayer-mcp.md).

It covers both LLM applications and traditional/tabular ML models
(scikit-learn, XGBoost, and similar).

With the skill installed, agents stop producing outdated SDK calls, wrong
environment variables, or invented test configs — they follow the same
conventions our own team uses.

## Installation

> [tab] Claude Code
>
> ```bash theme={null}
> claude plugin marketplace add openlayer-ai/openlayer-skills
> claude plugin install openlayer@openlayer
> ```

> [tab] Cursor
>
> In the chat input:
>
> ```
> /add-plugin openlayer
> ```

> [tab] GitHub Copilot
>
> GitHub Copilot reads the same plugin manifest as Claude Code, so the skill
> installs without any repackaging.
>
> **VS Code** — add the marketplace to your `settings.json`:
>
> ```json theme={null}
> {
>   "chat.plugins.marketplaces": ["openlayer-ai/openlayer-skills"]
> }
> ```
>
> Then open the Extensions view, search for `@agentPlugins`, and install
> **Openlayer**. Alternatively, run **Chat: Install Plugin From Source** from
> the command palette and enter
> `https://github.com/openlayer-ai/openlayer-skills`.
>
> **Copilot CLI**:
>
> ```bash theme={null}
> copilot plugin marketplace add openlayer-ai/openlayer-skills
> copilot plugin install openlayer@openlayer
> ```
>
> Run `copilot skill list` to confirm `openlayer` appears under **Plugin
> skills**.
>
> **Coding agent and code review** — to give the cloud agent and Copilot code
> review the same skill, commit it into the repository itself:
>
> ```bash theme={null}
> git clone https://github.com/openlayer-ai/openlayer-skills.git /tmp/openlayer-skills
> mkdir -p .github/skills
> cp -R /tmp/openlayer-skills/skills/openlayer .github/skills/openlayer
> ```

> [tab] Codex / Gemini CLI / others
>
> The [skills CLI](https://github.com/vercel-labs/skills) installs Agent
> Skills into most coding agents — Codex, Gemini CLI, opencode, Windsurf,
> and dozens more. It detects the agents on your machine and asks which
> ones to install to:
>
> ```bash theme={null}
> npx skills add openlayer-ai/openlayer-skills --skill "openlayer"
> ```

> [tab] claude.ai
>
> Skills also work in the Claude apps: zip the
> [`skills/openlayer`](https://github.com/openlayer-ai/openlayer-skills/tree/main/skills/openlayer)
> folder and upload it under **Settings → Capabilities → Skills**. Most
> useful when Claude also has access to your code (e.g. via the
> [remote MCP connector](https://docs.openlayer.com/openlayer-mcp.md) or a GitHub connection).

> [tab] Manual
>
> Any agent that reads a skills directory can use a symlink or copy:
>
> ```bash theme={null}
> git clone https://github.com/openlayer-ai/openlayer-skills.git
> ln -s "$(pwd)/openlayer-skills/skills/openlayer" /path/to/your/agent/skills-directory/openlayer
> ```

## Prerequisites

An [Openlayer account](https://app.openlayer.com) and an API key:

```bash theme={null}
export OPENLAYER_API_KEY=...
```

Find your API key under **Workspace settings → API keys** (see
[Find your API key](https://docs.openlayer.com/workspace-and-projects/find-your-api-key.md)). If you run a
self-hosted Openlayer instance, also set `OPENLAYER_BASE_URL`.

## Usage

Once installed, the agent uses the skill automatically whenever a task touches
Openlayer — for example:

* "Add Openlayer tracing to this agent."
* "Set up offline evals for this repo and push a commit."
* "Create tests for hallucination and PII, and gate CI on them."

The skill source lives at
[github.com/openlayer-ai/openlayer-skills](https://github.com/openlayer-ai/openlayer-skills).


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