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

# Skills (Plugins)

> Enhance AI understanding with domain-specific plugins.

## Overview

Skills are domain-specific plugins that enhance how AI understands and interacts with certain types of pages. When activated, a skill replaces the standard page snapshot with a domain-optimized representation and adds specialized instructions to the AI prompt.

<Note>
  Skills require [Pro or higher](/concepts/plan-tiers). Skills are an experimental feature — the API and available skills may change.
</Note>

## How skills work

When a skill is enabled, it automatically activates on pages it recognizes (e.g., the Google Sheets skill activates on Google Sheets URLs). On those pages, the skill:

* **Optimizes the page representation** — Replaces the standard view with a domain-specific format that AI understands better (e.g., structured table data instead of raw page elements)
* **Adds specialized instructions** — Gives AI domain-specific guidance (e.g., how to reference cells or interact with spreadsheet controls)

On pages where the skill doesn't apply, standard processing is used automatically.

## Available skills

| Skill           | Domain        | Description                                                                                                |
| --------------- | ------------- | ---------------------------------------------------------------------------------------------------------- |
| `google-sheets` | Google Sheets | Extracts spreadsheet data as structured tables for AI. Enables precise cell targeting and data operations. |

## Usage

### CLI

```bash theme={null}
npx @refrainai/cli generate -- \
  --url "https://docs.google.com/spreadsheets/d/..." \
  --goal "Copy data from Sheet1 to Sheet2" \
  --output ./sheets-flow.yaml \
  --skill google-sheets
```

Multiple skills can be comma-separated:

```bash theme={null}
--skill google-sheets,another-skill
```

### SDK

```typescript theme={null}
const report = await client.execute(runbook, {
  skills: ["google-sheets"],
});
```

## What's next

<CardGroup cols={2}>
  <Card title="Generate a runbook" icon="wand-magic-sparkles" href="/guides/generate-runbook">
    Generate with skill-enhanced exploration.
  </Card>

  <Card title="Execute a runbook" icon="play" href="/guides/execute-runbook">
    Execute with skill-enhanced resolution.
  </Card>
</CardGroup>
