← Back to Plugins
Tools

Claw Onecli

sallyom By sallyom 👁 43 views ▲ 0 votes

onecli plugin for openclaw

GitHub

Install

npm install
npm

Configuration Example

{ "source": "exec", "provider": "onecli", "id": "providers/openai/apiKey" }

README

# claw-onecli

OneCLI SecretRef provider integration for OpenClaw.

This plugin keeps OneCLI separate from OpenClaw while making it easy to wire
OpenClaw SecretRefs to a shared OneCLI credential store.

## Install

```bash
openclaw plugins install clawhub:claw-onecli
```

## Commands

```bash
openclaw onecli status
openclaw onecli start --open
openclaw onecli dashboard
openclaw onecli setup --openai-id providers/openai/apiKey
openclaw onecli setup --start-onecli --open-dashboard --openai-id providers/openai/apiKey
openclaw onecli setup --anthropic-id providers/anthropic/apiKey
```

`openclaw onecli start` launches OneCLI as a separate local container using
dashboard port `10254`, gateway port `10255`, and persistent `onecli-data`
volume. Pass `--container-engine docker` if you prefer Docker over Podman.

The resulting OpenClaw config stores SecretRefs, not raw API keys:

```json
{ "source": "exec", "provider": "onecli", "id": "providers/openai/apiKey" }
```

## Local Test

From this repo:

```bash
npm install
npm test
```
tools

Comments

Sign in to leave a comment

Loading comments...