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

# sei-skill Installation

> Install sei-skill for Claude Code, Cursor, GitHub Copilot, Windsurf, and other AI coding assistants.

## Prerequisites

```bash theme={"dark"}
git clone https://github.com/sei-protocol/sei-skill
cd sei-skill
```

## Install by agent

<Tabs>
  <Tab title="Claude Code">
    The default install targets Claude Code, placing the skill in `~/.claude/skills/sei/`:

    ```bash theme={"dark"}
    ./install.sh
    ```

    The skill loads automatically in every Claude Code session. To verify it's active, ask: *"What is the SSTORE gas cost on Sei testnet?"*
  </Tab>

  <Tab title="Codex">
    ```bash theme={"dark"}
    ./install.sh --agent codex
    ```

    Installs to `AGENTS.md` in your project root. Codex CLI reads this file automatically.
  </Tab>

  <Tab title="Cursor">
    ```bash theme={"dark"}
    ./install.sh --agent cursor
    ```

    Installs to `.cursor/rules/sei.mdc` in your project. Cursor picks it up automatically as a rule file.
  </Tab>

  <Tab title="GitHub Copilot">
    ```bash theme={"dark"}
    ./install.sh --agent copilot
    ```

    Installs to `.github/copilot-instructions.md`. Copilot uses this file as custom instructions for the repository.
  </Tab>

  <Tab title="Windsurf">
    ```bash theme={"dark"}
    ./install.sh --agent windsurf
    ```

    Installs to `.windsurf/rules/sei.md`. Windsurf's Cascade reads this automatically.
  </Tab>

  <Tab title="Aider">
    ```bash theme={"dark"}
    ./install.sh --agent aider
    ```

    Installs to `~/.aider/sei.md`. Aider loads it as persistent context.
  </Tab>

  <Tab title="OpenHands">
    ```bash theme={"dark"}
    ./install.sh --agent openhands
    ```

    Installs to `.openhands/SKILL.md` in your project.
  </Tab>

  <Tab title="Gemini">
    ```bash theme={"dark"}
    ./install.sh --agent gemini
    ```

    Installs to `GEMINI.md` in your project root.
  </Tab>
</Tabs>

## Variants

The full skill covers all three domains (contracts, frontend, ecosystem). If you only need one area, install a variant to keep context lean:

| Variant        | Command                            | Best for                      |
| -------------- | ---------------------------------- | ----------------------------- |
| Full (default) | `./install.sh`                     | General Sei development       |
| Contracts      | `./install.sh --variant contracts` | Smart contract engineers      |
| Frontend       | `./install.sh --variant frontend`  | dApp and UI developers        |
| Ecosystem      | `./install.sh --variant ecosystem` | Infra, integrations, research |

Combine with `--agent` to target a specific assistant:

```bash theme={"dark"}
./install.sh --agent cursor --variant contracts
```

## Advanced options

**Install to a project directory** (instead of `~/.claude/`):

```bash theme={"dark"}
./install.sh --project
```

**Flatten to a single markdown file** — useful for pasting into any chat interface or custom context:

```bash theme={"dark"}
./install.sh --flatten --output ./sei-context.md
```

**Custom output path:**

```bash theme={"dark"}
./install.sh --output /path/to/custom/location
```

## Verify it's working

After installing, test with a Sei-specific question that trips up unaugmented assistants:

* *"What gas price should I use for transactions on Sei?"*
* *"Is PREVRANDAO a safe source of randomness on Sei?"*
* *"What's the difference between `sei1...` and `0x...` addresses?"*

A Sei-aware assistant will give accurate, specific answers to all three.
