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

# Corbits Skill

> Discover and call paid API proxies directly from Claude Code or OpenCode

The Corbits Skill is the fastest way to use Corbits from an AI agent. Install it once, and your agent can search for APIs, browse endpoints, check pricing, and make paid calls — all through simple slash commands, with payment handled automatically.

## Install

<Tabs>
  <Tab title="Claude Code">
    Add the marketplace and install:

    ```bash theme={null}
    /plugin marketplace add corbits-infra/corbits-skill
    /plugin install corbits
    ```
  </Tab>

  <Tab title="OpenCode">
    Download the skill file:

    ```bash theme={null}
    mkdir -p ~/.config/opencode/skills/corbits
    curl -o ~/.config/opencode/skills/corbits/SKILL.md \
      https://raw.githubusercontent.com/corbits-infra/corbits-skill/main/plugins/corbits/skills/corbits/SKILL.md
    ```
  </Tab>
</Tabs>

## Setup

Run the init command to configure your wallet keys and install dependencies:

```
/corbits init
```

This will:

1. Prompt for your Solana keypair and/or EVM private key (both optional — configure at least one)
2. Install [Bun](https://bun.sh) if not already present
3. Scaffold a local project for handling API calls and payment
4. Store credentials securely (macOS Keychain, or `~/.config/corbits/credentials/` on Linux)

<Note>
  You can skip either wallet during setup. The skill works with whichever chains you configure.
</Note>

## Commands

| Command                   | Description                                            |
| ------------------------- | ------------------------------------------------------ |
| `/corbits init`           | Set up wallet keys and install dependencies            |
| `/corbits search <query>` | Search for API proxies matching a query                |
| `/corbits search`         | List all available proxies                             |
| `/corbits status`         | Show the currently selected proxy                      |
| `/corbits list`           | Show all endpoints for the current proxy               |
| `/corbits call`           | Pick an endpoint and call it                           |
| `/corbits call <filter>`  | Filter endpoints by name (e.g. `/corbits call models`) |

## Typical workflow

### 1. Find an API

```
/corbits search openai
```

The skill queries the [Discovery API](/discovery/discovery-api) and presents matching proxies with their endpoints, descriptions, and pricing.

### 2. Browse endpoints

```
/corbits list
```

Shows all available endpoints for the selected proxy in a table with path, description, methods, and price.

### 3. Make a call

```
/corbits call models
```

The skill filters endpoints matching "models", shows the cost, collects any required parameters, and executes the call. Payment is handled automatically — your wallet signs the transaction and the API response is returned.

For endpoints with request bodies (like chat completions), the skill pre-fills sensible defaults and lets you customize before sending.

## Credential storage

| Platform | Storage                                     |
| -------- | ------------------------------------------- |
| macOS    | Keychain (`security` CLI)                   |
| Linux    | `~/.config/corbits/credentials/` (mode 600) |
| OpenClaw | Environment variables via `openclaw.json`   |

## Uninstall

```
/plugin uninstall corbits
```

To also remove wallet keys from macOS Keychain:

```bash theme={null}
security delete-generic-password -a corbits -s corbits-solana-keypair
security delete-generic-password -a corbits -s corbits-evm-key
```
