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

# Skills

> Add SLNG skills to your coding agent so it can call the SLNG API and migrate your projects.

SLNG skills are a pack of skills for your coding agent. Each skill is a folder
your coding agent loads on demand, teaching it to use the SLNG API: speech to
text, text to speech, voice agents, prompt authoring, and migrations for
LiveKit, Pipecat, and custom stacks.

## Prerequisites

* Node 18 or later, for `npx skills`.
* A coding agent that loads skills from a directory (Claude Code, Codex, Gemini
  CLI, and others).
* An SLNG API key. See [Create your API key](/guides/get-started/quickstart#create-your-api-key).

## Install

<GitHub.Repo repo="slng-ai/skills" />

Install the pack with the `skills` CLI. It detects the coding agents you have
installed, or prompts you to pick:

```bash theme={null}
npx skills add slng-ai/skills
```

Skills install into your coding agent's skills directory, for example
`~/.claude/skills/`. Target a specific coding agent with `-a` (`claude-code`,
`codex`, or `gemini-cli`), and add `-g` to install for every project. Re-run the
command any time to update.

To install a single skill, name it:

```bash theme={null}
npx skills add slng-ai/skills text-to-speech
```

## Set up your API key

The skills read your SLNG API key from the environment. The core skills use
`VOICEAI_API_KEY`; the migration skills use `SLNG_API_KEY`. Set the one the
skills you install need, or set both to the same key.

```bash theme={null}
export VOICEAI_API_KEY="your-slng-api-key"
export SLNG_API_KEY="your-slng-api-key"
```

The `setup-api-key` skill configures and validates this for you. See
[Create your API key](/guides/get-started/quickstart#create-your-api-key) to get a key.

## Available skills

| Skill               | What it does                                                                     |
| ------------------- | -------------------------------------------------------------------------------- |
| `setup-api-key`     | Configure and validate your API key.                                             |
| `text-to-speech`    | Generate speech from text.                                                       |
| `speech-to-text`    | Transcribe audio to text.                                                        |
| `agent-prompt`      | Build a voice-agent prompt for the SLNG Agent Builder.                           |
| `agents`            | Create, manage, and dispatch voice agents, including outbound calls.             |
| `livekit-migration` | Move a LiveKit agent to SLNG. See [LiveKit](/guides/integrate/livekit).          |
| `pipecat-migration` | Move a Pipecat bot to SLNG. See [Pipecat](/guides/integrate/pipecat).            |
| `custom-migration`  | Move a custom voice project to SLNG. See [Custom LLM](/guides/integrate/custom). |

For the full list of models, see the model catalog:
[text to speech](/models/catalog/text-to-speech) and
[speech to text](/models/catalog/speech-to-text). Your coding agent can also
list the currently deployed models with `voiceai models --tts` or
`voiceai models --stt`.

Each skill shows the same workflow in four flavors: the `voiceai` CLI, the
Python SDK, the TypeScript SDK, and direct REST or WebSocket calls.

## Use a skill

Once a skill is installed, describe the task to your coding agent in plain
language. The skill's description tells it when to load the skill, so you do not
call the skill by name.

### Set up your key

The `setup-api-key` skill checks for your key and helps you set it.

```text theme={null}
Set up my SLNG API key so I can call the API.
```

### Generate speech

The `text-to-speech` skill turns text into audio with a model and voice you name,
or sensible defaults.

```text theme={null}
Turn intro.txt into speech with SLNG and save it as intro.mp3.
```

### Transcribe audio

The `speech-to-text` skill transcribes a file or a live stream.

```text theme={null}
Transcribe recording.wav with SLNG and save the transcript.
```

### Draft a voice agent prompt

The `agent-prompt` skill drafts a system prompt, greeting, and tools for the SLNG
Agent Builder.

```text theme={null}
Build a SLNG voice agent prompt for an outbound appointment reminder.
```

### Create and run a voice agent

The `agents` skill creates the voice agent and can start a web session or place
an outbound call.

```text theme={null}
Create a SLNG voice agent from that prompt and dispatch an outbound call.
```

### Migrate a project

The migration skills swap your speech to text and text to speech for SLNG, and
can route the language model through the Context Router.

```text theme={null}
Migrate my LiveKit agent to SLNG hosted speech to text and text to speech.
```

## Next steps

* [LiveKit](/guides/integrate/livekit), [Pipecat](/guides/integrate/pipecat),
  and [Custom LLM](/guides/integrate/custom) for the migration skills in context.
* [Integrating the context router](/guides/execution-layer/llm/context-router)
  for routing your language model through SLNG.
