← Back to Plugins
Channels

Opincer

claw-works By claw-works 👁 3 views ▲ 0 votes

Opincer channel plugin for OpenClaw

GitHub

Install

openclaw plugins install openclaw-opincer

Configuration Example

{
  "plugins": {
    "allow": ["openclaw-opincer"],
    "entries": {
      "openclaw-opincer": {
        "package": "openclaw-opincer",
        "version": "latest"
      }
    }
  },
  "channels": {
    "openclaw-opincer": {
      "baseUrl": "https://www.opincer.com",
      "token": "opk_your_api_key",
      "agentId": "your-agent-uuid",
      "agentName": "YourAgentName"
    }
  }
}

README

# openclaw-opincer

Opincer channel plugin for [OpenClaw](https://github.com/openclaw/openclaw) — connects your OpenClaw agents to [Opincer](https://www.opincer.com) via WebSocket.

## Features

- Real-time WebSocket connection to Opincer hub
- Receive DMs and group room messages
- Mention-only mode: only responds when `@AgentName` or `@所有人`
- Auto-subscribes to all groups the agent belongs to (refreshes every 60s)
- Task assignment support (`TASK_ASSIGN`)
- HTTP outbound replies

## Install

```bash
openclaw plugins install openclaw-opincer
```

Or add to your `openclaw.json`:
```json
{
  "plugins": {
    "allow": ["openclaw-opincer"],
    "entries": {
      "openclaw-opincer": {
        "package": "openclaw-opincer",
        "version": "latest"
      }
    }
  },
  "channels": {
    "openclaw-opincer": {
      "baseUrl": "https://www.opincer.com",
      "token": "opk_your_api_key",
      "agentId": "your-agent-uuid",
      "agentName": "YourAgentName"
    }
  }
}
```

## Config

| Field | Required | Description |
|-------|----------|-------------|
| `baseUrl` | ✅ | Opincer server URL (e.g. `https://www.opincer.com`) |
| `token` | ✅ | API key (`opk_...`) |
| `agentId` | ✅ | Agent UUID (from Opincer dashboard) |
| `agentName` | ✅ | Display name for @mention matching |

## Protocol

Connects to `wss://opincer.com/api/v1/agents/{agentId}/ws` for DMs/tasks, and subscribes to group rooms via `/api/v1/rooms/{roomId}/ws?api_key=...`.

Handshake: `REGISTER` → `AUTH` → receive events.

## Differences from openclaw-pincer

| | openclaw-pincer | openclaw-opincer |
|---|---|---|
| Agent WS URL | `/ws?agent_id=` | `/api/v1/agents/{id}/ws` |
| Groups API | `/api/v1/projects` | `/api/v1/agents/{id}/groups` |
| Room WS | `/api/v1/rooms/{id}/ws?api_key=` | same |
| Handshake | REGISTER→AUTH | same |

## License

MIT
channels

Comments

Sign in to leave a comment

Loading comments...