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

# Agent skills

> Install reusable instructions that teach your AI agent the Adraa Inbox API, WhatsApp workflows, and MCP tools.

Install Adraa Inbox skills to teach your agent how to choose API operations, handle pagination, submit WhatsApp templates, and use MCP tools. The skills include workflow guidance and examples for the documented public API.

## Connect through MCP

To connect an assistant to your workspace, follow the [MCP guide](https://docs.inbox.adraa.ai/guide/mcp.md). It covers the server URL, OAuth sign-in, permissions, all available tools, and troubleshooting.

## Install API skills

The repository includes three skills for agents that support `SKILL.md` instructions:

| Skill | Use it for |
| - | - |
| `adraa-inbox-api` | REST API authentication, inbox and contact tasks, agent administration, broadcasts, and pagination. |
| `adraa-inbox-whatsapp` | WhatsApp template submission, approval checks, dynamic URL buttons, and delivery. |
| `adraa-inbox-mcp` | OAuth MCP connection, scopes, tool selection, and workspace context. |

Install the skills you need with the [skills CLI](https://github.com/vercel-labs/skills/blob/main/docs/commands.md). It requires Node.js 22.20 or later and lets you choose your agent during installation:

```bash theme={null}
npx skills add https://github.com/adraalabs/inbox --skill adraa-inbox-api
npx skills add https://github.com/adraalabs/inbox --skill adraa-inbox-whatsapp
npx skills add https://github.com/adraalabs/inbox --skill adraa-inbox-mcp
```

Installation defaults to the current project. Add `--global` to install for your user account across projects. If the repository requires access, use your configured Git credentials. You can also copy the relevant directory from `skills/` into your agent's supported skills directory, keeping `SKILL.md` and its references together.

### Use REST API skills

For REST calls, create a [workspace API token](https://docs.inbox.adraa.ai/authentication.md) and configure it in your agent's environment or secret manager:

| Variable | Value |
| - | - |
| `ADRAA_API_TOKEN` | Your workspace API token. |
| `ADRAA_API_BASE_URL` | Optional server base URL. Defaults to `https://api.inbox.adraa.ai`. |

Verify the workspace before a write:

```bash theme={null}
curl "${ADRAA_API_BASE_URL:-https://api.inbox.adraa.ai}/api/v1/me" \
  -H "Authorization: Bearer ${ADRAA_API_TOKEN}"
```

Tell the agent which workspace, contact, conversation, or WhatsApp account you intend to use. Ask it to inspect the current state, prepare the requested change, and verify the result. The skills provide request guidance; your API token controls access. MCP continues to use OAuth rather than this token.

## Handle writes and credentials

Keep credentials in your environment or secret manager. Do not paste tokens into chat, tool inputs, source files, or logs. Avoid shell tracing when running authenticated requests.

If a send, creation, or template submission times out, inspect the conversation or template list before retrying. The first request may have succeeded. Do not blindly repeat an uncertain write: it can create duplicates or send another customer message.

Use the [API reference](https://docs.inbox.adraa.ai/api-reference/introduction.md) for REST request fields, errors, and rate limits.


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